Backing Up Data
To perform a backup of Panel hosting data, you need to execute the
pleskbackup utility command that does the following:
- Defines the data that need to be backed up.
- Defines the way the backup process will be performed.
- Defines properties of the files that will be contained in the backup.
- Defines options for exporting the backup as a single file.
Note: Only the first component is obligatory; the others are optional.
The following sections explain the meaning and implementation of each component in detail.
pleskbackup utility is located in
$PRODUCT_ROOT_D/bin/pleskbackup where the
/usr/local/psa for RPM-based systems or
/opt/psa on DEB-based systems.
To see a complete list of the
pleskbackup commands and options, refer to the section Backup Utility Commands and Options.
If the command execution succeeds, a backup is created in the default server backup location, or is exported to a file if exporting options were specified. For details on exporting options, refer to the section Exporting Backup Files. If the command execution fails, a backup is not created.
You can perform advanced configuration of the backup operation through the file
$PRODUCT_ROOT_D/admin/share/pmmcli/pmmcli-rc. For more details, refer to the section Defining How the Backup Process Is Performed.
If a backup process fails, you can use its logs for troubleshooting. Each backup process's logs are stored in
YYYY-MM-DD-hh-mm is the date and time when the backup was performed and
nnn is a randomly generated number.