fix backup issues

This commit is contained in:
Aliberk Sandıkçı 2024-01-13 01:12:07 +03:00
parent 2e6f0c9683
commit 2acbe63b41
Signed by: asandikci
GPG Key ID: 25C67A03B5666BC1
1 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ ynh_backup --src_path="$install_dir"
#=================================================
# Only relevant if there is a "data_dir" resource for this app
ynh_backup --src_path="$data_dir" --is_big
# ynh_backup --src_path="$data_dir" --is_big
#=================================================
# BACKUP THE NGINX CONFIGURATION
@ -72,17 +72,17 @@ ynh_backup --src_path="/etc/systemd/system/$app.service"
ynh_backup --src_path="/etc/cron.d/$app"
ynh_backup --src_path="/etc/$app/"
# ynh_backup --src_path="/etc/$app/"
#=================================================
# BACKUP THE MYSQL DATABASE
#=================================================
ynh_print_info --message="Backing up the MySQL database..."
# ynh_print_info --message="Backing up the MySQL database..."
### (However, things like MySQL dumps *do* take some time to run, though the
### copy of the generated dump to the archive still happens later)
ynh_mysql_dump_db --database="$db_name" > db.sql
# ynh_mysql_dump_db --database="$db_name" > db.sql
#=================================================
# END OF SCRIPT