How to Backup Proxmox VM's to a Synology NAS (Tutorial)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this tutorial we're going to take a look at how you can back up proxmox virtual machines to a synology nas now we're going to be utilizing nfs so for that reason the first thing that we have to do is actually configure nfs on our synology nas and then we're going to move over to proxmox before we get started i just want to mention that i have full written instructions in the description of the video so the first thing that you're going to do is open up the control panel and then select file services and then nfs you can then select enable nfs service and then apply the maximum nfs protocol can stay as nfs v3 so everything should stay as default and then as long as it's applied you can move on to the next section where you're going to have to actually pull up a shared folder which is where you're gonna want your proxmox data to be written to so for me i already created a shared folder named proxmox but if you don't know how to do that i'll leave a pop-up now that'll show you how but you're just going to navigate to that folder and then you can select edit and then you're going to have to select nfs permissions inside of that from there you can select create and then we're going to have to create the nfs rule that's going to allow our proxmox server to read and write to our synology nas so the first thing that you're going to do is enter in the ip address of your proxmox server here so proxmox should already have a static ip address but if it doesn't make sure that you go and set that up but you're in essence just saying that this ip address will have access to this folder so underneath that you can leave the privileges as read write everything else can stay as default and you just want to make sure that you select the allow users to access mounted subfolders option and then you can save once again this is just saying that this specific ip address will have access to this shared folder on our synology nas now that that's done you can head over to proxmox and then you're going to select data center and then storage what we're going to have to do here is add our nfs storage which is our synology nas so you can select add and then nfs and at the next screen you're going to have to enter in some of this information so you can enter in an id i'm just going to set mine as synology nas storage and then you're going to have to set the ip address of your synology nest so once again same thing is true as before you have to make sure that you have a static ip address for your synology nas if you don't have one i'll leave a link in the description that will show you how but just make sure that you enter in the ip address of your synology nas underneath that you're going to see export and when you select that drop down list you should be able to see the proxmox folder that we had on our synology nas underneath that then you're just going to select all the options that you can and then you can go through and you can add this now at this point proxbox can read and write to and from our synology s so we're now ready to actually back up our virtual machines so there's two different ways that you can back up your virtual machines you can individually do it or you can go through and set up an automated schedule we're going to take a look at both of those options here but we're going to start with backing up an individual virtual machine so you can select the virtual machine on the left hand side and then you can select backup from there in the top right you're going to see that the storage is set as local and we're gonna have to change that to our synology nas storage this is just saying that at this point in time we should read and write to that folder you can then select backup now in the top left corner and then you're gonna have to select a mode and compression and then you can select backup and this is going to go through and it's going to back up this virtual machine to your synology nas now based on the size of that virtual machine it might take some time so be patient but when it's done you'll actually be able to go through and restore from this backup if you ever need it to now that's a manual backup you can run these as often as you want and you should run it you know for the most part as soon as you set up your virtual machine or it's configured the way you want it to be but the next thing that we're going to do is take a look at automatic backups now automatic backups will automatically back up your virtual machines to your synology nas based on a certain schedule so in the top left corner you're going to select data center and then backup and then you can select add and what we're going to be doing here is we're going to be adding a backup schedule for the most part so the first thing that you have to do is ensure that you select your synology nas storage and then you can go through and specify a schedule for when you want your virtual machines to backup underneath that you can change the selection mode and this is just going to be whatever virtual machines you want to back up so i only have one on this test server and this is what i'm going to be backing up but on the right hand side you can determine if you want an email when the backups are done and then you can also specify the compression and the mode change any retention policies that you want and then you can go through and you can create this rule and like i said earlier this is just going to back up all these virtual machines based on the schedule and the retention policy that you specified in an automated way so that you can go through and you can restore from these backups if you ever need to so the last thing that we're going to take a look at is actually restoring a virtual machine so it's great to have a backup but it's also important to ensure that that backup is actually working so what we're going to do is we're going to actually restore our backup so before this video i went through and i created a backup i just basically created a bunch of test files inside of my home directory so that we'll be able to restore from those but you'll see here that i actually don't have anything listed so what we're going to do is we're going to shut down this virtual machine and then we're going to select the backup tab in the top right corner we're going to select our synology nas storage location and then you're going to have to select the snapshot that you'd like to restore from now in this list you might have multiple so you're going to have to select the exact date and time that you want to restore from but after that you can then select restore and it's going to bring up a quick pop-up and all this for the most part can stay as default and then you can select restore now it's going to take a little while to fully restore but when it's done this virtual machine will be back to that specific point in time that you restored from so keep in mind that you're really restoring to a point in time when you take a backup you're backing up at that point in time and when you restore you're restoring from that point in time all this information is being backed up to our synology nas and being restored from arsenology nas now on the synology nas side you can actually go through and you can set up snapshots you can set up backup tasks so if you want to backup these virtual machines to a cloud location using something like hyper backup you can do that as well you have a lot of flexibility here and for the most part since the data is actually living on the synology nas you can really go through and configure some pretty powerful things now one other thing that i wanted to quickly point out is after we set up the nfs storage on proxmox you'll see that we selected a bunch of the different options there and that's just in essence saying what proxmox can use this nfs storage for so in this tutorial we just really looked at how to backup and restore from that but you can actually use that nfs storage for various things so a good example is just storing all of your iso images for your virtual machines on your synology nas so at that point it's not local to your proxmox server it's all stored on your synology nas and it just allows you to go through and it allows you to install from those isos if you ever needed to you can actually store full virtual machines on that nfs storage as well now you probably don't want to do this unless your networking allows for it because the performance is going to be pretty terrible but this is really just the highlight that you can do various things with that nfs storage you don't only have to use it for backups but backups and iso images are probably what makes the most sense so i'm hoping that this video helped you guys out if you have any questions feel free to leave them in the comments if you liked the video give it a thumbs up and please consider subscribing to the channel thanks guys
Info
Channel: WunderTech
Views: 16,142
Rating: undefined out of 5
Keywords: backup proxmox to synology, synology proxmox backup
Id: ZSBcZSC6fJI
Channel Id: undefined
Length: 8min 7sec (487 seconds)
Published: Thu May 05 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.