Move comment
This commit is contained in:
parent
e756386ff0
commit
614f143599
|
@ -42,10 +42,10 @@ tar -cz \
|
||||||
chown root:sudo $BACKUPS/$DATE*.tgz
|
chown root:sudo $BACKUPS/$DATE*.tgz
|
||||||
chmod 640 $BACKUPS/*.tgz
|
chmod 640 $BACKUPS/*.tgz
|
||||||
|
|
||||||
# Remove dumps and the previous backup once there is another.
|
|
||||||
if [ $TYPE = full ]
|
if [ $TYPE = full ]
|
||||||
then
|
then
|
||||||
cp $BACKUPS/full.snapshot $BACKUPS/incremental.snapshot
|
cp $BACKUPS/full.snapshot $BACKUPS/incremental.snapshot
|
||||||
|
# Remove dumps and the previous backup once there is another.
|
||||||
[ -e $LEVEL0 ] && rm $LEVEL0 $BACKUPS/*incremental.tgz
|
[ -e $LEVEL0 ] && rm $LEVEL0 $BACKUPS/*incremental.tgz
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue