mirror of
https://github.com/donl/vzpbackup.git
synced 2026-06-30 06:11:58 -06:00
fixup for 39b3f5a40c
This commit is contained in:
parent
15095e5c67
commit
8fa124161b
1 changed files with 1 additions and 1 deletions
|
|
@ -72,6 +72,6 @@ fi
|
|||
|
||||
nice -n19 ionice -c3 rsync -avz -e "ssh -c arcfour" --{bwlimit=50000,ignore-times,delete-before,inplace,progress} $RSYNC_OPTS --exclude="????.??.??" --exclude="/vz/"{dump,lock,root,vztmp}"/*" /vz $DESTINATION
|
||||
|
||||
if [ "$1" = "--full" ]; then
|
||||
if [ "$FULL_BACKUP" = "yes" ]; then
|
||||
ssh $( echo $DESTINATION | cut -d\: -f1 ) "find $( echo $DESTINATION | cut -d\: -f2 )/* -maxdepth 0 -iname '????.??.??' | head -n -$KEEP_COUNT | xargs rm -rf"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue