How To Install Proxmox Backup Server on Your Synology NAS (Easier Than It Looks)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey there everyone thank you so much for being here and thank you so much for watching I have recently switched my home lab from VMware to proxmox for various reasons and I have used to rely on sy's active backup for business to backup VMS to my NES and since this app doesn't at least yet support proxmox I will show you how to install proxmox backup server as a VM on your cenez now you don't have to do it and you can just mount an NFS share for example and backup to it but using using sorry proxmox backup server gives you a lot of advantages for example D duplication you can actually save space using prox MOX backup server another major advantage for me is being able to do file level restores instead of being or instead of having to restore an entire VM and grabbing files from it there are a lot of other advantages but these are the two that I have found most impactful so without any further Ado let's go over to the the computer and start [Music] working all right guys we are at the computer and just before we get started a few things I want to say the first is that this process might look a bit more difficult than it really is don't get discouraged just follow along and you will get it it really it really isn't that difficult trust me second thing in order to get to my desired end result I used and cross referenced several information sources online I am a big believer in giving credit to people when they deserve it so every information Source I've used will be linked in the description of this video these guys made a tremendous work they shared it with the community and they should get credit and I'm happy to give it the last thing throughout this video I might instead of saying prox Mo backup server I will say just PBS in order to get to to get my life a bit easier in this video so enough intro let's get started all right so if you're installing proxo backup server I understand it you probably don't have a problem getting to the ISO file just open up your favorite web search provider search for prox MOX backup server the first result will take you right here download the ISO here it is prox Mo backup server download the iso and then upload it to a a shared folder on your Cy NZ of course I've already done it so if if that's the case let's go to our Cy NES and we launch our virtual machine manager go to Virtual Machine and create a Linux virtual machine click on next next let's name our virtual machine PBS demo give it two CPUs and maybe 4 gigs of RAM click on next let's give our virtual machine operating system Drive 32 gigs of of Storage Vero space Reclamation that's great click on next at this point I'm still not let's say not worrying about the Data Drive not just yet you decide what network you want this virtual machine to reside in and of course Vero will be the model of our Nick click okay that's great click on next now select the iso of the prox MOX backup server that you've downloaded and here is mine change it to ufi auto start as you see fit I'm choosing L State click on next next power on the virtual machine after creation because why not and done and at this point we have completed our iso download and our virtual machine creation so that's a great milestone in this process let's go ahead and wait for a virtual machine to really come online because we will launch the actual installation process let's try to click on connect and indeed that's our installation wizard let's select graphical click on enter all right let's click on agree to the Ula select our storage drive we don't have any other option let's select EX 64 because that's good enough for us click on next select a password that will be the password to the default root account so make sure you hold on to this password let's select a valid email address sure now you should choose a static IP address for your proxmox backup server now for me that will be 182 16815 make sure your gateways right and your DNS servers according to your network settings for me these are exactly the settings that I would like the virtual machine to have so let's click on next and automatically reboot that's checkbox by default that's great click on install and we are launching the the actual proxmox backup server operating system on our virtual machine I'm going to pause the recording right here and I'm going to resume it once this process is complete all right guys so the installation is complete and and the virtual machine is now rebooting and at this point it's a good thing for me to mention you're probably asking yourself all right so the the installation completed and now you're going to launch the web interface what are you going to do about the data disc the the actual space backups are going to be stored on well there's two options for us actually to choose from first option is to just shut down the virtual machine add another hard drive in the capacity that you wish and then configure the hard drive in PBS and it will be the much easier Choice the disadvantage is is that the backups that you're going to create on this hard drive are not going to be visible or browsable in Synology DSM so what I'm going to do the route I'm going to take here is I'm going to actually create a data dis by mounting an NFS share that's actually a shared folder on myology NZ it's a bit harder to configure compared to the first option but the big Advantage here is that the the backups that I'm going to create are going to be browsable in Synology DSM and of course if something happens to my PBS server I can just spin up a new virtual machine Mount the NFS again and the backups are just usable on the new server so that's the route I'm going to take and actually the virtual machine is already launched so it's time to browse to our web interface let's open up a new tab and type the IP address that we have given during the setup wizard so that's our IP address sorry I forgot that it needs to be colon 807 and of course https and let's click on Advanced and continue so the username we are going to log in with is root and the password is the password that you have specified in the setup process all right let's click on login and we can just see that our actually our installation was successful because we do have the web interface so what I would do right now is just launch the shell and I'm going to start to lay the bricks for NFS Mount and actually all the commands that I'm going to type are also going to be mentioned in the description of this video so the First Command will be making a directory onto which we will Mount our shared folder and now we are going to do CH own for the user that we are going to create in our PBS and we are going to do some permissive permissions on this directory now I know that the the the second thing that I want to do is also in the Shell but this will require a reboot after afterwards so this is why I doing I'm doing this step now I'm going to to launch a script made by someone called I think Tek if I'm pronouncing if I'm pronouncing it correctly and of course link to his website is going to be in the description of this video this guy created amazing scripts for proxmox and also proxmox backup server thinks that it would take you about 30 or 40 minutes of manual grun work this guy is doing automatically I do recommend that you launch this script it does wonders so this is the script again the command will be in the description of this video I'm going to start so click on yes change the service sources yes disable PBS Enterprise repository again we don't have a subscription so yes enable no subscription Repository indeed this do you want to add the PB test repository I'm choosing to not disable the subscription egg oh yes and of course okay do you want to update prox Mox and I do recommend that you do all right so we have launched the script this will take according to the amount of of updates the the server needs to to install this can take anywhere from 2 3 4 minutes to 10 15 minutes just be patient it's not it's not stuck it's working give it time I'm going to pause the recording right here and I'm going to resume it once the script has finished all right so the script is complete and during the script process we've updated our PBS so do we want to reboot again very recommended so click on yes yes while the server is rebooting we'll go to our Synology DSM because we do want to create a shared folder to hold our backup data we are going to mount this folder via NFS now I already have a shared folder I want to use but if you do not and you want to create one you'll do it in the control panel shared folder and create new I already have a shared folder so I'm going to use that the most important thing that you need to configure on your shared folder on your Cy NZ is NFS permissions if you have nothing here then you will click on create I already have some permissions so let me click on edit mine host name or IP this will be either individual host that you want to be able to connect or mount to the NFS to the sharefolder Via NFS I have specified the subnet of my management villan everything else just leave as default the only thing that I recommend that you do change is to checkbox is to check this checkbox Sor allow users to access mounted sub folders because in my specific case I'm actually going to mount to a sub folder on my shared folder if you're not going to do it like that that don't then don't worry about it all right so in our shared folder if we'll go to file station this is my shared folder I'll create create a new folder let's call it PBS demo and I'm going to actually Mount directly to this shared folder now at this point I believe that our PBS server has already finished its reboot process and indeed it it's back online so the next thing we are going to do is we are going to go back to our shell and we are going to type a command to actually Mount the shared folder we have created to our Linux operating system and of course the command I'm using is going to be listed in the description of this video just change the IP address or the location of your the names of your shared folder as you see fit this is the IP address of my signology NZ volume one is or is my data volume proxmox is the name of the shared folder and PBS demo is the name of the sub folder now this is case sensitive keep that in mind so I'm going to click enter next command will tell the Linux operating system to actually go ahead and mount the VIR the the shared folder according to the command that we have typed before four that's great this command will reboot or sorry reload the demon services and even though we already launched this command the CH mode command I find that as a safety measure to launch it again after the mount has been done and now it's time to create a local user user account on our PBS server and this account will be used to actually add the PBS server to our proxmox virtual hosts now in in the in the previous commands one of our previous commands sorry I'm going to type it again without launching it we have we have done CH on to a user backup colon backup this is exactly the name of the user account I now going to create in PBS so we'll go into Access Control user management add and username will be backup realm we don't have any other realm password give your user a password but the username must be identical to the username in the command that I've showed you before and click on ADD and now that we have our user ready we'll need to give this user permissions so that it will be able to do stuff on our PBS server so we'll go to permissions click on add user permissions path will be I'm choosing the the slash because I do want these permissions to be on entire server I know that I can narrow it down to data store I'm aware for me this this sometimes caused an issue I don't know why I'm doing it from the top level user will be backup PBS and the role will be data store admin and I do want to propagate to every other all the data stores sorry let's click on ADD so we got our user account and we gave it permission s and now we can go and actually add our data store which is in in reality a shared folder mounted with vi vi NFS so in data store click on add data store name let's call it Synology NFS backing path will actually be the folder that we have created in the beginning of of this video mn/ senology everything else prune options everything else I'm not even going to touch here I'm going to make my settings on the backup job itself let's click on add this can take anywhere from 2 3 minutes because it does create several subfolders and files all right so it's done and now actually we can click on our data store all right we can see that it's online so what we are able to do right now is actually go to our proxmox virtual hosts and add this PBS that we have just [Music] installed as a backup Source all right the way we do it is in our data center view we'll go to storage add prox MO backup server ID let's call it PBS demo server will be the IP address of the virtual machine of our PBS virtual machine username will go with backup at PBS password is the password that we gave this user account data store will be sorry C Synology NFS it needs to be exactly the same name as we gave our data store and while we while we're here we'll go to dashboard show fingerprint and copy because the next thing we will need to to give is the fingerprint so let's paste it here and click on ADD and just like that we have added our PBS demo to our proxmox hosts and just like that we can now start creating backup jobs to our PBS demo instance the way we do it is we go to on our data center view to backup and we'll actually create a backup a backup job to verify let's click on add storage select our PBS demo schedule let's select something I'm going to delete it afterwards let's select our hm machine that's my home assistant actually retention I'm going to keep I'm going to keep last five click on Create and now just to make sure I want to start to back up my virtual machine but one more thing that I would like to do just before that is good measure I'm going to go to my PBS Administration and reboot all right guys so the virtual machine has came back online and I just now realized that there's a step I forgot to do before launching the T the TCH script sorry if we'll go to our back to our virtual machine manager we can see that our virtual machine is running but we don't have the Synology virtual machine guess tools installed so we'll launch back our PBS web interface and go to the Shell and type this command and click enter and yes and if this command doesn't work for you before launching the T the tte script sorry definitely try to launch it after it will work all right so this will take just a minute or two I am going to reboot the PBS one more time after that and then we'll start to to do our backup job all right so the script is finished the sorry the command is finished and I've rebooted my PBS and the way I can tell if it worked or not if I'll go go back to my Synology DSM in my virtual machine manager now I see the IP address of my PBS demo this means that the guest tools are working all right so let's go to our sorry let's go to our virtual to our prox MOX virtual hosts we've created a backup job and now let's try to run it click on yes the backup has launched let's verify it is running and it is definitely running so instead of waiting let me launch let me close out of here and let me just show you with my real PBS not the PBS demo what's the difference between regular NFS mounts and backing up to regular NFS mounts and using PBS as your backup mechanism if I'll go to the backups folder right here I can see backups I have already taken of virtual machines and let's select a virtual machine for example we see that we have file restore instead of just virtual machine restore and if I'll click on file restore I will open up this plus button right here and these are actually the the real partitions on my virtual machine this ex this for example is the CRA dve this is the D drive and I can actually go and recover individual files from this virtual machine and I can for example select a file and download it directly to my computer and of course the the the the second option is to just restore the complete virtual machine now just as as comparison I do have myology NES mounted with a regular NFS Mount and I do have some backups on this on this Synology Mount but if I'll if I'll click one of the virtual machine backups I only have restore and show configuration I do not have file level restore so that's the actual difference and if I'll go and log in to my so-called production PBS even though it's not been alive all that long I can already see that I do get the duplication factor of 16 and this will continue to grow the more backups I do to it so just by using PBS I'm saving space on my cenez so guys I hope you like this video video and I hope it really was not as difficult as it looks and I hope to see you all in my next video bye everyone take [Music] care
Info
Channel: Tech Me Out
Views: 6,625
Rating: undefined out of 5
Keywords: How To Install Proxmox Backup Server on Your Synology NAS, proxmox, proxmox backup server, proxmox ve, proxmox backup, proxmox guide, proxmox nas, install proxmox backup server, proxmox vs virtualbox, proxmox tutorial, linux, homelab, virtual machine, nas, proxmox backup server tutorial, backup, best hypervisor for nas, how to install proxmox on nas, nas hypervisor, proxmox 2023, proxmox container, proxmox containers, proxmox nas guide, install pbs, linux operating system
Id: m4xEvN2wkj0
Channel Id: undefined
Length: 25min 22sec (1522 seconds)
Published: Sat Feb 03 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.