Automate protection flags in PBS?

AraToken

Member
Jul 8, 2021
43
5
13
Hi!
quick question regarding backup protection inside the PBS: Is there a way to automatically schedule that a specific amount of backups will be marked with the protection flag automatically (for example "set the 2 most recent backups as protected" and automatically set/remove the flag when new backups are created)? I only found the option to limit the amount of protected backups per user.

Thank you in advance!
 
No, but you could script that yourself with the scripting lanuage of your choice using VZDump hook scripts and the PBS API.
 
Last edited:
  • Like
Reactions: AraToken