Pre-seeding PBS with existing Restic backups to avoid full WAN re-upload on first backup

Blinkiz

Renowned Member
Jan 23, 2010
34
1
73
Stockholm Sweden
I'm migrating file backups from Restic to Proxmox Backup Server. Infrastructure:
  • Backup source – remote host in a second datacenter (WAN link)
  • Restic server + PBS – co-located in the same primary datacenter
My plan
  1. Install proxmox-backup-client on the Restic server.
  2. Mount the existing Restic backup volume locally.
  3. Run the PBS client on the Restic server to push a seeding backup to PBS, over LAN, targeting the exact same datastore + namespace + backup group that the real backup source will use later.
  4. The real backup source then runs its first backup over WAN against PBS.
The question

From reading the technical docs and this recent forum thread, I understand that client-side deduplication only kicks in when there is a previous snapshot in the same datastore + namespace + backup group. If the seeding snapshot is in place, the WAN client should be able to download the chunk list from it and only upload genuinely new or changed chunks.

Is this correct and are there any additional gotchas I should be aware of? For example:
  • Does the change detection mode (legacy vs metadata) used during seeding need to match what the real client will use?
  • Does file path structure matter? My Restic mount may have a different path layout than the real backup source. In legacy mode I suspect a path difference would break chunk alignment across the entire pxar stream. Is metadata mode more resilient to this since payload and metadata are separate?
  • Does backup group ownership need to be updated after seeding so the real client can read the previous snapshot's chunk list?
 
May I ask why you migrate in the first place? You can restore a restic backup without a running rest-server while a backup in PBS always need a running PBS. It's easy to use a PBS as target for restic too ( via rest-server or a dedicated ssh user) so you can still have all backups on the same machine
 
I know otherwise you wouldn't have asked in the first place ;) I just want to know why because imho PBS is best for vm/lxc backzups but not so much for file backups since you need a running PBS for restore. For the stuff on my notebook I want to access the backups even if somehow my PBS setup breaks
 
  • Like
Reactions: UdoB