Defining properties of the files that will be contained in backup includes the following:
Defining that archives with backup object contents should not be compressed
By default, Plesk backup archives the backup objects content to compressed archives (
.zip) in order to save disk space when the backup is stored. However, restoring backups that contain compressed archives requires almost two times more disk space than restoring those with uncompressed files. In case when disk space while the restoring procedure is more critical to you, you may want to create your backups without compression. To do so, use the
-z|--no-gzip option in your backup command.
Defining that a prefix should be added to names of the backup files
In order to better distinguish files that were created during one backup session from another,
pleskbackup adds a prefix to backup file name. By default, it is
backup, so every backup file name looks like
<ext>. The prefix in names of the files that compose a particular backup can be customized by using the
--prefix option. The option's value will be added as a prefix to names of files of the created backup.
For example, to create a backup of the server mail configuration so that all files in backup have prefix
pleskbackup --server --only-mail --configuration --prefix="friday"
Defining that backup files should be split into parts of the specified size
pleskbackup utility is capable of splitting backup files into parts of a particular size, which is vitally useful in cases when the file size is critical. Such cases can be, for example, the following:
To make pleskbackup split the backup files to parts of a particular size, use the
-s|--split option and specify the required size as the option value. For details on the format of size specification, refer to the
pleskbackup reference. The default value used by
pleskbackup if no custom size is specified is 2 Gbytes. The utility numbers file parts created as a result of split by adding numerical suffixes to the file names starting from
For example, to back up Web hosting on a domain splitting backup files into parts of no more than 700 Mbytes:
pleskbackup --domains-name example.com --only-hosting --split=700M