Plesk is a wonderful tool with which you can manage multiple websites or other web apps comfortably and clearly under one roof. But mistakes often happen quickly, especially with websites. Be it a failed update, a faulty change in the code or in the worst case caused by malware. If you don’t have a backup in stock now, you can probably cancel your appointments in the next few days. Backing up a page and transferring it to your Synology DiskStation works in no time. We’ll show you how backup from Plesk to diskstation.
Set up an FTP server on the DiskStation
You first need a valid destination for your backups. The simplest solution for this is an FTP server that you set up on your NAS. To do this, open the control panel of your DiskStation, navigate to the “File Services” area and go to the “FTP” tab.
Start the FTP service here by simply checking the box. You should also activate the “FTP SSL / TLS encryption service (FTPS)”. You can leave all other settings unchanged. You just have to make sure that port 21 on your router is forwarded to your NAS. This process differs from model to model, but is usually very similar. Here you can find a tutorial for the Vodafone EasyBox.
All that is missing now is an FTP folder that can be accessed from outside. Scroll down a little and click on “advanced settings”.
Make sure that “Change user root directories” is activated and click the “Select user” button. In this window you can assign an FTP folder to each user. Select “add”
It is recommended that you create your own user for this, who can only access his home folder (user base) or his own shared folder. So you don’t have to reveal your administrator account on Plesk. In the Add window, select a user for FTP access and either “User base” or your own shared folder in which the backups will be stored. Confirm everything with OK and click on “Apply” in the “FTP” tab.
Switch to the “User” area in the control panel and double-click your FTP user. Click on the “Applications” tab and check “FTP” and “Allow” so that this user can also use FTP.
Confirm with “OK” and log into your Plesk dashboard.
Backup from Plesk to Diskstation
Select “Tools & Settings” in the “Server Management” area and then click “Backup Manager”.
The “Remote Storage Settings” button takes you to the backup destinations. Select “FTP (S)” and enter both your Synology address (for example yourusername.synology.me ) and the access data for the user you created in the fields. Also check the box next to “Use FTPS” so that you can transfer the data over a secure connection, but do not necessarily need a certificate for this. Optionally, you can also specify a directory, but the backups end up in the defined FTP folder anyway. Finally, confirm your entries with OK.
If everything worked, the message “FTP (S) storage settings were updated” appears and you can concentrate on the actual backup. Create a new backup using the “Back Up” button. In the following section you can choose which data you want to back up and which backup method should be used. If the memory is limited, we recommend the incremental variant, in which only the changed data is saved. In addition, the FTP backup destination you just set up now appears here, which you can select.
Confirm here too with the OK button so that the backup process is started.
Restore Plesk Backup
A backup is only beneficial if it can be restored properly. You can also use the Backup Manager to copy your backup back to the server.
Simply click on the date of a backup in the list. In the next step, scroll down a little to the “Backup content” area and select the data you want to restore there. For the entire Plesk installation select “All objects”. But you can also restore individual objects such as databases, websites or mail accounts by selecting “Selected objects”. Confirm with the Restore button and the backup will be restored.