Backup the Database: The most important settings are all stored in the Database. The easiest and most secure way to save them is to export all the Data at a specific time and store them on the Synology Raid. So this is my solution:
Go to „Control Panel“ -> „Task Schedueler“ and create a „User-defined script“
Choose the name you want to have and set the User to „root“
Choose the time you want to have the script running
Restore Database If you want to restore your Database you have to enable SSH and connect with your Terminal. Then you can paste following command: (Attention you have to unpack the tar file if you use my Backup scirpt
Using „HyperBackup“ to create Backups is the best and easiest way to save all your data and settings on your Synology. Finding a target to backup is not that easy. You can buy an other Synology Produkt or set up an Linux Server. My Solution is a Raspberry Pi with Raspbian / Raspberry Pi OS and an external USB Drive attached. Installing and mounting the USB drive has to be done before you can use this help to install the RSYNC-Server.
Mount your external device and make sure that it will be always mounted automatically after restarts. In our example we use the path /mnt/USBDevice
First you have to install the rsync service, use following command:
sudo apt-get install rsync
After the successful installation you can change following config file. /etc/default/rsync you can do this by typing
Now you can login to your Synology and Download the HyperBackup in the Package Center and add a new Data Backup task
Choose „rsync“ as option an clock on Next
Now you can choose „rsync-compatible server“ add the IP address, user and password. When you click on the Backup Module you should get the same name you have set in the /etc/rsyncd.conf file. Follow the the next steps like you want to have it.
Typical Error Messages:
„Authentication failed. Please check your authentication credentials“
Make sure that you have the right password and that you have created the same local user.
Failed to establish the SSH connection. Please make sure that your credentials are correct, the SSH service of the destination server is normal, and the 2-step verfication is not enabled before trying again.
May you have the wrong Port. Make sure that you use 873.
If you have an Zyxel Firewall (USG, VPN, ATP, FLEX) and an Synology in your Network you create Autobackups using the Zyxel FTP and the Task Scheduler. This will make it easy for you to have automated Backups of your config files every day.
You have to create an Sharepoint on your Synology where want to save your backups.
Make sure that you have enabled the FTP service on your Firewall
On your Synology go to Control panel / Task Scheduler / and create a User-defined script
Give the Task a name, a schedule and jump to „Task Settings“ there you can copy this text and change following things: – <username> – <password> – <IP-Address> – /volume1/ORDNER
wget -m ftp://<username>:<password>@<IP-Address>/conf -P /volume1/ORDNER
tar -zcvf /volume1/ORDNER/$(date +%Y%m%d).tar.gz /volume1/<IP-Address>/
Apply it with the „OK“ Button, make a right click on your newly created task and click on „RUN“ -> The first Backup should been created
Thanks to following homepages helping me to create this manual: Tchgdns.de
If you have a correct installed Synology, you have an Hard Disk attached to create your backup. Then your worse dream get real and your Synology is dead but you have to access your Data. While your local reseller is repairing your system you can get your Hyper Backup Harddrive and download the „Synology Hyper Backup Explorer“ from Synology’s Supportpage in the section „desktop utilities“
Now you can start the application and choose „Browse Local Backup“ after attaching the Backup Harddrive to your machine (Attention if you use Windows or Mac you have to do some special magic to be able to read ext4 volumes. Here the instruction for Mac LINK)
Now you can brows your file structure and and with a click on the calendar icon on the left down corner you can select an other backup date.
When you make a right click on a folder you can restore the files to a new local destination. Yeahh your files are back and you are happy 🙂
When your Synology is repaired again you can easily restore all Datas and even the configuration of your applications (if you have enabled it) by using the „Backup Explorer“ in your device.
Die Cookie-Einstellungen auf dieser Website sind auf "Cookies zulassen" eingestellt, um das beste Surferlebnis zu ermöglichen. Wenn du diese Website ohne Änderung der Cookie-Einstellungen verwendest oder auf "Akzeptieren" klickst, erklärst du sich damit einverstanden.