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