-
- Influencer
- Posts: 14
- Liked: never
- Joined: Aug 31, 2012 9:36 am
- Full Name: Patrick
- Location: UK
Move VM to another host and keep the VM ID
Hi,
For the compliance reasons, I purchased a separate host where I want to start 2 VMs running oracle databases.
In Vsphere, the easiest way to make the move is to remove the VM from the inventory, go to the new host , find the datastore and register the VM on the new host.
The problem with this, is that the VM will have a different ID and Veeam will do the full backup of it when readded to the backup job.
Is there a way to fix it and for the VM to have the same ID so it can be readded to the backup job and continue the backups as previously?
For the compliance reasons, I purchased a separate host where I want to start 2 VMs running oracle databases.
In Vsphere, the easiest way to make the move is to remove the VM from the inventory, go to the new host , find the datastore and register the VM on the new host.
The problem with this, is that the VM will have a different ID and Veeam will do the full backup of it when readded to the backup job.
Is there a way to fix it and for the VM to have the same ID so it can be readded to the backup job and continue the backups as previously?
-
- Expert
- Posts: 213
- Liked: 35 times
- Joined: Feb 20, 2012 4:13 pm
- Full Name: Nick Mahlitz
- Contact:
Re: Move VM to another host and keep the VM ID
Is vCenter involved at all at the moment?
If not then you could knock together a vCenter and put the two hosts together in a cluster on it...you can have the vCenter and hosts in eval mode for 60 days to do this.
Then you can vMotion the VM from one host to another without the ID changing since the hosts are together in the cluster.
Then simply remove the hosts from vCenter and destroy the vCenter...I'm pretty sure the ID will then remain...
Failing that can you not edit the ID in the Veeam SQL database for the VM that was moved? Pretty sure support could do that for you...
If not then you could knock together a vCenter and put the two hosts together in a cluster on it...you can have the vCenter and hosts in eval mode for 60 days to do this.
Then you can vMotion the VM from one host to another without the ID changing since the hosts are together in the cluster.
Then simply remove the hosts from vCenter and destroy the vCenter...I'm pretty sure the ID will then remain...
Failing that can you not edit the ID in the Veeam SQL database for the VM that was moved? Pretty sure support could do that for you...
-
- Influencer
- Posts: 14
- Liked: never
- Joined: Aug 31, 2012 9:36 am
- Full Name: Patrick
- Location: UK
Re: Move VM to another host and keep the VM ID
Thanks homerjnick for a prompt reply.
Interesting idea with adding the host to the vcenter and doing the vmotion.
If it is possible to edit the Veeam SQL database then I would go that path. Will ask Veeam support for help.
Interesting idea with adding the host to the vcenter and doing the vmotion.
If it is possible to edit the Veeam SQL database then I would go that path. Will ask Veeam support for help.
-
- Expert
- Posts: 213
- Liked: 35 times
- Joined: Feb 20, 2012 4:13 pm
- Full Name: Nick Mahlitz
- Contact:
Re: Move VM to another host and keep the VM ID
I'm not sure what happens to the ID of a VM if Veeam backs it up via direct through the host THEN you add the host to a vCenter and point Veeam to the vCenter or the second host...I'm guessing it won't change...because you never unregistered it from Inventory...
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Move VM to another host and keep the VM ID
I believe that this action would be equivalent of moving VM to a new vCenter. Full backup would be performed during next job cycle, unless support tool is used. Thanks.I'm guessing it won't change
-
- Novice
- Posts: 7
- Liked: 1 time
- Joined: Feb 13, 2012 5:22 pm
- Full Name: Ben Pierson
- Contact:
Re: Move VM to another host and keep the VM ID
There was an old trick from years ago that may still apply. Instead of keeping the old VM ref-ID you could modify the existing Veeam job's database entry to have the new ref-ID.
https://www.interworks.com/blog/ijahans ... ror-vmware
Hopefully somebody can confirm this still applies to the current versions, or maybe the tweaks needed to make it work.
https://www.interworks.com/blog/ijahans ... ror-vmware
Hopefully somebody can confirm this still applies to the current versions, or maybe the tweaks needed to make it work.
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Move VM to another host and keep the VM ID
I'd avoid using custom written tools. Especially, if those were written several days ago - such tools might be applicable to the current product db.
So, as mentioned previously, reach our support team and let them assist in that process.
Thanks.
So, as mentioned previously, reach our support team and let them assist in that process.
Thanks.
-
- Enthusiast
- Posts: 40
- Liked: 1 time
- Joined: Dec 21, 2013 10:47 am
- Full Name: david silvester
- Contact:
[MERGED] moving backup jobs between two independent veeams
I have two servers, both running veeam as stand alone installations.
I am planning to move some of the virtual machines from server 1 to server 2.
At the moment both servers are configured to use a linux repository to store backups, but each server uses a separate folder on the server.
if I move a virtual machine from server 1 to server 2, is it possible to reconfigure the backup on server 2 veeam install, and then point it to the original backup location on the linux repository so that it will continue incremental backups (Rather than starting the backups from scratch)?
I am planning to move some of the virtual machines from server 1 to server 2.
At the moment both servers are configured to use a linux repository to store backups, but each server uses a separate folder on the server.
if I move a virtual machine from server 1 to server 2, is it possible to reconfigure the backup on server 2 veeam install, and then point it to the original backup location on the linux repository so that it will continue incremental backups (Rather than starting the backups from scratch)?
Systems Administrator
Qwertyitservices.co.uk
Qwertyitservices.co.uk
-
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
- Contact:
Re: Move VM to another host and keep the VM ID
David,
It is possible, however you'll need to contact our support team for that.
Thanks
It is possible, however you'll need to contact our support team for that.
Thanks
-
- Enthusiast
- Posts: 40
- Liked: 1 time
- Joined: Dec 21, 2013 10:47 am
- Full Name: david silvester
- Contact:
Re: Migrating backup data to new (Linux) veeam repository
I dont know what happens the above thread that I created seems to have disappeared?
Anyway, my other issue was moving virtual machines from one host to another, both running standalone installations of veeam. And I wanted to know if I could have the new host pick up the existing backup set from the repository rather than running the backups from scratch.
based on what you said above, this is what I have done -
moved the virtual machine from host 1 to host 2.
on host 2, added the repository that was being used by host 1. Right clicked on the repository and clicked on rescan and then it imported the existing backup sets that it found.
Then I created a backup job on server 2 for the virtual machine that I had just moved, and I clicked on map and then I browse to the backup set that was created when the vm was on server 1.
then I ran the backup.
the backup took quite some time still so I am not sure if it recognised the existing backups or not.
is that the correct way to do it?
Anyway, my other issue was moving virtual machines from one host to another, both running standalone installations of veeam. And I wanted to know if I could have the new host pick up the existing backup set from the repository rather than running the backups from scratch.
based on what you said above, this is what I have done -
moved the virtual machine from host 1 to host 2.
on host 2, added the repository that was being used by host 1. Right clicked on the repository and clicked on rescan and then it imported the existing backup sets that it found.
Then I created a backup job on server 2 for the virtual machine that I had just moved, and I clicked on map and then I browse to the backup set that was created when the vm was on server 1.
then I ran the backup.
the backup took quite some time still so I am not sure if it recognised the existing backups or not.
is that the correct way to do it?
Systems Administrator
Qwertyitservices.co.uk
Qwertyitservices.co.uk
-
- Enthusiast
- Posts: 40
- Liked: 1 time
- Joined: Dec 21, 2013 10:47 am
- Full Name: david silvester
- Contact:
Re: Migrating backup data to new (Linux) veeam repository
Update: The above didnt seem to work. When I look in backups (disk) and at the particular VM that I had migrated it now shows two entries - one with 5 backup revisions (This must be the one I imported and mapped when I recreated the backup job on the new server) and one with 1 revision - this must be the one that I ran last night.
So it looks like its ignored the backup that I told it to map, and its done a new full backup....
What did I do wrong?
PS Now I realise why my new post was probably removed - because I did not post support case ID. Is this issue something I should open a case about rather than posting it here?
So it looks like its ignored the backup that I told it to map, and its done a new full backup....
What did I do wrong?
PS Now I realise why my new post was probably removed - because I did not post support case ID. Is this issue something I should open a case about rather than posting it here?
Systems Administrator
Qwertyitservices.co.uk
Qwertyitservices.co.uk
-
- Veeam Software
- Posts: 21139
- Liked: 2141 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: Move VM to another host and keep the VM ID
David, could you please clarify whether you're moving VMs themselves between ESXi hosts or your goal is just to stop backing up some VMs with one Veeam B&R instance and back it up with another Veeam B&R instance instead?
Who is online
Users browsing this forum: Majestic-12 [Bot] and 81 guests