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

preview_player
Показать описание
How To Install Proxmox Backup Server on Your Synology NAS from start to finish. With Proxmox Backup Server as visrtual machine on your Synology NAS you get a really small footprint virtual machine that doesnt consume a lot of resources and you get a lot more features than just doing a regular NFS mount.

In this How To Install Proxmox Backup Server on Your Synology NAS video you will see that it is actually not too difficult to install the proxmox backup server operating system on a virtual machine on your Synology NAS and then add a data disk in the form on an NFS mount to shared folder on your Synology NAS. doing it this way will make your backup data visible and browsable on your Synolgoy DSM.

When you Install Proxmox Backup Server on Your Synology NAS you do have the option to just ann additional hard drive to your proxmox backup server virtual machine and that drive serve as your data disk, its easier to perform but doing it this way will make your backups invisible in Synology DSM. So its definitely your choice on which path your going to go. I do recommend using the NFS mount option.

In this How To Install Proxmox Backup Server on Your Synology NAS video you will also see how to go about restoring data when using proxmox backup server and how the option to restore individual files and folder is avaialble for you unlike when using regular NFS mounts to a Synolgoy shared folder.

To get to my desired end result i have used several online information sources and the are listed here:

Commands used in this video:

Post install script:
apt install qemu-guest-agent

Folder creation:
mkdir /mnt/synology
chown backup:backup /mnt/synology
chmod 775 /mnt/synology

Mount via NFS:
(since the command itself contains angled brackets that are not allowed by YouTube, the command will be shared without them. Watch the video and pause it to understand where to add them, its right before the /etc/fstab part of the command)

echo "192.168.20.4:/volume1/Proxmox/pbs /mnt/synology nfs vers=4,nouser,atime,auto,retrans=2,rw,dev,exec 0 0" (add 2 angled brackets here) /etc/fstab

*if the command fails make sure you have enabled NFS v4 on your Synology NAS

mount -a

systemctl daemon-reload

chmod 775 /mnt/synology

To enable NFS on Synology NAS devices follow this:

Music: Morning Thoughts by Hotham is licensed under a Creative Commons License.
Featured playlist

#proxmox #backup #synology
Рекомендации по теме
Комментарии
Автор

Mount NFS command (copy & paste): echo /mnt/synology nfs vers=4, nouser, atime, auto, retrans=2, rw, dev, exec 0 0" >> /etc/fstab

TechMeOut
Автор

This is an absolutely awesome video for anyone using Proxmox. I really have to implement this - just backing up my VMs to an NFS share right now but this (with the mounted NFS drive) is so much better!

WunderTechTutorials
Автор

This worked perfectly for me! After I set up my PVE nodes, I was looking at the PBS as possibly a more robust backup solution for the entire nodes and running it as a VM on my Synology was a great idea. Usually it seems like I miss one thing that I have to go back and start from scratch to get things ironed out, but this worked the first time and it's busy backing up right now. Thank you for posting this great content!

ArnieHolder
Автор

Thank you for an excellent, step-by-step walkthrough of PBS integration with Synology and Proxmox. I can confirm these steps worked on my test environment. Great Job, and thanks again for sharing!!

peterjaypriest
Автор

For some reason I needed to remove the "vers=4" otherwise it would not mount. Thanks for the great tutorial.

JoelFabiani
Автор

I was looking to do this a year ago but found no guide like to pull it off! I love it and can't wait to implement this. I didn't know PBS had file level restore! I LOVE IT! :) Another great thing is the read only synology snapshots you can do on proxmox share so you are protected from ransomware etc :)

jenniferw
Автор

Good job man, it's also a great idea to optimize everything! Thanks again! I'm waiting for the next optimization!

zippi
Автор

Excellent video Avi! Thanks for sharing.

QuikTechSolutions
Автор

Great video, and easy to follow as you say. I've run PBS on a physical box for some time. When installing it on Synology, after reboot, I can't open the VM and login at the console. There is no login prompt at all. Is that something that the script did or is there an oddity that PBS is propagating because its on a virtual machine? Of course I can login through the Web portal and everything works fine, but if something went wrong, I'd have to dig into this issue to figure out how to login without the web console.

scotpatti
Автор

There is an error when creating the Datastore at 17:28 where /mny/synology should be /mnt/synology

HemantVallabh
Автор

I tested this fstab procedure in the past (same guide) but for some reason. It started writing on the PBS allocated disk. Not sure why that happened ?

jenswymeersch
Автор

@TechMeOut5 i have a mounting the NFS share. so i have created the NFS share on the synology (identical to yours), and them mounted it in fstab, however after manual mounting (and rebooting PBS), i can't see any of the contents of the NFS share in PBS. i suspect this is a permissions issue but not sure where specifically. does there need to be a corresponding "backup" user on the NAS itself?

i usually mount shared folders from the NAS using CIFS (which i have done on the main PVE), and that works fine, but i haven't used NFS before.

chenks
Автор

The synology capacity is seen 27, 57gb and afterthat 8.61 tb what happened there? it's also seen for me like virtual hdd capacity, what happening 17:59

okanerdem
Автор

Hi again, I watched the whole video again and I have a question: at minute 18:00 I see that the total space of your Synology-NFS is 27.57 GB... is this normal?
I mean I was expecting a few TB as it resides on your Synology NAS right?
Is the value correct?

zippi
Автор

Hi, this video is awesome and this is exactely what I need.
Unfortunately after PBS install, laucnh of the VMS is stucked at disk clean step (files/blocks).
I tried to install a previous version of PBS but that does not solve issue.
I see that this may be due to Linux kernel. (maybe also due to some parameters in Bios?)
Sole difference I see with you might be DMS version, I am under 20240116 7.2.1-69057 release 4 (still the latest as of today). Also NAS mode: DS920+.
Any idea/suggestion?

ericlecoutre