Restore backup on Synology?

So I’ve followed the guide from the wiki, but I get an error that I don’t know what to do with when running the cp command.

Restore for Synology NAS

Re-install Sonarr :heavy_check_mark:

Run Sonarr once to get the AppData directory location :heavy_check_mark:

Stop Sonarr :heavy_check_mark:

Connect to the Synology NAS through SSH and login as root :heavy_check_mark:

execute the following commands

rm -r /usr/local/nzbdrone/var/.config/NzbDrone/nzbdrone.db-* :heavy_check_mark:
cp -f /tmp/nzbdrone_backup/. /usr/local/nzbdrone/var/.config/NzbDrone/

This is where I get the error,> cp: omitting directory ‘/tmp/nzbdrone_backup/.’
I’m not sure what to do from here.

For the record the nzbdrone.db and config.xml files from the backup are in the /tmp/nzbdrone_backup/ folder. Because I am inefficient with the command line, I used WinSCP to create the nzbdrone_backup folder in the tmp directory, and then copied the files from my desktop.

cp -f /tmp/nzbdrone_backup/* /usr/local/nzbdrone/var/.config/NzbDrone/ instead maybe? Not sure why there would be a period there instead.

1 Like

That was exactly the issue. The wiki needs to be updated to fix that typo.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.