Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rsync_backup [2023/09/04 08:56] – Change: Easy, efficient and completely new backup method (old stuff deleted) grandmabettyrsync_backup [2023/09/15 08:37] (current) – Correction: Adjusted links from german to english language grandmabetty
Line 5: Line 5:
 ===== Backup via Synology Active Backup For Business (ABB) ===== ===== Backup via Synology Active Backup For Business (ABB) =====
  
-Since the release of [[https://www.synology.com/de-de/dsm/feature/active-backup-business/pc|Synology Active Backup For Business]], backing up a Batocera system via //rsync// became much more convenient than ever before. Please checkif your NAS model supports //Synology ABB// on this [[https://www.synology.com/de-de/dsm/packages/ActiveBackup|link]].+Since the release of [[https://www.synology.com/en-us/dsm/feature/active-backup-business/pc|Synology Active Backup For Business]], backing up a Batocera system via //rsync// became much more convenient than ever before. Please check if your NAS model supports //Synology ABB// on this [[https://www.synology.com/en-us/dsm/packages/ActiveBackup|link]].
  
 ==== Tutorial ==== ==== Tutorial ====
Line 13: Line 13:
   - Install //Synology ABB// via //Synology Package Manager//   - Install //Synology ABB// via //Synology Package Manager//
   - Start //Synology ABB// (if you are installing //Synology ABB// from scratch, you have register the application via the [[https://account.synology.com|Synology online account portal]], don't worry, it's completely free!)   - Start //Synology ABB// (if you are installing //Synology ABB// from scratch, you have register the application via the [[https://account.synology.com|Synology online account portal]], don't worry, it's completely free!)
-  - Navigate to: //File Server// → //Add and rsync server//+  - Navigate to: //File Server// → //Add Server//
   - Choose //rsync server//: \\ [{{:useanasbackup10.png?400|Add a server}}] Click on //Next//   - Choose //rsync server//: \\ [{{:useanasbackup10.png?400|Add a server}}] Click on //Next//
   - For the following input fields add the following values:\\ //**Server Address:**// ''<my_Batocera_IPAddress_or_hostname>'' \\ **Connection Mode:** Select ''rsync shell mode via SSH'' \\ **Port:** Insert your Batocera instance's SSH port (Default: ''22'') \\ **Account:** ''root'' \\ **Auth Policy:** Choose ''By password'' (or alternatively ''By SSH key'' if you have set up [[access_the_batocera_via_ssh#password-less_authentication|]] from your NAS to your Batocera instance before) \\ **Password:** ''<myBatoceraRootPassword>'' \\ [{{:useanasbackup11.png?400|Insert server data}}] Click on //Done//   - For the following input fields add the following values:\\ //**Server Address:**// ''<my_Batocera_IPAddress_or_hostname>'' \\ **Connection Mode:** Select ''rsync shell mode via SSH'' \\ **Port:** Insert your Batocera instance's SSH port (Default: ''22'') \\ **Account:** ''root'' \\ **Auth Policy:** Choose ''By password'' (or alternatively ''By SSH key'' if you have set up [[access_the_batocera_via_ssh#password-less_authentication|]] from your NAS to your Batocera instance before) \\ **Password:** ''<myBatoceraRootPassword>'' \\ [{{:useanasbackup11.png?400|Insert server data}}] Click on //Done//
-  - Now highlight the rsync instance you have just created and click on //Create Task//, then select your preferred backup mode: \\ [{{:useanasbackup12.png?400|Select preferred backup mode}}] Click on //Next// +  - Now highlight the //rsync// instance you have just created and click on //Create Task//, then select your preferred backup mode: \\ [{{:useanasbackup12.png?400|Select preferred backup mode}}] Click on //Next// 
-  - Select all folders from the Batocera filesystem you want to backup (If you are unsure: Select the whole ''userdata'' folder but no other folders) \\ [{{:useanasbackup13.png?400|Select preferred folders to backup}}] Click on //Next// +  - Select all folders from the Batocera filesystem you want to backup (If you are unsure: Select the whole ''userdata'' folder but no other folders)\\ [{{:useanasbackup13.png?400|Select preferred folders to backup}}] Click on //Next// 
-  - For the following input fields add the following values:\\ **Task name:** ''<myCustomTaskName>'' \\ **Local path:** Click on //Browse// and select the preferred path where the backup should be stored on your NAS \\ [{{:useanasbackup14.png?400|Additional task settings}}] Click on //Next// and then click on //Done// +  - For the following input fields add the following values:\\ **Task name:** ''<myCustomTaskName>'' \\ **Local path:** Click on //Browse// and select the preferred path where the backup should be stored on your NAS\\ [{{:useanasbackup14.png?400|Additional task settings}}] Click on //Next// and then click on //Done// 
-  - When asked, confirm if you want to start the backup immediately. If you want to start the backup later manually, highlight the according rsync server, click on //Task List// and then click on //Back up//.+  - When asked, confirm if you want to start the backup immediately. If you want to start the backup later manually, highlight the according //rsync// server, click on //Task List// and then click on //Back up//. 
  
 === Restore === === Restore ===
-If you want to restore a single file or a full backup, do so by using the //Active Backup For Business Portal// which was installed automatically additionally on your //Synology NAS// when installing //Synology ABB//. It's pretty straightforward: Highlight the according folder(s)/file(s), right-click and choose //Restore// (don't forget to have your Batocera system turned on!): \\ [{{:useanasbackup15.png?400|Restore a backup}}] That's it, you're done!+ 
 +<WRAP left round tip 100%> 
 +In case you are restoring your data based on a fresh Batocera installation, before restoring, make sure bluetooth service is stopped by executing the following command on your Batocera system: ''/etc/init.d/S32bluetooth stop''. This makes sure your bluetooth controllers are being recognized and working as before. If you don't do this, then you have to set up your bluetooth controllers from scratch again. 
 +</WRAP> 
 + 
 +If you want to restore a single file or a full backup, do so by using the //Active Backup For Business (Recovery) Portal// which was installed automatically additionally on your //Synology NAS// when installing //Synology ABB//. It's pretty straightforward: Highlight the according folder(s)/file(s), right-click and choose //Restore// (don't forget to have your Batocera system turned on!): \\ [{{:useanasbackup15.png?400|Restore a backup}}] After successful restore process, reboot your Batocera system. 
 + 
 +That's it, you're done! 
 + 
  • rsync_backup.1693817771.txt.gz
  • Last modified: 3 years ago
  • by grandmabetty