The mentioned tools -
vzrestore- are considered as legacy. These utilities use
tarfor backup creation, and files can be put into a backup while being changed.
- On the nodes with Parallels Cloud Server, it is recommended to use
- For containers hosted on Parallels Server Bare Metal and Parallels Virtuozzo Containers for Linux, use Parallels Virtual Automation which provides
Parallels Virtuozzo Containers (PVC) backups can be created using the
vzbackup utility, run on the Backup Node. You can restore any backup using the
vzbackup, do the following:
Check the global
/etc/vzbackup.confon the Backup Node for backup parameters (pay attention to the
If you are going to make backups using a cronjob, set the following parameters:
# Backup directory - where the backups will be stored, e.g BACKUP_DIR="/vz/backups" # backup type. Supported types are "full", "initial incremental" and # "incremental". Default is incremental. If it is impossible to do # "incremental" then "initial incremental" will be done. BACKUP_TYPE="i" # Backup cron mode CRON_BACKUP="yes" # List of nodes to backup. BACKUP_NODES="" # e-mails to send notifications on backup BACKUP_NOTIFY_EMAIL="firstname.lastname@example.org"
Create this directory:
~# mkdir /vz/backups
Add the following command to the
crontabon the Backup Node:
~# vzbackup -i -p -a
- Make sure the root user of the Backup Node is able to access all Hardware Nodes without a password (propagate SSH DSA public keys).