Difference between revisions of "ProfileBackup"
(Add steps for Linux with Dropbox) |
m (Forum thread has a title!) |
||
(One intermediate revision by the same user not shown) | |||
Line 41: | Line 41: | ||
=== Example on MacOS with <x> === | === Example on MacOS with <x> === | ||
TBD | TBD | ||
+ | |||
+ | == Further Discussions == | ||
+ | |||
+ | Dive into more details and ask or answer questions on this forum thread: [https://forums.mudlet.org/viewtopic.php?f=8&t=1731 Howto: Sync profiles using dropbox] |
Latest revision as of 10:33, 7 July 2021
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:
- Install and setup your favourite file sync solution (Tresorit, Dropbox, OneDrive, etc.)
- Locate your Mudlet profile with the getMudletHomeDir() function
- Close Mudlet, open the location we got in step 2 in your file explorer
- Move that folder to the place you setup your file sync solution from step 1
- 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:
- Install and set up OneDrive
- I put getMudletHomeDir() in an alias to locate my Mudlet profile, it gave me C:\Users\Ada\.config\mudlet\profiles\Achaea
- I closed Mudlet and opened that location in Windows Explorer
- I moved the Achaea folder to my OneDrive which was at C:\Users\Ada\OneDrive
- 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 Dropbox
- Install and set up Dropbox
- I put getMudletHomeDir() in an alias to locate my Mudlet profile, it gave me /home/ada/.config/mudlet/profiles/Achaea
- I closed Mudlet and opened that location in the terminal
- I moved the Achaea folder to my Dropbox which was at /home/ada/Dropbox with the command:
- mv /home/ada/.config/mudlet/profiles/Achaea /home/ada/Dropbox/ # the trailing slash is important!
- I linked the folder back to its original location with the command:
- ln -s /home/ada/Dropbox/Achaea /home/ada/.config/mudlet/profiles/Achaea
And that was it! I can now use Mudlet and my profile is synchronized with my Dropbox account whenever I make any changes.
Example on MacOS with <x>
TBD
Further Discussions
Dive into more details and ask or answer questions on this forum thread: Howto: Sync profiles using dropbox