[SOLVED] Why not delete backup VM with synchronisation on second server PBS

mr_hassan60

Member
Sep 29, 2022
6
0
6
Hello,

I'm students on IT engineer.

I want understand, when i delete backup VM on server my first server Proxmox Backup and on my second Proxmox Backup synchronise with my first server Proxmox Backups. My backup VM delete is not delete on my second server Proxmox Backup with synchronisation.

Why Reason ?

Exemple :

PBS Server 1 : I delete Backup VM manually
PBS Server 2 : the synchronisation not delete backup VM (but delete on PBS Server 1)

PS : Sorry for the English mistakes I'm not good at.

Best Regard,
Mr_Hassan60
 
There is a "Remove vanished" Checkbox when creating a sync job which will tell PBS to remove backups when they got deleted on the other PBS.

But there are cases where you don't want that. Lets for example say your local PBS got hit by ransomware and that ransomware encrypts the backups so your local backups are lost. The offsite PBS pulls the backups from the local PBS. In case the offsite PBS won't just also delete backups deleted on the local PBS, but its using its own prune/GC jobs, you still would have working backups on the remote PBS. Or maybe you just delete the wrong backup by accident.
So not a bad idea if the offsite PBS is storing the backups a bit longer, no matter if they got locally deleted or not.
 
Last edited:
Ok, Thank for response and resolve my problem and i know why disable Remove vanished.

Best Regard,
Mr_Hassan60