ProfileBackup

From Mudlet
Revision as of 09:22, 7 July 2021 by Ada (talk | contribs) (How to keep your Mudlet profile safe!)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Keeping your Mudlet Profile safe

We spend countless hours tinkering with our triggers and scripts and all of that work is saved in our profile. Mudlet does its part in creating backup copies of your profile and even goes as far as autosaving your changes every so often!

However, all of that will be for nought if your hard drive crashes, or your computer is stolen, or you forgot it at the airport, or you literally threw it out the window because rage quitting a raid-gone-bad wasn't enough! Thankfully there's a solution to that. We can sync our Mudlet profiles with an online service and even have it available on multiple computers on top of it!

Here's the rundown on how to do it:

  1. Install and setup your favourite file sync solution (Tresorit, Dropbox, OneDrive, etc.)
  2. Locate your Mudlet profile with the getMudletHomeDir() function
  3. Close Mudlet, open the location we got in step 2 in your file explorer
  4. Move that folder to the place you setup your file sync solution from step 1
  5. Link the folder back to its original location so Mudlet can continue using it

Example on Windows with OneDrive

Windows 10 usually comes with OneDrive pre-installed and it'll let you sync your Documents, Pictures, Vidoes, etc. to the cloud as long as you're signed in with your Microsoft account. Here's how I would go about with keeping my Mudlet profile safe in it:

  1. Install and set up OneDrive
  2. Locate my Mudlet profile by putting getMudletHomeDir() in an alias, it gave me C:\Users\Ada\.config\mudlet\profiles\Achaea
  3. I closed Mudlet and opened that location in Windows Explorer
  4. I moved the Achaea folder to my OneDrive which was at C:\Users\Ada\OneDrive
  5. I opened the Windows Command Prompt (Start > Windows System > Command Prompt > Right-Click/More/Run as administrator) and issued the following commands:
    • cd C:\Users\Ada\.config\mudlet\profiles\
    • mklink /d Achaea C:\Users\Ada\OneDrive\Achaea

And that was it! I can now use Mudlet and my profile is synchronized with my OneDrive account whenever I make any changes.

Example on Linux with <x>

TBD

Example on MacOS with <x>

TBD