Global Backup Settings¶
If you serve numerous websites, you may want to configure the backing up process so that it does not consume much server resources.
To reduce the server load and set the disk space usage policy:
Go to Tools & Settings > Backup Manager > Settings.
(Optionally) Specify the maximum number of full backups that can be stored in any type of storage (Maximum number of full backup files to store).
For details, see The Rotation of Scheduled Backup Files below on this page.
Specify the number of simultaneous backup processes in the Maximum number of simultaneously running scheduled backup processes. The default value is 10. Type a lesser value.
To make the backup processes release resources to other processes on the server, select one or both of the following settings:
- Run scheduled backup processes with low priority
- Run all backup processes with low priority
Note that these options increase the backup time. Other server tasks will not work slower during the backup.
Select the Do not compress backup files checkbox to disable compression.
To prevent the backing up processes from consuming all available disk space on the server, choose one of the following:
Set Plesk to start a backup only if your server has enough free disk space to store it. Be aware that this option significantly increases the backup time as Plesk additionally has to calculate the size of the future backup.
Note
Plesk for Windows does not directly calculate object sizes but takes them from the database. As object sizes in the Plesk database are updated only once a day, the overall calculated backup size can differ from its real value.
Set Plesk to start a backup only if your server has the specified amount of free disk space. This option is convenient when you know the approximate size of the future backup and do not want Plesk to waste time and resources on calculating it.
Choose whether to allow the use of Plesk server as an FTP storage for Plesk backups.
Users can configure their FTP storage to be located on the same Plesk server where their subscriptions are hosted. If they do so, the amount of used disk space will double upon creation of each backup. This can eventually run the server out of free disk space. To prevent this, we recommend that you clear the checkbox Allow setting up FTP backup storage on the local server.
Choose whether to save backups in the Plesk server storage if their upload to FTP storage fails (Save backups in the server storage if the upload to FTP fails).
Backing up to the server storage is possible only for users with the permissions Backup and restoration of subscription data using the server storage or Backup and restoration of account data using the server storage.
Click OK.
Backup Security Settings¶
You can select the type of protection for all Plesk backups stored in the server (local) repository:
- Plesk’s encryption key. By default, all backups created in Plesk are encrypted with an internal key. The key is unique to each Plesk installation. Encrypting backups with Plesk keys is convenient but has certain limitations. When users restore backups created in other Plesk installations, the data is restored, but the original user passwords are lost, and new passwords are generated instead. In this case, the users will receive password change notifications by email. If you are going to restore a backup on another Plesk installation and want to avoid changing user passwords, use the Specified password option.
- Specified password. You can specify a server-wide password to protect backups. This type of protection is preferable and can be recommended in most cases. In particular, this may be useful in case of multiple Plesk installations, or if you store a backup on a mounted drive and use it for restoration if the drive with Plesk crashes. To restore all Plesk data including user passwords, you have to provide the same password that was specified for the backup.
The security settings described above are related to the backups stored in the server (local) repository only. If you are going to store a backup on an FTP server, please configure password protection in the FTP storage settings. For details, see Configuring Remote Storage.
Note
The passwords that subscription users might specify when downloading backups do not conflict with server-wide password or encryption key. For such backups, user-specified passwords are used. See Uploading and Downloading Backup Files.
Permissions for Storing Backups in Cloud Storage for Customers and Resellers¶
By default, once you install a cloud storage extension, your customers and resellers can also use it for storing their manual backups. To manage which cloud storage your customers and resellers are allowed to use, buy the Backup to Cloud Pro feature.
Once you bought the feature, you can allow or forbid your customers and resellers to use the installed cloud storage services on the “Permissions” tab (under “Show more available permissions”) when:
- Adding new or editing existing service plans and add-on plans.
- Customizing subscriptions.
The permission appears and becomes selected when the corresponding cloud storage extension is installed.
Changes in the permissions come info effect after sync.
Note
The “Backup and restoration of subscription data using remote storage” permission has priority over the permissions for storing backups in cloud storage. If “Backup and restoration of subscription data using remote storage” is not selected, customers and resellers cannot store backups in cloud storage even if the corresponding cloud permissions are selected.
The Rotation of Scheduled Backup Files¶
To save disk space, you can set up the limit on the number of stored full backup files. When such a limit is reached, the oldest backup file is removed so that a new file can be stored. The limit is related to full backup files only (the number of incremental backups is not limited).
When you specify the server-wide limit in Tools & Settings > Backup Manager > Settings, the limits on all subscriptions, customer accounts, and reseller accounts are re-calculated according to the specified value. All newly created customer accounts, reseller accounts, and subscriptions will have the specified limit by default.
Note
Hosting subscribers set up custom limits on the number of stored full backups by limiting the duration of storing. They set up limits in days, weeks, or months (see Scheduling Backups). To understand how custom limits are connected with the server-wide limit, look at the example below.
Example:
- Customer 1 schedules their backup task to run daily (a full backup), and specifies that backup files should be stored for 10 days.
- Customer 2 schedules their backup task to run weekly (a full backup), and specifies that backup files should be stored for 6 weeks.
- Customer 3 schedules their backup task to run monthly (a full backup), and specifies that backup files should be stored for 5 months.
When you set up a server-wide limit of, for example, 3 backup files, Plesk automatically adjusts the subscription-level limits:
- For Customer 1, each backup file will be stored for 3 days.
- For Customer 2, each backup file will be stored for 3 weeks.
- For Customer 3, each backup file will be stored for 3 months.
Customers will be unable to set up greater values for these limits. However, they can set up lower values.