Skip to content
This repository has been archived by the owner on Jul 13, 2018. It is now read-only.
/ xenbackup Public archive

Backup xenserver vm's over XAPI to a backup SR via Tags

License

Notifications You must be signed in to change notification settings

milcom/xenbackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xenbackup

Simple App to manage xenserver VM backups via Tagging

Usage

An example config is provided. Modify to your taste then run xenbackup with the path to your config

 $ ./bin/xenbackup.rb test_config.rb
 
 Config loaded
 --------------------------------------------------------------------------------
 
 Fetching VM and SR data from pool.
 --------------------------------------------------------------------------------
 
 Snapshotting all VM's with tag: 'testing_backups'
 --------------------------------------------------------------------------------
 Starting Snap Backup for 'etcd07'  OpaqueRef:53154495-69f9-91d4-d232-afc1fac721f7
 Tagging backup
 
 Moving Snapshots to Backup volume tagged 'spof_sr'
 --------------------------------------------------------------------------------
 Moving xenbackup-etcd07 to Backup SR: OpaqueRef:2a7fdd0d-a057-a4cd-cb79-92fc4473ebe8
 
 Cleaning Up snapshots.
 --------------------------------------------------------------------------------
 Deleting xenbackup-etcd07
 Removing disks attached to 'xenbackup-etcd07' via OpaqueRef:89a73de1-d49c-f21e-4c7c-4b08a4966406
 removing vbd: OpaqueRef:f17fcd08-df53-5865-9e42-c142bca7574b
 waiting for disks to cleanup
 Destroying Guest
 Cleaning up Old backups
 Deleting xenbackup-etcd07
 Removing disks attached to 'xenbackup-etcd07' via OpaqueRef:fdba2233-de11-caad-6dea-5e4fc4148263
 removing vbd: OpaqueRef:b1780667-a534-df4e-0016-13b972906fab
 waiting for disks to cleanup
 Destroying Guest

Acknowledgements

This program embedds a modified version of xenapi gem by Geoff Garside https://github.com/geoffgarside/xenapi

LICENSE

see LICENSE see lib/xenapi/LICENSE

About

Backup xenserver vm's over XAPI to a backup SR via Tags

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages