Backup to NAS Synology

simrsta

Member
Oct 25, 2022
35
1
13
hi everyone
I want to ask the best way to backup to a Synology Nas

Is there a way to back up to a Synology Nas but only back up the latest data, not back up from the beginning?

because backing up data from the start takes a long time

and why sometimes the latest data from new backups is smaller than the previous day

1719285709470.png
 
No, what you want is deduplication, so the same date is not saved again, but reused from older backups. For that you can take a look at PBS[1]. But with a NAS alone what you are describing won't be possible.

[1] https://pbs.proxmox.com/docs/introduction.html
 
  • Like
Reactions: dubios
We've been running PBS at work inside an VM running on an DS1821+ pretty fine. The Storage inside PBS is just an NFS Share from the same DSM.

stats.png
 
PBS can run in a VM, the NAS is mounted on the PBS instance and used as a datastore, PBS does all the deduplication and integrates with PVE. The NAS is only the storage, nothing more.
 
  • Like
Reactions: Evertice and dubios
PBS can run in a VM, the NAS is mounted on the PBS instance and used as a datastore, PBS does all the deduplication and integrates with PVE. The NAS is only the storage, nothing more.

Though possible, but depending on your workload it could give a noticeable performance hit which is why we migrated our PBS from our Proxmox Cluster to a separate machine (DSM).
 
Alternative for backups (if you’re hosting Windows VMs) is using Active Backup for Business and install the agent on your VMs. With ABB you have control over retention and also the option for single file restore.
 
  • Like
Reactions: Leopold31
Hi at all,
I want to backup my VMs from Proxmox Host to a Synology NAS.
Active Backup for Business only supports VMware and Hyper-V at the moment.
Now I am searching for another way to backup my VMs.
With the Active Backup for Business Agent?
Or with Veeam Agent?
Or is there another way?
Regards Arthur
 
Hi at all,
I want to backup my VMs from Proxmox Host to a Synology NAS.
Active Backup for Business only supports VMware and Hyper-V at the moment.
Now I am searching for another way to backup my VMs.
With the Active Backup for Business Agent?
Or with Veeam Agent?
Or is there another way?
Regards Arthur
Create an NFS share in Synology, mount it to Proxmox using the gui and just set your backups to use the NFS drive. Go to Datacenter -> Storage -> Add -> NFS and fill in your applicable details
 
  • Like
Reactions: spooner
Correct, PBS comes in handy if you need to manage the backups for more than a couple servers.
Actually this isn't correct either. PBS is useful if you need deduplication, which NFS can't provide or if you want to back up the actual Proxmox host and not just the VMs and CTs. But you can back up as many servers as you want with NFS. NFS, like PBS, is only limited by the capability of your infrastructure.
 
  • Like
Reactions: spooner
I have recently had to setup a new PVE and implement a good backup option
So I have a PVE in a datacentee with 3 servers
I have a DS1821+ at home on a 1gig up/down line
I have installed PBS on the Synology as a new linux VM following a guide , Create a NFS share with the permissions of the IP to the PVE server
Then on the PVE side, setup and mount the NFS share via the home public IP then added the NFS to Storage
1755350902425.png
Now the backups are setup in PVE to use this storage
1755350932903.png
PBS handles the rest and performs deduplication saving a tonne of space
There are a load of tutorials to follow, and once setup it will all make sense.
I have learnt so much this past week
 
Then on the PVE side, setup and mount the NFS share via the home public IP then added the NFS to Storage
You did not state it explicitly, so I have to ask:

The NFS server is at your $HOME. With a public IP? Reachable by all attackers? Probably you've established some kind of VPN, right?

To satisfy my own curiosity: what latency (in both directions) does the connection have? I am on "classic DSL" and both the crazy build-in asymmetry and high latency basically forbids this kind of use case for me :-(
 
Hi, good point to clarify,

Latency is between 8 to 10ms both ways which is pretty good,

I have a firewall on both PVE and my home network and only allow traffic from the PVE to my NAS
I never open anything public on my NAS anymore after I got stung with a nasty bad actor who exploited a bug in the NAS admin login page on a previous NAS version (2 bay) They encrypted all my stuff, learnt a huge lesson from that.

1755353763662.png
 
Last edited:
  • Like
Reactions: Johannes S and UdoB