Sync last backup

jmjosebest

Renowned Member
Jan 16, 2009
192
39
93
Hello, I have a PBS server and I have 6 backups for each VM.

I recently installed a new PBS which I am synchronizing.

However, I'd like to synchronize only the latest backup from the original PBS, instead of all 6.

Is this possible?

Thank you!
 
yes, set the "transfer-last" option on the sync job.
 
  • Like
Reactions: jmjosebest
Hi,
yes, you can use the --transfer-last option for the sync job (advanced options in the UI) or for a one-shot proxmox-backup-manager pull command (if you don't want to create a job):
Code:
Limit transfer to last N snapshots (per group), skipping others
 
  • Like
Reactions: jmjosebest
Do I understand right, that "transfer last" still syncs the first full backup ever made and all increment data to perform a full restore of each N snapshot on the destination side?
 
there is no full backup on the PBS side - each snapshot references all chunks it needs.
 
I guess I understood it right but let me ask different:
Transfer last syncs all chunks even from the very beginning of the backup retention which are needed to be able to create the last snapshot?
 
transfer-last will sync all chunks needed for the snapshots it creates on the target side, just like any other sync.
 
  • Like
Reactions: Darkk