Update backup_db.sh

This commit is contained in:
mirocow 2015-12-24 18:30:52 +04:00
parent a0b772cc9c
commit 4c8fd7581b

View file

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