mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-01-24 13:40:17 +00:00
Excludes reference, in case it is also located, to keep it.
This commit is contained in:
@@ -15,7 +15,7 @@ else
|
|||||||
TYPE=full
|
TYPE=full
|
||||||
rm -f $BACKUPS/*.snapshot
|
rm -f $BACKUPS/*.snapshot
|
||||||
# Remove dumps and the previous backup if there is another one.
|
# Remove dumps and the previous backup if there is another one.
|
||||||
find $BACKUPS -name "*tgz" ! -newer $LEVEL0 -exec rm {} \;
|
find $BACKUPS -name "*tgz" ! -newer $LEVEL0 ! -wholename $LEVEL0 -exec rm {} \;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
nice tar -cz \
|
nice tar -cz \
|
||||||
|
|||||||
Reference in New Issue
Block a user