• Joomla
  • Zoo
  • Widgetkit
  • Zopim
  • uikit
  • Free
  • Joomla
  • Zoo
  • Widgetkit
  • Zopim
  • uikit
  • Free

vzdup rpm

5.0/5 rating 1 vote
  • Updated: 18 November 2011
  • File size: 21.18 KB
  • Version: 0.9 beta
  • Author: yoonique[.]net

Disclaimer:

THIS SOFTWARE IS BASED ON VZDUMP AND DUPLICITY. IT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT THE SOFTWARE AND RELATED WRITTEN MATERIALS ARE PROVIDED "AS IS". THE SOFTWARE DOES NOT WARRANT, GUARANTEE OR MAKE ANY REPRESENTATIONS REGARDING THE USE, OR THE RESULTS OF USE, OF THE SOFTWARE OR WRITTEN MATERIALS IN TERMS OF CORRECTNESS, ACCURACY, RELIABILITY, CURRENT, OR OTHERWISE. YOU ASSUME THE ENTIRE RISK AS TO THE RESULTS AND PERFORMANCE OF THE SOFTWARE. COPYRIGHT yoonique[.]net

Usage:

usage: /usr/sbin/vzdup OPTIONS [--all | VMID]

THIS IS BETA SOFTWARE. DO NOT USE FOR PRODUCTION OR OTHER CRITICAL AREAS
USE AT YOUR OWN RISK. DATA LOSS OR SYSTEM LOSS IS POSSIBLE

--exclude VMID          exclude VMID (assumes --all)

--stop                  stop VM before snapshot
--start                 start VM after snapshot
--stopwait MINUTES      maximal time to wait until a VM is stopped

--fullifolderthan time  Full backup if latest full backup in the collection is older than the given time
--verbosity number      Specify verbosity level (0 is total silent, 4 is the default, and 9 is noisiest)
--volsize number        Change the volume size to number Mb. Default is 25Mb
--gpgkey key id         When backing up, encrypt and sign with given GnuPG key

--tmpdir DIR            store temporary files in DIR
--mailto EMAIL          send notification mail to EMAIL.
--quiet                 be quiet.
--size MB               LVM snapshot size
--ionice PRI            set ionice priority (0-8)

Examples:

Good working knowledge of ssh and duplicity is recommended. The examples below assume that the gpg passphrase is stored in environment variable PASSPHRASE and that the ssh password is cached with ssh-agent.

vzdup --gpgkey C0B42381 --destination ssh://myhost 201

Snapshot container 201 and copy encrypted backup to destination myhost subfolder 201. Backups are incremental, but do a full backup every once a week.

vzdup --gpgkey C0B42381 --destination ssh://myhost -all

Same as above, but for all containers

vzdup --stop --start --gpgkey C0B42381 --volsize 600 --fullifolderthan 2W --verbosity 4 --destination ssh://myhost/backup --mailto root 201

Stop, snapshot and restart container 201. Copy encrypted backup to destination myhost subfolder backup/201. Backups are incremental, but do a full backup every other week. Duplicity volume size is 600MB. Mail a summary to user root.

vzduprestore 0h C0B42381 ssh://myhost/201 201

Restore the latest backup of container 201 and create container 201

vzduprestore 1D C0B42381 ssh://myhost/201 202

Restore the latest backup of container 201 that is one day old and create container 202

Categories

OpenVZ
100 Days Access and Support 10 Days Access and Support
$18 $14

100 days of full access to our support forum and download area for all our extensions.

10 days of full access to our support forum and download area for all our extensions.