pbackup
The
pbackup
utility is run on the so-called Backup Server. It connects via SSH to the servers where some or all virtual machines are to be backed up and puts the tarballs into the
/vz/vmprivate/backups
directory. Later on, the virtual machine backups can be restored from this directory. It has the following syntax:
pbackup [
backup_options
]
SERVER1
... [
CT options
]
You may specify any number of servers names or IP addresses in the command-line.
Notes:
1. This section describes only backup options for virtual machines. For backup options that can be used with Containers, see
pbackup
.
2. The backup settings in the
/etc/vzbackup.conf
file do not apply to virtual machines. To change some of the backup-related settings for virtual machines, you can use the
prlsrvctl
utility.
The backup options are the following:
-n
CREDENTIALS
|
Set the Backup Server, i.e. the server that will be used for storing the resulting virtual machine backups. If this parameter is omitted, the specified virtual machines will be backed up to the server where they are hosted.
The Backup Server can be specified in this format:
user
[[:
password
]@
server_IP_address_or_hostname
[:
port
]
|
--ssh-opts
OPTIONS
|
Options to be passed to
ssh
. See examples in the global backup configuration file.
|
-F, -I
|
Crete a full backup. A full backup contain all virtual machine data.
|
-i
|
Make an incremental backup or, if no full backups are available, a full backup. An incremental backup contains only the file that were changed since the previous full or incremental backup.
|
The virtual machine options define the list of virtual machines to be backed up:
-e
VM1
...
|
The virtual machines to back up on the server. Virtual machines can be specified using both their IDs and their names.
|
-x
VM1
...
|
The virtual machines that need not be backed up (virtual machines to exclude). Virtual machines can be specified using both their IDs and their names.
|
|