Update backup.sh

This commit is contained in:
mirocow 2015-12-24 18:30:35 +04:00
parent 84da1b12c7
commit a0b772cc9c

View file

@ -261,6 +261,7 @@ DSTOLD=$BACKUP_DIR/$DATEOLD
if [ ! -d "$DST" ]; then
mkdir -p $DST;
chmod $DIRECTORYATTRIBUTES $DST;
chown $USER:$GROUP $DST;
fi
if [ -d "$DSTOLD" ]; then