Garbage Collection on synced targets necessary if "remove vanished" is checked? (EOM)

as i understand there's no 1:1 sync to a remote target (without processing the data afterwards) as known from "normal" backups (sync new files and delete old ones)?

so a sync copies the content (chunks) of (new) snaphots und without a garbage collection on remote it runs out of memory at a point in time?

which effect has a prune job on the source to followings sync jobs (to the target)?
 
Last edited:
so there's no 1:1 sync to a remote target?
Not sure if I understand your question, but if you have enabled the removed vanished flag for sync jobs, backup snapshots, groups and namespaces are removed from the target when no longer present on the source side. But since the remove snapshots might have referenced chunks on the target datastore, which are now not in use anymore, you will have to run a garbage collection on the target datastore to free these chunks.

Hope this makes it more clear.
 
ok. this is what i thougt...

but if I pruned snapshots on source (without gc) BEFORE sync is running they aren't synced to the target,right?
 
but if I pruned snapshots on source (without gc) BEFORE sync is running they aren't synced to the target,right?
No, the snapshots must exist on the source, otherwise they will not be synced. And the sync job will only ever transfer chunks indexed by one of the snapshots to sync, never unused or unrelated chunks. It is therefore independent from the garbage collection on the source.
 
one last (?) question:

in this case i never have to run a prune job on the target because the pruned snapshots are "deleted" by the sync job (respectively the gc afterwards on target)....
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!