mirror of
https://github.com/YunoHost-Apps/wekan_ynh.git
synced 2024-09-03 20:36:09 +02:00
Reduce verbosity
This commit is contained in:
parent
dbaec48ea9
commit
0b92e8c584
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_print_info --message="Backing up the MongoDB database..."
|
ynh_print_info --message="Backing up the MongoDB database..."
|
||||||
|
|
||||||
mongodump --db "$db_name" -o "./dump" >/dev/null
|
mongodump --db="$db_name" --out="./dump" --quiet
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC BACKUP
|
# SPECIFIC BACKUP
|
||||||
|
|
|
@ -103,7 +103,7 @@ ynh_print_info --message="Restoring the MongoDB database..."
|
||||||
# Start mongodb
|
# Start mongodb
|
||||||
systemctl enable $mongodb_servicename
|
systemctl enable $mongodb_servicename
|
||||||
systemctl start $mongodb_servicename
|
systemctl start $mongodb_servicename
|
||||||
mongorestore --db $db_name ./dump/$db_name >/dev/null
|
mongorestore --db="$db_name" --archive="./dump/$db_name" --quiet
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RESTORE SYSTEMD
|
# RESTORE SYSTEMD
|
||||||
|
|
Loading…
Add table
Reference in a new issue