From 2acbe63b41482d9ed366215183d0e88b0a331444 Mon Sep 17 00:00:00 2001 From: asandikci Date: Sat, 13 Jan 2024 01:12:07 +0300 Subject: [PATCH] fix backup issues --- scripts/backup | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/backup b/scripts/backup index 010f6c5..4607f25 100755 --- a/scripts/backup +++ b/scripts/backup @@ -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