1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-23 00:07:07 +00:00

Updated Backup and Restore (markdown)

B. Rossow 2018-05-26 15:28:33 -05:00
parent 632011a848
commit bbf71a58ef

@ -35,7 +35,7 @@ _Restoring to an OS that uses different paths won't work (Windows to Linux, Linu
4. Delete the contents of the AppData directory **(Including the .db-wal/.db-journal files if they exist)** 4. Delete the contents of the AppData directory **(Including the .db-wal/.db-journal files if they exist)**
5. Restore from your backup 5. Restore from your backup
6. Start Sonarr 6. Start Sonarr
7. As long as the paths are the same, everything will pickup where it left off 7. As long as the paths are the same, everything will pick up where it left off
### Restore for Synology NAS ### ### Restore for Synology NAS ###
**CAUTION: Restoring on a Synology requires knowledge of Linux and Root SSH access to the Synology Device.** **CAUTION: Restoring on a Synology requires knowledge of Linux and Root SSH access to the Synology Device.**
@ -43,15 +43,15 @@ _Restoring to an OS that uses different paths won't work (Windows to Linux, Linu
1. Re-install Sonarr 1. Re-install Sonarr
2. Run Sonarr once to get the AppData directory location 2. Run Sonarr once to get the AppData directory location
3. Stop Sonarr 3. Stop Sonarr
4. Connect to the Synology NAS through SSH and login as root 4. Connect to the Synology NAS through SSH and log in as root
5. execute the following commands 5. Execute the following commands:
``` ```
rm -r /usr/local/nzbdrone/var/.config/NzbDrone/nzbdrone.db-* rm -r /usr/local/nzbdrone/var/.config/NzbDrone/nzbdrone.db-*
cp -f /tmp/nzbdrone_backup/* /usr/local/nzbdrone/var/.config/NzbDrone/ cp -f /tmp/nzbdrone_backup/* /usr/local/nzbdrone/var/.config/NzbDrone/
``` ```
6. Then update permissions on the files 6. Update permissions on the files:
``` ```
cd /usr/local/nzbdrone/var/.config/NzbDrone/ cd /usr/local/nzbdrone/var/.config/NzbDrone/