mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Backup permissions
This commit is contained in:
parent
810ff86c63
commit
286809ace7
2 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ collections=(
|
|||
classifier_author
|
||||
classifier_feed
|
||||
classifier_title
|
||||
userstories
|
||||
starred_stories
|
||||
shared_stories
|
||||
category
|
||||
category_site
|
||||
|
@ -25,7 +25,7 @@ for collection in ${collections[@]}; do
|
|||
docker exec -it mongo mongodump --db newsblur --collection $collection -o /backup/backup_mongo_${now}
|
||||
done;
|
||||
|
||||
echo " ---> Compressing /srv/newsblur/backup/backup_mongo_${now}.tgz"
|
||||
echo " ---> Compressing backup_mongo_${now}.tgz"
|
||||
tar -zcf /opt/mongo/newsblur/backup/backup_mongo_${now}.tgz /opt/mongo/newsblur/backup/backup_mongo_${now}
|
||||
|
||||
echo " ---> Uploading backups to S3"
|
||||
|
|
0
utils/backups/backup_mongo.py
Normal file → Executable file
0
utils/backups/backup_mongo.py
Normal file → Executable file
Loading…
Add table
Reference in a new issue