-
- Lurker
- Posts: 2
- Liked: never
- Joined: Nov 26, 2012 3:13 pm
- Full Name: Paul Winterbourne
- Contact:
Move VMX from one datastore to another without full backup
Hi,
I need to unregister a few of our VM's from our VMWare 6.7 cluster and register them again once I have moved the VMX file. Is there a way to do this so that Veeam backup does not have to do a full backup again afterwards?
thanks,
Paul
I need to unregister a few of our VM's from our VMWare 6.7 cluster and register them again once I have moved the VMX file. Is there a way to do this so that Veeam backup does not have to do a full backup again afterwards?
thanks,
Paul
-
- Product Manager
- Posts: 2578
- Liked: 707 times
- Joined: Jun 14, 2013 9:30 am
- Full Name: Egor Yakovlev
- Location: Prague, Czech Republic
- Contact:
Re: Move VMX from one datastore to another without full backup
Hi Paul,
with Unregistering|Registering a VM, VMware will reset VM's MoRefID as well as dependent CBT table, rendering incremental backup to read entire disk(VM will be treated as new).
There is nothing we can do to avoid Full backup, but to map subsequent backups to an existing backup chain.
Can't you move VMs via vMotion without unregistering?
/Thanks!
with Unregistering|Registering a VM, VMware will reset VM's MoRefID as well as dependent CBT table, rendering incremental backup to read entire disk(VM will be treated as new).
There is nothing we can do to avoid Full backup, but to map subsequent backups to an existing backup chain.
Can't you move VMs via vMotion without unregistering?
/Thanks!
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Nov 26, 2012 3:13 pm
- Full Name: Paul Winterbourne
- Contact:
Re: Move VMX from one datastore to another without full backup
ah yes I remember the moref issue now. At one point I did get around this by editing the moref id in the veeam db (about three years ago). Something like this: https://myitblog.co.uk/veeam/change-vm- ... -database/
I can power down the vm's and do an offline vmotion as it were but I am fairly sure you cannot move the vmx file doing this. I may be wrong! I will have a look at it today.
It is such a pain doing this sort of stuff. We often end up having to move vm's and their data to new datastores on new SAN's etc which means doing a full backup again. This is kind of ok but some of our vm's have 5 or 6TB in which means it can take all weekend to backup one vm again so means I have to spend multiple weekends migrating over a handful of vm's to new datastores. In the current situation, I moved all of the data drives over which was fine but then realised I hadnt moved the vmx files which basically means a full backup again for moving a tiny file. It would be really cool if Veeam created a little add in for each server whereby it has a unique id in so that when things like unregiatering and registering a vm are done, you can click up anupdate button in the Veeam gui to update the moref for the vm. I can dream
anyway thanks for the reminder about moref's and vmotion. I should be able to get around it now.
I can power down the vm's and do an offline vmotion as it were but I am fairly sure you cannot move the vmx file doing this. I may be wrong! I will have a look at it today.
It is such a pain doing this sort of stuff. We often end up having to move vm's and their data to new datastores on new SAN's etc which means doing a full backup again. This is kind of ok but some of our vm's have 5 or 6TB in which means it can take all weekend to backup one vm again so means I have to spend multiple weekends migrating over a handful of vm's to new datastores. In the current situation, I moved all of the data drives over which was fine but then realised I hadnt moved the vmx files which basically means a full backup again for moving a tiny file. It would be really cool if Veeam created a little add in for each server whereby it has a unique id in so that when things like unregiatering and registering a vm are done, you can click up anupdate button in the Veeam gui to update the moref for the vm. I can dream
anyway thanks for the reminder about moref's and vmotion. I should be able to get around it now.
-
- Product Manager
- Posts: 2578
- Liked: 707 times
- Joined: Jun 14, 2013 9:30 am
- Full Name: Egor Yakovlev
- Location: Prague, Czech Republic
- Contact:
Re: Move VMX from one datastore to another without full backup
Well, ID trick just solves "job doesn't see new VM automatically" but will not solve "CBT returns full vmdk size" problem. Job will continue to run, but with each backup we query VMware CBT for the VM in question, and VMware will return entire disk to us for new VM(aka re-registered one) first backup. So backup will be "incremental" type(.vib) but of a full VM backup in size.
If storages are under same vCenter server, you should be able to migrate VMs from one to another with no MoRefID change, nor CBT reset.
If storages are under same vCenter server, you should be able to migrate VMs from one to another with no MoRefID change, nor CBT reset.
-
- Chief Product Officer
- Posts: 31802
- Liked: 7298 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: Move VMX from one datastore to another without full backup
If this was the case @Egor Yakovlev , then our vCenter Migration utility would not be so popularEgor Yakovlev wrote: ↑Feb 05, 2021 1:08 pmbackup will be "incremental" type(.vib) but of a full VM backup in size
No, of course the incremental backup will be of normal in size even if CBT returns the entire disk as changed, since we don't only rely on CBT to determine what blocks have changed. It would be a terrible idea indeed, because CBT also returns blocks as changed even if they were merely overwritten with the same content. If I remember our testing from the early days correctly, on average every other block returned by CBT does not actually have their content changed.
The behavior you're describing (incremental with a size of the full) happens only when no mo-Ref update was performed, because in this case Veeam observes a brand new VM and needs to capture its entire state as a part of an incremental job run.
Who is online
Users browsing this forum: Baidu [Spider], mattskalecki, Semrush [Bot], tyler.jurgens and 72 guests