adjusted which and how long keeping snapshots
This commit is contained in:
parent
2b1f01c94f
commit
5099a7d2a2
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
source /opt/scripts/restic/restic.env
|
source /opt/scripts/restic/restic.env
|
||||||
|
|
||||||
restic forget --prune --keep-within 1m --host={{ ansible_hostname }}
|
restic forget --prune --keep-daily 7 --keep-weekly 4 --keep-monthly 6 --host={{ ansible_hostname }}
|
||||||
|
|
||||||
echo "done! :)"
|
echo "done! :)"
|
||||||
|
|
Loading…
Reference in a new issue