Skip to content
Snippets Groups Projects
Verified Commit 380e5d34 authored by David Beniamine's avatar David Beniamine
Browse files

More restrictive cleanup

parent fc5aa4a7
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ exit_on_fail(){
retrie_on_fail(){
if [ $1 -ne 0 ]; then
backup "cleaned"
run_duplicity remove-all-inc-of-but-n-full 1 --force
run_duplicity remove-all-inc-of-but-n-full $(($BK_KEEP_FULL-1)) --force
leave $?
fi
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment