RESOLUTION
VE backups can be created using vzbackup utility. It should be run on the backup node. You can restore any backup using vzrestore utility.
To configure vzbackup you should do the following:
- Check global vzbackup configuration file /etc/vzbackup.conf file on the backup node for backup parameters (pay attention to $BACKUP_DIR parameter).
If you are going to make backups using 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="root@myserver.com" - Create directory
# mkdir /vz/backups - Add the following command to the crontab on the backup node:
# vzbackup -i -p -a - Make sure root user of the backup node is able to access all hardware nodes without a password (propagate DSA public keys).
Keywords: backup,vzbackup,restore,vzrestore