ProxMox - Migration, Backup, and Restoration Tutorial

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
I have a massive new server built on the docket for next week so make sure you subscribe so you don't miss my all-new Troon a score tutorial series but for today I need to move all my proxmox VMs to their new permanent home let's get started welcome back to you craft computing everyone and despite the haircut I swear I'm still Jeff C as I said in the intro next week I'm going to be building myself an all-new true Nass core server but first I need to play musical chairs with a lot of my existing hardware as my new true now score server is going to be using the motherboard and CPUs out of my existing proxmox server so my proxmox server is going to be moving over to my dell r76 10 which was formerly my cloud gaming server because I built myself an epic 32 core system which is going to be taking the place of my old proxmox server everyone got that good before we get started here's a quick recap of the hardware that's in my proxmox server right now and the hardware I'm going to be migrating over to it's running a Super Micro dual 2011 motherboard with a pair of xeon e5 26:58 core CPUs it's got 64 gigabytes of ddr3 1333 ECC memory and a pair of 480 gigabyte until enterprise SSDs meanwhile my Dell r76 10 is rocking a pair of xeon e5 2670 v 210 core CPUs so that's 20 cores and 40 threads in total 128 gigabytes of ddr3 1866 ECC memory and 4 yes for Intel 1.2 terabyte enterprise SSDs the reason I'm migrating proxmox to my Dell r76 10 is pretty simple number one I like the form factor of the r76 10 as it's only a 2-u server and my server rack is going to get a little bit more crowded here in the coming months moving all of my critical proxmox VMS to a 2-u server makes a lot of sense especially when I don't need a ton of storage for it and they were all SSDs anyway secondly this reason my dual socket Super Micro motherboard and allows me to put that into my new true nice build with a crap ton more memory and a little bit more processing power and my free now server certainly needs a hardware upgrade as it's currently running AZ 370 and an i3 8100 with 32 gigabytes of non-ecc memory lastly I did want to do a little bit with PCI Express pass-through and the Dell R 7610 has a lot more PCIe lanes available to it than my current proxmox setup so with all that said how do you migrate from one proxmox server to another now there are a couple different methods to migrate virtual machines between proxmox installs and I'm going to show you the quickest and simplest method that I found it involves backing up the virtual machine from one proxmox server and then restoring it on the other all that's required to get started is to install proxmox on your new server which by the way I have a great tutorial for right up here it is for version 5.4 of proxmox however the process is exactly the same as far as today's current version which is six point 2.4 so first off here is my existing proxmox server and over here in the second tab is my brand-new proxmox server on my dell are 7610 now I've already migrated the majority of my VMs because honestly the process just takes a little while and I didn't want to sit here while filming this video and wait for all of them to go however we are going to backup and then restore one of my VMs in this tutorial VM number 100 is my PI whole server and it is still running on my old hardware so let's go ahead and get it moved over to the new server first off we're gonna open up the console and we're going to power down this server next up on the PI whole server we're gonna go down to the backup tab which is very aptly named and we're gonna select backup now now by default proxmox will backup your virtual machine to whatever storage medium you have your VM installed on so if you have it installed on local storage it's also going to write your backup to local storage now in my case I do have a couple storage locations available to me I have my local storage on my proxmox server and I also have a CIFS share mounted on my FreeNAS box if you backup to your local storage you're still going to need a method to get the backup data off of your local server and into your new proxmox server vs. backing up to a network location you can simply mount the network location on your new proxmox server and restore directly for this video I'm going to go ahead and back up to local storage as I feel that's going to be what more people have for the mode we're going to select snapshot and then for compression we're gonna select l0 fast which is honestly the fastest way that I found to backup your server and go ahead and hit backup and if the speed is any indication this process still does take a little while so I'll see you after the break now that the backup is complete it is time to actually get the backup file off of our proxmox server and move it on to the new one now again that backup file is located on the existing proxmox server so we're going to use a program called winscp which is essentially an ssh program that gives us file browsing access connecting is pretty darn simple enter your host IP address username as root and then your password and click login by default this will drop you into your root home folder however that's not where our backups are kept so we're going to go up a level to the main system directory we're gonna scroll down to VAR we're gonna go to Li B and then scroll all the way down to V Z and this is the root directory of our local file system for proxmox backups are kept in the dump directory so if we open that up we can see our vm number 100 backups right here so these are our log files and there is our actual backup file over here on the left side of the screen is the local C Drive on well your computer or in this case my computer so I'm going to create a new directory here and we're gonna call it back up and inside of that is where we're gonna move our VM 100 backup luckily this part goes a little bit faster there we go now we're gonna connect to the new proxmox server via winscp and transfer this file over there so we can restore that backup so again here it started us out in the root home directory but we're gonna go to VAR li b scroll all the way down to the bottom to V Z and then open dump and we're gonna transfer this file over to the dump folder once the file transfer is complete you can go ahead and close out of winscp now we're gonna go ahead and jump on over to my new proxmox server and do basically the same exact process to restore that virtual machine so if we jump on over to proxmox server number 2 and we go down to our local storage and then click on content over in the right side of the screen you can see a brand-new backup file that was hae captured about an hour ago so if we click on that file and then go up to restore we're gonna restore this VM ID as number 100 again you can use pretty much whatever number you want there as long as it doesn't conflict with any of the other VMs that you're running and for your storage location I'm gonna select my local storage on this proxmox server but you can select whatever works for you and I'm gonna go ahead and hit restore now luckily the restore process goes much much faster as you can see this is how opening in real-time we're already about 30% of the way through once the window says task okay here at the bottom the job is done so we can go ahead and close that window and go on up to our brand-new VM number 100 which is my PI whole server now the really nice thing about the backup and restore functionality inside of proxmox is even when moving to a new host machine it actually restores all of your original settings so how many CPUs how much RAM how much storage it's all there and now all that's left to do is to start it up and if I go to the IP address of my PI whole server we can see that it is back up and running now I did mention that instead of using local storage and then having to winscp into your box and transfer your backup file from one server to another you could actually just save your backup file directly to a file server on your network so I'm going to show you what that looks like right now back over here on proxmox server number one I'm actually gonna click on the data center icon and then click on storage you can see right up here at the top I have my FreeNAS server mapped as a CIFS directory and the way I did that was by clicking add up here at the top and going down to a new CIFS connection the very first fillable field is for ID and this is what proxmox will display as the friendly name for your file share not necessarily the proper name of your file share so we're just going to name this craft FreeNAS under server you can do the hostname or IP address of your file server so in this case my IP address is 192 168 dot one dot 200 under username type in whatever username gets you access to the server as well as the password now the really cool thing about this proxmox menu is if you've entered all that information incorrectly under the shared drop-down you can just click on the name of the file share you want to connect to so in this case I have a proxmox directory already on my FreeNAS server now over here on the right hand side of the menu is an option called max backups and I've heard a little bit of confusion about this term over the years the max backups option is not the maximum number of backups your file server can hold it's the maximum number of backups it will keep per VM that you backup so if we only write one it will only backup each VM with one instance if I write something like 4 I can catch up to 4 different versions of a single backup file and when I add a fifth it will overwrite the oldest version and then down here under content we're going to make sure V Z dump backup file is selected to allow our file server to store backup files and then if I hadn't done so already I would click but as I've already configured mine I'm gonna click the X so now when I go to backup a virtual machine will go to piehole back up and back up now you can see my file share is now an option to store my backup files now this is the method that I chose to move all of my VMs from one proxmox server to another so if I go down to my craft - freenas file server and click on content you can see all of the backup files that I've captured right there and it's just as easy to restore them because I create the same connection on my new proxmox server go to content select a backup file and click restore now there is another method of transferring virtual machines from one proxmox server to another and that's by setting up a cluster however in my case since I'm simply decommissioning an old server and setting up a new one with new hardware don't set up a cluster as you'll end up with well a cluster that you have to clean up later don't worry I will be doing a tutorial on clustering at a later date so again make sure you subscribe so you don't miss that one and that's going to do it for today's video if you have any questions or comments about this process make sure to leave them down below and make sure to like this video and subscribe to craft computing on your way down there if you like the content you see on this channel consider joining my patreon link is down in the video description below it's what allows me to make content like this and as a perk you'll get exclusive access to my discord server where you can chat directly with myself and the other hosts from talking heads thank you guys so much for watching this one and as always I will see you in the next video I'd say Cheers but well that back up took 35 minutes bye beer for today is from free state beer it is their storm chaser IPA this American IPA is a lightning strike of citrus chased by a gust of tropical hop notes they give an ABV oh there it is six ish ABV for some reason the ABV is like on a scale I'm gonna guess five and a half or six cuz the X isn't quite on the six line I'm not sure how that's legal free state Brewing Company Lawrence Kansas a lightning strike of citrus well I can tell you this much there's almost no citrus on the nose of this and very little in the flavor - you can taste some hops kind of uh there on the back side of it I wouldn't call that a lightning strike of citrus it's a very earthy almost herbal like IPA it's good I mean don't get me wrong it's it's a good flavor but when I'm expecting a lightning strike of orange and guava and pineapple and I end up with a mouthful of like oregano and dirt just not quite what I was expecting yeah there's not a hint of tropical flavor in this very very weird that they try to make that a selling point and then just leave it out lightning strike of citrus chased by a gust of tropical hop notes Kansas what exactly do consider tropical South Texas maybe this is more of San Antonio than Caribbean so final thoughts it's it's not a bad beer at all it's a pretty solid IPA kind of kind of in a West Coast style you know I'd say more of like a early 2000s kind of kind of style you know the Sierra Nevada IPA the the stone West Coast IPA I have no idea what they were trying to do here but it obviously didn't work based on their description and that's ultimately where I will judge a beer is what did you think it will taste like versus what does it end up tasting like and there's no citrus in this there there's none of the traditional citrus notes that I could even fathom being in this beer it's a good beer but you lose points for well not delivering take it back it's just okay
Info
Channel: Craft Computing
Views: 110,172
Rating: undefined out of 5
Keywords: Proxmox, Proxmox migration, Proxmox backup, recover proxmox from backup, backup tutorial
Id: BkVi2vRB75Q
Channel Id: undefined
Length: 12min 47sec (767 seconds)
Published: Wed Jul 15 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.