This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
virtualization:citrix:xenserver_backup [2012/10/20 11:30] gcooper |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== XenServer Backup ====== | ||
- | |||
- | ===== Local Backup Disk or CIFS Share ===== | ||
- | |||
- | http:// | ||
- | |||
- | * The '' | ||
- | * '' | ||
- | |||
- | ==== Install on the XenServer Host ==== | ||
- | |||
- | < | ||
- | mkdir / | ||
- | mkdir /VM_Backup | ||
- | |||
- | # Use a command like this if you want to send backups to a CIFS share | ||
- | #mount -t cifs "// | ||
- | |||
- | cd /VM_Backup | ||
- | wget http:// | ||
- | tar -xzf xenserver_backup.tar.gz | ||
- | chmod 777 v* | ||
- | </ | ||
- | |||
- | === vmbackups.sh === | ||
- | |||
- | < | ||
- | vi / | ||
- | </ | ||
- | |||
- | < | ||
- | #!/bin/bash | ||
- | set -x | ||
- | |||
- | # Dismount, then remount backup share to be sure it's mounted | ||
- | umount -f /VM_Backup | ||
- | |||
- | #mount -t cifs "// | ||
- | |||
- | / | ||
- | |||
- | / | ||
- | |||
- | / | ||
- | |||
- | sleep 120 | ||
- | |||
- | / | ||
- | </ | ||
- | |||
- | ==== Configure The Scripts ==== | ||
- | |||
- | cd /VM_Backup | ||
- | |||