jobs: prune old backups

This commit is contained in:
Michele Guerini Rocco 2022-10-18 00:08:58 +02:00
parent 06ec90577e
commit 4a5c599777
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -112,6 +112,10 @@ with lib;
bup index "$dir"
bup save -n postgresql "$dir" --strip-path=/tmp
echo done
echo pruning...
bup prune-older --keep-all-for 6m --keep-monthlies-for 2y --unsafe
echo done
'';
};