XO Backup [NOBAK] for full backups
-
[NOBAK] works, at the transfer level. It means, the disk will be snapshot, but the data won't be export to the backup.
It's due to the fact we use
VM.snapshot
method that doesn't allow to make a VM snapshot by excluding disks.We have an alternative in the pipes, working directly on disk level snapshot (
VDI.snapshot
) that will solve this. -
Thanks @olivierlambert. Any thoughts on the pre / post backup scripts idea?
-
Don't we have already some webhooks? Anyway, the VDI.snapshot method can be done in one or 2 releases, might worth to wait anyway
edit: we have indeed webhooks but for jobs, I wonder it might be trivial to get them for backup
-
I'm waiting for the same feature. I have a surveillance camera VM with a 20TB array that I don't want to back up. I created an Ansible playbook to recreate just the OS in the event I needed to since I can't backup the VM but that is kinda a hack. I'd rather exclude the video footage array and backup the OS.
-
Noted. Pinging @julien-f
-
Just coming back to this: @olivierlambert
(1) what is the approximate timeframe for VDI.snapshot ?
(2) You said "we have indeed webhooks but for jobs, I wonder it might be trivial to get them for backup" - is that likely to happen soon?
I can't do the code but I can test... -
Here's another case in XCP-ng/Xen, which pre/post hooks for XO backups could be used to solve:
Any way to backup VM with USB attached?
There are many situations in which it would be desirable to shut down a VM before backup and start it up again afterwards, especially these cases in which a storage device or USB device needs to be detached or the backup won't run...
-
Repinging @julien-f
-
@normanghenderson I'm currently working on this feature, I had hoped to be able to release this for the September release but due to last minute issue it will likely be postponed for the end of October.
Note that this will ship in the proxy first before making its way to regular backups.
Best regards,
-
@julien-f Thanks very much. Let me know when there is something to test.
-
@normanghenderson Hi Julien, Happy New Year. Just touching base on this? I just made an attempt with xo-server 5.73.0 xo-web 5.76.0 and got the usual SR_OPERATION_NOT_SUPPORTED due to the large disk.
-
I think it's coming this release, isn't it @julien-f ?
-
@normanghenderson Yep, it should be coming at the end of the month
-
-
@julien-f Excellent, thank you!
-
Has this been implemented yet?
I've tried the [NOBAK] method, and the disk still gets cycled into the weekly VM backup. -
Running the latest xen orchestra. Just finished our latest weekly backup. It still backed up the 1TB disk I had labeled as [NOBAK].
-
@mrbaz I don't think its been implemented yet. Its coming from what I've read though.
-
It should be for this release, this time @julien-f is working on it!
-
@olivierlambert Has there been any progress on the VDI.snapshot? Read somewhere that there could be another branch for testing, but I did not find any.