May 22, 201412 yr Since apparently my backupscript is the goto script for Backing up virtualmachines, i think its time it gets its own thread, and not as a octoble-qouted post inside another thread. You can find the newest version in the Buux Repo here Ill release a new version with some of the features from Buux that you cant see (Version control/config file etc), tonight i hope. after that ill work on versioning. (I would still prefer if you use someone elses backup script for databackup). Discuss away.
May 22, 201412 yr 404 Not Found. Found it at --> https://github.com/lonix/BUUX/raw/master/VMBackup.sh Kryspy
May 22, 201412 yr Author 404 Not Found. Found it at --> https://github.com/lonix/BUUX/raw/master/VMBackup.sh Kryspy Thanks fixed in OP
May 23, 201412 yr I am looking to make use of this script. Sorry if I have missed a quick guide on how this should be used, but... is it expecting my VMs to be sorted like this on disk /mnt/cache/VM/VM1/VM.img /mnt/cache/VM/VM2/VM.img /mnt/cache/VM/VM3/VM.img And so it will then process the folders in /mnt/cache/VM and use the folder name to match up with the output of xl, therefore I need my folders named as per my VMs?
May 23, 201412 yr Author yes the script expects VMfolder to match xl name (aka domainname) Sent from my iPad using Tapatalk
May 24, 201412 yr Author Is anyone ready for a update ? The one with rolling versions Sent from my GT-I9505 using Tapatalk
May 24, 201412 yr We Sure Are!!! Quick notes: - Finished not Finnished (or does this script indeed make me Finnish? ) - Initialized not Initalized
May 24, 201412 yr Lonix, what is the difference between VMBackup.sh and VMBackup-dev.sh? And the config file does it just need to be placed in the same folder as the VMBackup.sh?
May 24, 201412 yr Author Lonix, what is the difference between VMBackup.sh and VMBackup-dev.sh? And the config file does it just need to be placed in the same folder as the VMBackup.sh? Same folder yes! dev-versions are the code for my next versions in progress. you should never ever use that.
May 24, 201412 yr Lonix, what is the difference between VMBackup.sh and VMBackup-dev.sh? And the config file does it just need to be placed in the same folder as the VMBackup.sh? Same folder yes! dev-versions are the code for my next versions in progress. you should never ever use that. Awesome! Thank You!
May 25, 201412 yr Author 1.3 is released with versioning support ( keep x backups). Sorry Alex no dated backups but this is good enough ? Sent from my GT-I9505 using Tapatalk
May 25, 201412 yr I'm sure this will work. I don't care about the how, just the what So if i'm reading the code right I take it "0" keeps one version like 1.2 and 1,2,3 does its thing keeping that many back versions? EDIT: wait? is it just a boolean to keep a single serial version? EDIT2: errrr ok i think i see it now ...
May 25, 201412 yr I was also confused by this jerp x backups and worried I had fallen behind on my hip lingo. I checked Urban Dictionary and to my horror I was right. I was pathetically behind the times http://www.urbandictionary.com/define.php?term=jerp But worse, I'm still confused what that has to do with making backups of our VM's
May 25, 201412 yr Author I was also confused by this jerp x backups and worried I had fallen behind on my hip lingo. I checked Urban Dictionary and to my horror I was right. I was pathetically behind the times http://www.urbandictionary.com/define.php?term=jerp But worse, I'm still confused what that has to do with making backups of our VM's It should have been keep you little twig . I Am looking for someone to keep README.md updated and valuable, like if you are borred.
May 28, 201412 yr Great script. Thank you for creating this. Any chance we could have the option to shutdown the VMs at the beginning and restart at the end? My Ubuntu VM appears to be frozen after backup despite xl list showing it in a running state. I have to run an xl destroy and xl create manually after backup. My guess is that this is not the fault of the script but of XEN/unraid. Having the option to shutdown and reboot would just be a convenient way around this.
May 28, 201412 yr Great script! Although, there appears to be a problem while running your script as a cron job and using a VMBackup.conf file. When the crontab runs, the script does not pick up the configuration file, despite it being in the same dir as the .sh. You could probably fix this by doing: ... base_dir=`dirname $0` if [ -f "$base_dir/VMBackup.conf" ]; then echo "Config Loaded" source "$base_dir/VMBackup.conf"; fi ...
May 28, 201412 yr yup sure enough i'm having the same problem manual runs work, but crons don't. Just modify the code with the above from my prev. post, works in cron - just tested it.
Archived
This topic is now archived and is closed to further replies.