I like this no bullshit, straight to the point style of videos. I think another way of offline migration is using Proxmox Backup Server. Since backups on it will probably be configured in incremental way, it will greatly speedup the process of making a final backup on the old system. Since the backup server will be added on the new PVE server, then you just need to restore latest backup and you are good to go. It maybe easier for people not wanting to deal with clustering and live migration, that can afford some downtime of their servers.
Great video, I needed this like a month ago when I was trying to figure out how to migrate my VM's to a new cluster. There is so much bad info out there on this... nice job.
You, my friend, are a genus. I pulled a wifi card out of my proxmox server. The system booted up, but the web interface was unreachable. Now I know how to fix this.
Man can I say, big thanks for all the proxmox how to videos you make! I was struggling setting up or figuring out what kind of virtualisation was right for me when setting up a home server. From watching your videos I got proxmox going and its been running steady for months now! Having fun using it for many other things now
Thanks, great vid as usual. Another potentially sticky point are usually hardware specific configs like PCI passthrough, or different NIC configuration
You sir, are a true wizard! Thank you for the clear and concise demo. I was having trouble migrating from an old machine to a new one, and this helped me do it flawlessly.
Thanks a lot for the help, I moved my drives to another server without thinking much about it. The network interfaces were all different and after adjusting all that and restarting the networking service it all works perfectly. Definitely subscribing, great work man!
Great video! Good to see the proper steps of removing the nodes from the cluster and removing the cluster configuration files to avoid issues in the future if you ever decide to create a new cluster. It would be nice if this can be done via the WebGUI but given so many storage options like CEPH, ZFS with replication and etc I can see why command line is the preferred method.
If you have several servers, you can also set up a Proxmox Backup Server and use that to store all your VM backups. This also allows you to easily restore a backup to a different server, effectively migrating it.
Excellent video! I am trying to figure out how to restore a broken PVE node that crashed after an update/upgrade and lost its GRUB configuration. I am using PVBS so I have my VM's backed up but I'm not sure the quickest/easiest way to do so. The single VM in question is TrueNasScale which has several drives passed through to it via Proxmox. Can I simply transfer the drives to another node and restore the VM to it somehow? I'm concerned that I'll lose data from the TrueNas VM although I suppose I could add the data drive pool after the VM is running and hope it "sees" the existing pool? Anyhoo, thank you for the great tutorials on ProxMox. Your teaching style is clear and concise.
Great instructions!! I'm trying to do this with the NFS method, but getting "access denied by server while mounting". I did do a chmod 777 on the NFS directory as instructed. Wondering if it's something about v8 of Proxmox vs. what is demoed in the video?
Actually I've been thinking of going this way. the new 1 will handle all the vm's and the current server will become my backup (in case the primary goes down) and also be the backup server. I'll have another server at a Dr site configured with PVE and PBR so if everything goes south, I'll have a 2nd offside box to use.
I was looking for a video like this because I want to upgrade the motherboard and CPU because I don't have enough cores in my current system, but I have three hard drives in RAID Z and I don't want to lose all that data from switching just the motherboard and processor and reinstalling Proxmox.
This is helpful, but I'm confused about the Networks share part, you don't go into (maybe you do, but perhaps I don't pickup on it), what the share name needs to be, is it the same name as the ID or is it the same name as the folder (in the example nfs)
What if i just wanna move the vm's disks? Example, one PVE has 3 disk, one with boot and two with vm's. Second PVE only has 1 disk with boot. Can i just move only the disks with vm's a new system that already has a PVE installed ?
You seem like the proxmox guru. I ran into a super weird issue today and hope you have an idea of what might have happened. I ran VE 7.4 on a single NVME in a PCIE adapter. I had IOMMU enabled to passthrough other PCIE devices. Now I wanted to install VE on a Raid1 Sata SSD cluster instead. Installation was no problem but I can't get the beast to split the PCIE devices into different IOMMU groups. Now I put the PCIE NVME back in, booted from it and all devices are split into IOMMU groups again. I have applied exactly the same setting to the grub file. For hours I've been trying different things to make it work. Is it possible that the split is prevented because the two SSD are connected to different SATA controllers? Any help would be appreciated :)
I had my proxmox host crash during a update , I have installed proxmox on a new drive and I have my VM configs backed up , I am trying to copy the VM Disks from the old drive over to the new drive but I am stuck at a point were I cant mount the old drive dur to the same VG Name "pve" any suggestions? all I want to do is copy the VM Disks from old drive to new for the machines that I did not have a chance to back up
That is exactly the problem I have in mind for last 6 months or so. Got worst with the new 13 gen cpu, cannot install them from iso , have to use old sod with new kernel .
Hello. I've got a question about the feasibility or reliability of a 2 node cluster. I am migrating from ubuntu/kvm on ubuntu to proxmox. I was thinking of keeping my old system and adding it as the 2nd server in a cluster. both would have local storage and their vm's running in that environment. is HA available as well as failover in a 2-node cluster? there seems to either some confusion about the 'correct' # of servers in a cluster - 2, or 3. Are 3 only needed for HA or can i configure and run a 2-node server w/o issues? I had originally thought of using the older server as a proxmox backup box but if I can use it in a cluster - then that's all the better. i'll be purchasing the minimum enterprise licensing - if that matters. thanks.
The issue with a 2 node cluster is if one node fails, the cluster can get stuck as no quorum(majority of nodes agreeing) can occur. Without quorum typically you can't start any vms/containers or make other changes. Typically 3 nodes is typically needed for HA, as it allows one node to fail, and the cluster can continue to have 2 nodes in agreement. You can cheap/low power 3rd node like a mini pc to reach 3 nodes if needed. This video focused on using a cluster for migrating to a new server, and the 2 node cluster would only be used when the migration occurs.
@ElectronicsWizardry I've been considering the same thing, primarily so it's 'just there' to make the quorum, but as it'll allow me to manage all devices from a 'single pane', I should be good. The other 2 devices will have storage motion configured and 1 will also double as a backup server running PBR. Do you think this will work?
@seapro4018 I think this will work fine. If it was me I'd want to test one node going down just to see what happens, and to learn the commands to fix it in case it happens.
That shirt has a lot of Linux commands written upside down so the wearer can read it by lookijg down at their shirt. I wanna say it was from the xkcd store but that seems to be down now.
Oh wait, I have one more problem with backup, since my vm use zfs nvme instead of the local, how to actually back them up? Or transfer into different node?
You should be able to backup a vm using storage on any filesystem or storage media that proxmox supports. So you can make vzdump backups and move those to the new system.
Today I have the problem, the boot SSD makes more and more problems with system halts etc. so I have to replace it. What way would you suggest? Copy with partition magic failed today during read errors. So perhaps it's the best to set up a new Proxmox server on a new ssd and copy the container and vm's?
If your replacing a failing drive I’d try to make a clone of the drive using ddrescue first. Ddrescue is made for failing drives and can restart if the system needs to be rebooted or the drive drops out. If the image is created without issue I’d clone it to anouther drive and keep using that install. If there are errors I’d try to make backups of the VMs and move to a new install to remove any possibly corrupted parts of the install.
not sure if u will read this but i cant seem to find the right key words to find what im looking for. im looking to move my proxomox instal and vms from 1 ssd to another as i want to change how redundant my os is. cna u link me a video or artical on how to do that if it wouldnt bother u
You should be able to do this easily by adding the new ssd storage to proxmox. Then for all the VMs select the disks and then select the move option. This will move the storage to the new storage. Once all the disks are moved you can remove the old storage. If you’re using zfs you might be able to add a mirror to your existing ssd without having to add a new storage to the system.
@@ElectronicsWizardry I would just add another disk but I installed proxmox onto a 256gb cheap m.2 and my motherboard doesn’t have another m.2slot. I want to move all that onto a pair of Intel s3700’s. And I would like to get rid of that ssd. I will try this once I get off work
@WillFuI there isn’t an easy way to move the boot data to a new drive in proxmox. Probably easier to backup VMs and reinstall proxmox. There are some disk cloning things that could be done but that gets complex fast.
@bigjoe714 you want to use the unmount command first then unplug from the computer. The unmount command will make sure all the data is safely on the disk so it’s can be removed with no risk of data loss.
@@ElectronicsWizardry No sorry I am referring to the Proxmox storage tab, where you showed how to add a directory to the mountpoint. Should it be removed from there before unmounting.
Proxmox doesn’t have a built in way to do boot drive backups. You can other backup tools that are made for Debian and other Linux distros but that won’t be integrated with proxmox.
@@ElectronicsWizardry thanks so much, I hope that you’ll have a tutorial on this at some point, it is indeed annoying to start from scratch but I guess not a disaster, so it would be great if you can migrate the install as well and have much less down time 😅
@@drreality1 Maybe The Clonezilla project may be interesting for you. I used it to clone complete boot drives even really old Windows XP HDD's (used in a old CNC machine) to SSD.
I will say it again: Proxmox is great, but still lacks BASIC features to restore the configuration. Having to manually change network files is NOT “Enterprise ready”!
Yea confit backup would be nice. It would be nice to have a ability to export all the vms configs. To be fair to Proxmox if you move drives between systems and have static IP or other network configurations specific to the nics you will need to set that up again on the new hardware. You often have to do this in the command line as if the network isn’t up you can’t use the web gui or the normal management page.
The recommended way is fresh install on the new server, duplicate the settings from the old server and then migrate the VMs over. The way he did in this video is perfectly fine if you know your way around Linux's command line. There might be a backup script available that actually copies the settings over and only thing you have to do is fix the network configuration. Either way the process isn't too hard to do.
the cluster and live migration obviates lots of this and why you may want to have more nodes or dual clusters - loth of business should have at a minimum a couple nas for HA and secure backups - things break so having redundancy and ha is vital and cheap insurance consider faster netfs and options - nfs/cepg/gluster/ocfs2/sshfs
You do a great job in communicating the options and the process. Keep up the good work!
I second that! Really well made content and presentation!
Thank you for helping me out to transfer my VMs. I used the method with the external hard drive, and it worked very well for me.
I like this no bullshit, straight to the point style of videos.
I think another way of offline migration is using Proxmox Backup Server. Since backups on it will probably be configured in incremental way, it will greatly speedup the process of making a final backup on the old system. Since the backup server will be added on the new PVE server, then you just need to restore latest backup and you are good to go. It maybe easier for people not wanting to deal with clustering and live migration, that can afford some downtime of their servers.
Great video, I needed this like a month ago when I was trying to figure out how to migrate my VM's to a new cluster. There is so much bad info out there on this... nice job.
external usb option was just what the dr ordered...worked great, thanks!
Great video. I'll be putting this to use shortly. Thank YOU!
You, my friend, are a genus. I pulled a wifi card out of my proxmox server. The system booted up, but the web interface was unreachable. Now I know how to fix this.
Man can I say, big thanks for all the proxmox how to videos you make! I was struggling setting up or figuring out what kind of virtualisation was right for me when setting up a home server. From watching your videos I got proxmox going and its been running steady for months now! Having fun using it for many other things now
I like the 3rd option. Been struggling to find good info on how adaptable this is to different hardware, storage, CPU, ram, nic's, etc.
Thanks, great vid as usual. Another potentially sticky point are usually hardware specific configs like PCI passthrough, or different NIC configuration
Thanks man for making this video. It is very helpful. Keep doing this job.
You sir, are a true wizard! Thank you for the clear and concise demo. I was having trouble migrating from an old machine to a new one, and this helped me do it flawlessly.
Thanks so much for your videos!!!
I wasn't sure how to migrate running VM's and found your clear and concise video explaining it.
another masterpiece, thanks man! keep up the good work!
Thanks a lot for the help, I moved my drives to another server without thinking much about it. The network interfaces were all different and after adjusting all that and restarting the networking service it all works perfectly. Definitely subscribing, great work man!
Great video! Good to see the proper steps of removing the nodes from the cluster and removing the cluster configuration files to avoid issues in the future if you ever decide to create a new cluster. It would be nice if this can be done via the WebGUI but given so many storage options like CEPH, ZFS with replication and etc I can see why command line is the preferred method.
Video was straight too the point and helpful.
Thanks!
It worked like a charm. Thank you!
Thanks for the demo and info, have a great day
Great video! Great review and methods!! Thanks a lot!!!
Great video again, literally. Your ProxMox videos are really helpful for newcomers. Thanks again!
If you have several servers, you can also set up a Proxmox Backup Server and use that to store all your VM backups. This also allows you to easily restore a backup to a different server, effectively migrating it.
Really are a hero
Great tutorial, as usual!
Great video just what I was looking for.
Great video!!!
Thank you for going over this.
Thank you, method 1 of moving drives helped me
Glad it helped
Amazing video! Thanks!
Sehr Gute Arbeit 👍👍👍
Grüße aus Deutschland 🇩🇪
Once again, another great video ...
Hey thanks for this, exactly what I was looking for.
Excellent video! I am trying to figure out how to restore a broken PVE node that crashed after an update/upgrade and lost its GRUB configuration. I am using PVBS so I have my VM's backed up but I'm not sure the quickest/easiest way to do so. The single VM in question is TrueNasScale which has several drives passed through to it via Proxmox. Can I simply transfer the drives to another node and restore the VM to it somehow? I'm concerned that I'll lose data from the TrueNas VM although I suppose I could add the data drive pool after the VM is running and hope it "sees" the existing pool? Anyhoo, thank you for the great tutorials on ProxMox. Your teaching style is clear and concise.
Great instructions!! I'm trying to do this with the NFS method, but getting "access denied by server while mounting". I did do a chmod 777 on the NFS directory as instructed. Wondering if it's something about v8 of Proxmox vs. what is demoed in the video?
woowww.. greatttt.. nice tutor, love proxmox
Thank you for this!
Actually I've been thinking of going this way. the new 1 will handle all the vm's and the current server will become my backup (in case the primary goes down) and also be the backup server. I'll have another server at a Dr site configured with PVE and PBR so if everything goes south, I'll have a 2nd offside box to use.
Life saver!
I was looking for a video like this because I want to upgrade the motherboard and CPU because I don't have enough cores in my current system, but I have three hard drives in RAID Z and I don't want to lose all that data from switching just the motherboard and processor and reinstalling Proxmox.
Great tutorial. 👍
Another tut for mapping hardware (graphics and/or network card) to a VM might be useful.
Thanks for the idea. I’ll add that to the video list.
Great video. Thanks
This is helpful, but I'm confused about the Networks share part, you don't go into (maybe you do, but perhaps I don't pickup on it), what the share name needs to be, is it the same name as the ID or is it the same name as the folder (in the example nfs)
THANK YOU!!!
Great video as always 👍
what about moving VM's between nodes?
What if i just wanna move the vm's disks? Example, one PVE has 3 disk, one with boot and two with vm's. Second PVE only has 1 disk with boot. Can i just move only the disks with vm's a new system that already has a PVE installed ?
You seem like the proxmox guru. I ran into a super weird issue today and hope you have an idea of what might have happened. I ran VE 7.4 on a single NVME in a PCIE adapter. I had IOMMU enabled to passthrough other PCIE devices. Now I wanted to install VE on a Raid1 Sata SSD cluster instead. Installation was no problem but I can't get the beast to split the PCIE devices into different IOMMU groups. Now I put the PCIE NVME back in, booted from it and all devices are split into IOMMU groups again. I have applied exactly the same setting to the grub file. For hours I've been trying different things to make it work. Is it possible that the split is prevented because the two SSD are connected to different SATA controllers? Any help would be appreciated :)
How are live migrations handled when moving to newer/different processor? Are they still possible?
I had my proxmox host crash during a update , I have installed proxmox on a new drive and I have my VM configs backed up , I am trying to copy the VM Disks from the old drive over to the new drive but I am stuck at a point were I cant mount the old drive dur to the same VG Name "pve" any suggestions? all I want to do is copy the VM Disks from old drive to new for the machines that I did not have a chance to back up
That is exactly the problem I have in mind for last 6 months or so. Got worst with the new 13 gen cpu, cannot install them from iso , have to use old sod with new kernel .
спасибо бро
Subscribed!
Hello. I've got a question about the feasibility or reliability of a 2 node cluster. I am migrating from ubuntu/kvm on ubuntu to proxmox. I was thinking of keeping my old system and adding it as the 2nd server in a cluster. both would have local storage and their vm's running in that environment. is HA available as well as failover in a 2-node cluster? there seems to either some confusion about the 'correct' # of servers in a cluster - 2, or 3. Are 3 only needed for HA or can i configure and run a 2-node server w/o issues? I had originally thought of using the older server as a proxmox backup box but if I can use it in a cluster - then that's all the better. i'll be purchasing the minimum enterprise licensing - if that matters. thanks.
The issue with a 2 node cluster is if one node fails, the cluster can get stuck as no quorum(majority of nodes agreeing) can occur. Without quorum typically you can't start any vms/containers or make other changes. Typically 3 nodes is typically needed for HA, as it allows one node to fail, and the cluster can continue to have 2 nodes in agreement. You can cheap/low power 3rd node like a mini pc to reach 3 nodes if needed.
This video focused on using a cluster for migrating to a new server, and the 2 node cluster would only be used when the migration occurs.
@ElectronicsWizardry I've been considering the same thing, primarily so it's 'just there' to make the quorum, but as it'll allow me to manage all devices from a 'single pane', I should be good. The other 2 devices will have storage motion configured and 1 will also double as a backup server running PBR. Do you think this will work?
@seapro4018 I think this will work fine. If it was me I'd want to test one node going down just to see what happens, and to learn the commands to fix it in case it happens.
Great Video but i was a bit irretated because you blink that often
Great job!!! Clear and simple. Just one question: Whats's printed on your tshirt? A kind of linux commands? hehehehe!!! its video inverted?
That shirt has a lot of Linux commands written upside down so the wearer can read it by lookijg down at their shirt. I wanna say it was from the xkcd store but that seems to be down now.
I LOVE IT !!!!!!! Hehehehehe!!! @@ElectronicsWizardry And by the way: Thanks for your tutorials!!!!
Oh wait, I have one more problem with backup, since my vm use zfs nvme instead of the local, how to actually back them up? Or transfer into different node?
You should be able to backup a vm using storage on any filesystem or storage media that proxmox supports. So you can make vzdump backups and move those to the new system.
Today I have the problem, the boot SSD makes more and more problems with system halts etc. so I have to replace it. What way would you suggest? Copy with partition magic failed today during read errors. So perhaps it's the best to set up a new Proxmox server on a new ssd and copy the container and vm's?
If your replacing a failing drive I’d try to make a clone of the drive using ddrescue first. Ddrescue is made for failing drives and can restart if the system needs to be rebooted or the drive drops out. If the image is created without issue I’d clone it to anouther drive and keep using that install. If there are errors I’d try to make backups of the VMs and move to a new install to remove any possibly corrupted parts of the install.
@@ElectronicsWizardry thank you, I'll try this one. Parted Magic should have it onboard, so I give it a try.
niiiiice….. thanks
you wipe the drive and somehow the backups show up on that drive? what am i missing?
Can you link where this happens in the video? I think I showed having a drive for backups that still had data and was able to be restored from.
I think external hard drive has the least risk since there are fewer steps.
not sure if u will read this but i cant seem to find the right key words to find what im looking for. im looking to move my proxomox instal and vms from 1 ssd to another as i want to change how redundant my os is. cna u link me a video or artical on how to do that if it wouldnt bother u
You should be able to do this easily by adding the new ssd storage to proxmox. Then for all the VMs select the disks and then select the move option. This will move the storage to the new storage. Once all the disks are moved you can remove the old storage.
If you’re using zfs you might be able to add a mirror to your existing ssd without having to add a new storage to the system.
@@ElectronicsWizardry I would just add another disk but I installed proxmox onto a 256gb cheap m.2 and my motherboard doesn’t have another m.2slot. I want to move all that onto a pair of Intel s3700’s. And I would like to get rid of that ssd. I will try this once I get off work
@@ElectronicsWizardry I was able to move all my vms over but I can’t figure out how to move my bios boot over maybe it isn’t worth doing.
@WillFuI there isn’t an easy way to move the boot data to a new drive in proxmox. Probably easier to backup VMs and reinstall proxmox. There are some disk cloning things that could be done but that gets complex fast.
can you migrate from hyper V to VM in proxmox?
What is the correct way to unmount the USB drive after I restore the backups?
If you mounted the drive in the terminal you can use the umount /path/ofmounted/drive to unmount the drive.
@@ElectronicsWizardry ok thank you. Should it be removed from proxmox storage first?
@bigjoe714 you want to use the unmount command first then unplug from the computer. The unmount command will make sure all the data is safely on the disk so it’s can be removed with no risk of data loss.
@@ElectronicsWizardry No sorry I am referring to the Proxmox storage tab, where you showed how to add a directory to the mountpoint. Should it be removed from there before unmounting.
@bigjoe714 oh yes. Remove it from Proxmox storage, then unmount in terminal. Then unplug physically.
Is there an easy way to backup proxmox boot disk? Thanks again
Proxmox doesn’t have a built in way to do boot drive backups. You can other backup tools that are made for Debian and other Linux distros but that won’t be integrated with proxmox.
@@ElectronicsWizardry thanks so much, I hope that you’ll have a tutorial on this at some point, it is indeed annoying to start from scratch but I guess not a disaster, so it would be great if you can migrate the install as well and have much less down time 😅
@@drreality1 Maybe The Clonezilla project may be interesting for you. I used it to clone complete boot drives even really old Windows XP HDD's (used in a old CNC machine) to SSD.
@@hawkingoh yea that might be an option 😀 never tried it before
It`s crazy ...
"Migrate"
I will say it again:
Proxmox is great, but still lacks BASIC features to restore the configuration.
Having to manually change network files is NOT “Enterprise ready”!
Yea confit backup would be nice. It would be nice to have a ability to export all the vms configs. To be fair to Proxmox if you move drives between systems and have static IP or other network configurations specific to the nics you will need to set that up again on the new hardware. You often have to do this in the command line as if the network isn’t up you can’t use the web gui or the normal management page.
It definitely is. Enterprise doesn't mean GUI only lol
The recommended way is fresh install on the new server, duplicate the settings from the old server and then migrate the VMs over. The way he did in this video is perfectly fine if you know your way around Linux's command line. There might be a backup script available that actually copies the settings over and only thing you have to do is fix the network configuration. Either way the process isn't too hard to do.
the cluster and live migration obviates lots of this and why you may want to have more nodes or dual clusters - loth of business should have at a minimum a couple nas for HA and secure backups - things break so having redundancy and ha is vital and cheap insurance consider faster netfs and options - nfs/cepg/gluster/ocfs2/sshfs
Thanks a lot, very helpful !