mirror of
https://github.com/YunoHost-Apps/fittrackee_ynh.git
synced 2024-09-03 18:36:16 +02:00
Fix backup
This commit is contained in:
parent
5039100ef2
commit
744db2a70c
1 changed files with 7 additions and 0 deletions
|
@ -36,6 +36,13 @@ ynh_backup --src_path="/etc/systemd/system/${app}-server.service"
|
|||
ynh_backup --src_path="/etc/systemd/system/${app}-worker.service"
|
||||
ynh_backup --src_path="/etc/systemd/system/$app.target"
|
||||
|
||||
#=================================================
|
||||
# BACKUP THE POSTGRESQL DATABASE
|
||||
#=================================================
|
||||
ynh_print_info --message="Backing up the PostgreSQL database..."
|
||||
|
||||
ynh_psql_dump_db --database="$db_name" > db.sql
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue