Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Buux Backup [Backing up one VM at a time]

Featured Replies

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.

Great tool by the way. Thank you :)

 

Kryspy

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? 

  • Author

yes the script expects VMfolder to match xl name (aka domainname)

 

 

Sent from my iPad using Tapatalk

  • Author

Its really meant to acompani BUUX

 

 

 

Sent from my iPad using Tapatalk

  • Author

Is anyone ready for a update ? The one with rolling versions

 

Sent from my GT-I9505 using Tapatalk

 

 

We Sure Are!!!

 

Quick notes:

- Finished not Finnished (or does this script indeed make me Finnish? :) )

- Initialized not Initalized

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?

  • 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.

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!
  • 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

 

 

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 ...

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  ;D

  • 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  ;D

 

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.

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.

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
...

yup sure enough i'm having the same problem :(  manual runs work, but crons don't. 

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.

change made.  we'll see.  i'll be gone all week so i'll know when i get home.

  • Author

Thanks will fix

 

Sent from my GT-I9505 using Tapatalk

 

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.