1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/diaspora_ynh.git synced 2024-09-03 18:26:13 +02:00

Add ynh_print_info for DB backup

This commit is contained in:
ericgaspar 2020-12-20 17:45:47 +01:00
parent e54d6277f9
commit 0fdb415c45
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -34,6 +34,7 @@ mkdir -p $final_path/backup
#================================================= #=================================================
# BACKUP DIASPORA DATABASE # BACKUP DIASPORA DATABASE
#================================================= #=================================================
ynh_print_info --message="Backup Diaspora DB..."
db_pass=$(ynh_app_setting_get --app=$app --key=psqlpwd) db_pass=$(ynh_app_setting_get --app=$app --key=psqlpwd)
dump_file="$final_path/backup/$app.dump" dump_file="$final_path/backup/$app.dump"