backups: do backup rotation ourselves instead of relying on zfs-auto-snapshot
This commit is contained in:
parent
b6eb12ed90
commit
c9054a243a
7 changed files with 169 additions and 13 deletions
3
bundles/backup-server/files/sudoers
Normal file
3
bundles/backup-server/files/sudoers
Normal file
|
@ -0,0 +1,3 @@
|
|||
% for username, nodename in sorted(clients.items()):
|
||||
${username} ALL=NOPASSWD:/usr/local/bin/rotate-single-backup-client ${nodename}
|
||||
% endfor
|
Loading…
Add table
Add a link
Reference in a new issue