Filippo Zanardo's Blog

to blog or not to blog

Posts Tagged ‘xenserver compress backup

Xenserver Backup Updated 2.2

with 31 comments


Ok guys,
i have some time and i have updated my xen backup script, to improve it and to add some few features.
Basically i add the possibility to compress the backup and the possibility to have more than 1 removable storage, the line changed in the config.txt file are:

#the uudi of the removable storage, at the moment i don’t have an efficent script to localize since name can change
@removableuuid = (‘d7a8fb07-e7d1-9eb4-6d79-dca8680ace89′,’d7a8fb07-e7d1-9eb4-6d79-dca8680ace86’);

#compress option enable/disable compression
$compress = true;

#compress command
$compresscmd = “tar -czvf”;

#compress extension easiser for me to put correct extension
$compressext = “.tar.gz”;

Few other check and modification, the rest is the same.
You can downlaod the new script at:

http://xenbackup.googlecode.com/files/xenbackup2.2.zip

Please comment for feature, bug and so on.

Enjoy! Cheers!

Advertisements