Skip to main content

Backing up Proxmox Virtual Environment to Synology NAS

This article goes trough setting up NFS connection between Synology and PVE Database. Although using Proxmox Backup Server is better for keeping more backups using deduplication, verification and pruning options, having additional backup job directly from PVE instance can increase redundancy in case of PBS failure.

Having Proxmox Virtual Environment and Synology NAS up and running are pre requisite for this setup.

 

Setting up NFS connection on Synology

  1. Open the Control Panel on Synology DSM and select File Services then NFS
  2. Select Enable NFS service and then Apply. (NFSv3 is still a safe, but selecting latest protocol is always a good idea)

image.png

  1. Select Shared Folder in Control Panel, then Create new or Edit the folder where you’d like your Proxmox data to be stored
  2. Select NFS Permissions
    1. IP: put the IP address of Proxmox machine
    2. Privilege: Leave it Read/Write so pve can access backups when needed
    3. Squash: Set to No Mapping
    4. Select Allow users to access mounted subfolders
  3. Click Save

image.png

Make sure Synology Firewall is configured to allow Proxmox IP address to access Synology via NFS. Also, on Unifi router settings ensure that there is a rule set to allow access.

 

Proxmox  Storage Configuration

  1. Login to Proxmox Virtual Environment
  2. Select Datacenter then Storage
  3. Select Add then NFS

image.png

  1. At the NFS screen
    1. Create an ID
    2. IP Address of your Synology NAS server
    3. In the Export drop-down menu, the location of your Proxmox folder should automatically appear (If not, there is problem with Synology Firewall or Router Firewall)
    4. In the Content drop-down, select ALL entries. You can then select Add

image.png

Proxmox should now show the Synology NAS Storage that we created above

image.png

 

Setting up Backup Job

We can now backup individual machines or create a backup job