mirror of
https://github.com/deajan/obackup.git
synced 2025-02-06 03:13:49 +01:00
Fixed typo in Rotate function
This commit is contained in:
parent
3835dfc0ec
commit
6bddcea759
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
###### Remote (or local) backup script for files & databases
|
###### Remote (or local) backup script for files & databases
|
||||||
###### (L) 2013 by Ozy de Jong (www.badministrateur.com)
|
###### (L) 2013 by Ozy de Jong (www.badministrateur.com)
|
||||||
OBACKUP_VERSION=1.83
|
OBACKUP_VERSION=1.84
|
||||||
OBACKUP_BUILD=2306201301
|
OBACKUP_BUILD=2306201301
|
||||||
|
|
||||||
DEBUG=no
|
DEBUG=no
|
||||||
@ -917,7 +917,7 @@ function RotateBackups
|
|||||||
then
|
then
|
||||||
cp -R "$1/$backup" "$1/$backup.obackup.1"
|
cp -R "$1/$backup" "$1/$backup.obackup.1"
|
||||||
else
|
else
|
||||||
mv "$1/backup" "$1/$backup.obackup.1"
|
mv "$1/$backup" "$1/$backup.obackup.1"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user