This following is valid for moneydance 2019/2020/2021. A slightly different process is valid for 2017.
If your loss your data set on your primary computer and also your backups, but have been syncing to another device it should be possible to recover the data set.
Sign into your Dropbox account online and make a copy of your “.moneydancesync” folder under another name as a backup.
Open Moneydance on your primary computer. If Moneydance opens in the Welcome to Moneydance window click CREATE A NEW ACCOUNT SET or if Moneydance is open in a data set click FILE (MONEYDANCE on Mac) – NEW.
Then click OPEN SYNCED FILE. Use the dropdown to set the same sync method as you were using. Click NEXT and highlight your data set from the list. Click NEXT and enter the same encryption password (passphrase) for syncing as before and click FINISH. If your data set is synced back into your computer it will be as a second computer data set, you can’t change the sync method and need converting into a primary computer data set as below. Also, you may find a lot of old, maybe closed accounts or other accounts you have removed from the side bar reappearing in the side bar. Use the “+” sign at bottom of side bar then ADVANCED to tidy up the side bar.
Procedure for converting a secondary data set into a primary data set.
Do a FILE – EXPORT BACKUP in case something goes wrong.
To convert a secondary data set to a primary data set you need to run the attached script md_convert_secondary_to_primary_data_set.py in Moneydance 2019/2020/2021.
With your data set open click WINDOW - SHOW MONEYBOT CONSOLE use OPEN SCRIPT to select the script and click OPEN then RUN. Wait until the script has run, this may take some time. Close and reopen Moneydance. You should now be able to change the syncing method, leave it at the current syncing method.
You should now find all your devices are syncing again with your primary data set recovered.