Skip to content
Permalink
Browse files

Backups now accessible on Docker

  • Loading branch information...
NEMS Linux
NEMS Linux committed Aug 26, 2019
1 parent dfe148f commit 16e4c2b49e64cba5be404ff12ad443d33b2f7e89
Showing with 4 additions and 4 deletions.
  1. +4 −4 backup.sh
@@ -89,9 +89,6 @@ else
echo Created backup folder at /var/www/html/backup/snapshot
fi

# If it is owned by root, user will not be able to open it in browser.
chown -R www-data:www-data /var/www/html/backup/snapshot

addpublic=''
addprivate=''

@@ -170,5 +167,8 @@ echo $FILESIZE > /var/www/html/backup/snapshot/size.log
mkdir /var/log/nems
echo $runtime > /var/log/nems/migrator-backup-runtime.log
fi


# If it is owned by root, user will not be able to open it in browser.
chown -R www-data:www-data /var/www/html/backup/snapshot

fi

0 comments on commit 16e4c2b

Please sign in to comment.
You can’t perform that action at this time.