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.

How to make backups from VMs easily and efficient ?

Featured Replies

My Unraid Array is only one XFS-HDD and one Parity disk - so a small installation for a casual home user.

I have additionally a mirror of two btrfs NVMEs which I use for appdata/Dockers and also for the domain folder, which keeps the vdisks of VMs

 

While I find it easy to use the Unraid Plugin AppData backup for the Dockers' updata, how can I easily backup the very large vdisk files from VMs ?

Spaceinvader one shows how to make snapshots and replications based on the ZFS file system, but I am using btrfs and XFS... so what are the possibilities in that case ?

 

At the moment I find no other answer than just take regular copies of the vdisk files itself - which is hundreds of Gb and at least very time consuming. It cannot be automated and therefore in practice it is often forgotten, I fear....

Also when copying all the vdisk files, the server is very busy and it takes a long time - VMservice needs to be stopped ..... hopefully not forgotten.... etc, etc....

 

So I am searching for a better way to make regular backups from my btrfs domain folder with the VMs

 

To only for that issue change the whole server to a complete ZFS server, I am not ready to do that...... I am not an IT expert, which is what ZFS asks for, I think....

 

Thanks for some advice.

 

Ulli

Solved by JorgeB

  • Community Expert
56 minutes ago, ullibelgie said:

but I am using btrfs

If the vdisk in on btrfs you can also use snapshots and incremental replication to another volume.

  • Author

Hi Jorge,

How do I do this with btrfs?

Can you point me to a link, where this is explained to do with Unraid ?

 

Thank you

  • Author
1 hour ago, JorgeB said:

If the vdisk in on btrfs you can also use snapshots and incremental replication to another volume.

I guess, that btrfs offers snapshots and incremental replication to another volume ONLY IF the other volume is btrfs also ?!

 

But note, that my array is on xfs and external backup also xfs...

What can I do without reformatting my drives in Array and external backup drives ?

 

Thanks

  • Community Expert
  • Solution
1 hour ago, ullibelgie said:

Can you point me to a link, where this is explained to do with Unraid ?

https://forums.unraid.net/topic/51703-vm-faq/?do=findComment&comment=523800

 

58 minutes ago, ullibelgie said:

ONLY IF the other volume is btrfs also ?!

Correct.

 

59 minutes ago, ullibelgie said:

What can I do without reformatting my drives in Array and external backup drives ?

You cannot use snapshots, and there's no similar option for what you want, you can could use rasyn --inplace, but will probably be slower and there's won't be versioning.

  • Author

Jorge, thank you for info.

Then I probably wait for Unraid 7 coming out, as I feel, that Unraid is more and more developed for zfs use nowadays.

 

I feel, when Unraid 7 (stable) will be released and I upgrade to vers 7,  it is perhaps a good time to rebuild the array and reformat the pool into ZFS.

 

 

 

Another option is to treat the VM's like bare metal machines and back them up using traditional methods. I use UrBackup, it does full image and file backup, keeps the backups up to date automatically with no user intervention needed.

 

I have successfully restored full machines from scratch as well as recovered just a few needed files. Much more granular and flexible than vdisk image backups.

  • 6 months later...
On 8/26/2024 at 7:19 PM, JonathanM said:

Another option is to treat the VM's like bare metal machines and back them up using traditional methods. I use UrBackup, it does full image and file backup, keeps the backups up to date automatically with no user intervention needed.

 

I have successfully restored full machines from scratch as well as recovered just a few needed files. Much more granular and flexible than vdisk image backups.

Dear, I see the share via SMB on my PC. I have a lot of space there. Is it possible to just copy the VM vdisk, manually? Will the VM work if I just paste that this later? Or if I configure new VM with the same IP and parametars?

5 hours ago, Rocka374 said:

Dear, I see the share via SMB on my PC. I have a lot of space there. Is it possible to just copy the VM vdisk, manually? Will the VM work if I just paste that this later? Or if I configure new VM with the same IP and parametars?

If the VM is shut down when you do the copy, yes to all with some caveats. Setting up a new VM will assign a different hardware ID, so Microsoft Windows will assume it's a new pc. Linux VM's are much more forgiving.

13 hours ago, JonathanM said:

If the VM is shut down when you do the copy, yes to all with some caveats. Setting up a new VM will assign a different hardware ID, so Microsoft Windows will assume it's a new pc. Linux VM's are much more forgiving.

Its Ubuntu VM. So the important part is just to stop the VM 1st. I more question. If the VM is completely new config with new MAC and I paste this vdisk there, it won't work right? Later if I configure my router to assign the old local IP to the new MAC, should it work again? Or everything in the config needs to be the same for the backup to work?

3 hours ago, Rocka374 said:

Its Ubuntu VM. So the important part is just to stop the VM 1st. I more question. If the VM is completely new config with new MAC and I paste this vdisk there, it won't work right? Later if I configure my router to assign the old local IP to the new MAC, should it work again? Or everything in the config needs to be the same for the backup to work?

Depends on your definition of "work". If the MAC changes, it would be the same as if you swapped a NIC in a physical box. It would still boot, but your router would see it as a new device.

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.