@fohdeesha Great, thank you!
Best posts made by Zevgeny
Latest posts made by Zevgeny
-
RE: Adding VMs to "smart mode" DR / Delta backup? (FIXED)
@olivierlambert The update has fixed it, thanks!
-
RE: Adding VMs to "smart mode" DR / Delta backup? (FIXED)
@olivierlambert Thanks for your reply. I gather that it's supposed to "just work" when I add the tag to the VM?
We are not on the latest commit, so I will try updating our XO and see.
-
Adding VMs to "smart mode" DR / Delta backup? (FIXED)
Edit: Fixed by updating to latest version.
Hi, I'm using XO community edition.
I have a DR backup task and a Delta Backup task successfully running in "smart mode" on all VMs tagged "production".
Recently, I've added the "production" tag to a new VM. When I click "Sample of matching VMs" in the DR task, the new VM shows up as part of the list.
However, there's no backups of this new VM, nor is there a corresponding VM on the DR server, unlike all the other VMs with the tag.
I have tried editing and then saving the Backup and DR tasks, in the hope that it will pick up the new VM at that point, but no luck.
Is there something additional that I need to do, to add the new VM into the DR / Backup tasks?
-
RE: Backup a VM with all its snapshots?
@olivierlambert I think the other commenter put it nicely - we are using snapshots a little bit like version control for the VMs. One of the things we use VMs for is to build golden images for desktop PCs, so maybe that's an unusual use case...
Putting aside how it works under the hood, it's also a GUI thing - it's a nice way to view and organize past versions of the VM, by having a list inside the VM's snapshots tab. It would be messier and less clear if they were separate VMs in the main list or exported XVAs.
Not being able to backup and restore the snapshots list is a little bit like losing our version control if a disaster happened to XO. I guess we'll have to stop using this feature in this way, or make more effort to manually export the snapshots we really need to back up.
Also, can you please confirm / deny what the previous commenter (gsrfan01) said? Is there a performance reduction when having snapshots on a VM's list?
-
RE: Backup a VM with all its snapshots?
@olivierlambert Thanks for the reply.
Hmm, we use snapshots as a specific record of certain named changes to our VMs, which we sometimes need to revert back to. Eg. (1) Base OS (2) Drivers and Apps installed (3) Prior to OS update (4) Post OS update, etc. Retention based on dates doesn't quite cover our use case.
There doesn't seem to be a way to backup a snapshot via the regular backup system, the only way is to export as XVA or copy it into its own VM entry?
Is there any way to populate the snapshots tab of a VM with exported / copied snapshots?
In VirtualBox, snapshots are a series of differencing images that only consume enough HD space to record changes. Is this not the case with XCP / XO? Is each snapshot a full standalone copy of the VM?
-
RE: Backup a VM with all its snapshots?
@olivierlambert Going back to my original question, I have a VM in XO with a few snapshots in its snapshot tab.
Is there a way to backup and restore the VM, such that everything is the same as before the backup (ie. a VM in XO with those particular snapshots in its snapshot tab.)
I'm struggling to express myself more clearly than this, is it clear what I'm trying to ask? I want the snapshots to be backed up and restored along with the VM, so everything appears the same as the original in the XO GUI.
-
RE: Backup a VM with all its snapshots?
@olivierlambert Hi, I finally got around to testing this.
-
In XO, I go to the "Backup" section, and out of the backup types, I choose "Backup".
-
I select my NAS as the destination remote.
-
I choose a VM that has snapshots.
-
I select Create and manually run the backup. After its done:
-
I go to the Backup section in XO and select "Restore".
-
I choose the VM I just backed up, and select the "Full" backup to restore.
-
I restore to another host.
-
Looking at the restored VM on the new host, there is nothing in the snapshots section.
Is this supposed to work? Am I doing something wrong?
Thanks
-
-
Backup a VM with all its snapshots?
Hi, is there any way to make a backup (or copy) of a VM, with all of its snapshots included as well?
Such that when you restore (or view its copy) the snapshot list is preserved exactly?
-
RE: CLI/SSH delete VMs that were set as "Protect from accidental deletion" in XO
I came across this post in a google search.
"xe vm-param-cleaner" mentioned earlier doesnt seem to exist anymore. However the following command worked for me:
xe vm-param-clear uuid=<vm_uuid> param-name=blocked-operations