Apologies for the crosspost, but I don’t know how many of you are on the Keyboard Maestro forum, but I do know that there are several people including @MacSparky and @ismh (and I think @RosemaryOrchard too) who use a Stream Deck.
One of my biggest grievances with the Stream Deck is that there’s no way to automatically back up your profiles. Since these profiles can represent a lot of time customizing them, they would be a PITA to lose and have to re-create.
Turns out that these profiles are stored in:
which each sub-folder representing a different profile. I did some testing and it appears that you can restore these if you accidentally delete or muck-up one of your profiles.
So I wrote a script that will create a backup of that folder, and I created a Keyboard Maestro macro to run that script every time that you quit the Stream Deck app.
You can find the macro here:
It is also on GitHub:
If you do not use Keyboard Maestro, you can use the script (available separate at the GitHub link) with something like
launchd to backup every night at midnight, for example.
One flaw in the script is that it does not check for duplicates, so if it runs and the profiles have not changed since the last backup, you’ll end up with a duplicate backup. However, these backups are pretty small, so they won’t use a lot of disk space. Nevertheless, I’ll probably get annoyed and fix this in a future version.
Oh, and the backup file is saved by default to ~/Dropbox/ but you can change that by editing one line of the script, and I’ve labeled it and put it at the top of the macro so you can find it easily. If you’re not sure how to do that, please let me know.