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.

Unraid VM Backup Pre/Post Scripts

Featured Replies

Hello, does anybody have a config that they could share with me for pre- or post-scripts of the Unraid VM Backup plugin?

Unfortunately, there is a bug, and the repo is more or less unmaintained: https://github.com/JTok/unraid.vmbackup/issues/47

But if somebody already has some upload scripts and can show the structure of the folder with permissions, it would be awesome.

image.png

what exactly are you wanting done with what where.

vms and libvirt (especal with snapshots) and not easy to make full backups.

have you looked into easy backup a well? as both are beta plugins.

image.png

  • Author

I want to do VM backups and I would like to monitor that they run with Healthchecks. So I want pre and post-scripts to run.

ok not enough data to assist either way...

vm xml, vm vdisk, vm os loaders. Hardware passed? Theses can cause issues...

VM vdisks snapshots, qdisk vs raw vs etc... backup will not target passed devices.. per example...

if snapshots you need to grab additional libvirt data... essential the database history to restore the vdisk... more info on that on the forum in other posts....
(its honestly best to not touch snapshots AT ALL if using the backup systems... or to make it 1 vdisk file again) theres caveats and gotchas to that... also explain on the forum... DID you do your research as you not asking questions...

Unraid doesn't support "health checks" for VM that i'm aware of... health checks in what way? that the vm started again? that a qm start error code and vise versa... as this seems like somehtign that can be easily scripted...

unrids vms systems use limvirt qemu systems in xml domain format.
https://libvirt.org/formatdomain.html

you want a backup script for pre or post that fine... but again to what targeting what for what where...

not enough data to assist either way...

did you read any of the support forum pages or docs?

https://forums.unraid.net/topic/86303-vm-backup-plugin/

https://www.reddit.com/r/unRAID/comments/18xo4kf/vm_backup_best_practices/
https://forums.unraid.net/topic/51703-vm-faq/#comment-523800

https://www.reddit.com/r/unRAID/comments/57j8f6/video_guide_backing_up_and_restoring_vms_in/
https://docs.unraid.net/unraid-os/using-unraid-to/create-virtual-machines/vm-setup/

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.