From f22f0f3b7db6ac641a8def6569d2093101d5a73a Mon Sep 17 00:00:00 2001 From: ghose Date: Sun, 10 Nov 2024 09:21:14 +0100 Subject: [PATCH] try to fix backup --- scripts/backup | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/backup b/scripts/backup index 6f5cf3a..15ac742 100644 --- a/scripts/backup +++ b/scripts/backup @@ -10,21 +10,21 @@ ynh_print_info "Declaring files to be backed up..." # BACKUP THE APP MAIN DIR #================================================= -ynh_backup --src_path="$install_dir" +ynh_backup "$install_dir" #================================================= # SYSTEM CONFIGURATION #================================================= -ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" +ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf" -ynh_backup --src_path="/etc/logrotate.d/$app" +ynh_backup "/etc/logrotate.d/$app" #================================================= # BACKUP VARIOUS FILES #================================================= -ynh_backup --src_path="/var/log/$app/" # TODO: add an option to specify log file +ynh_backup "/var/log/$app/" # TODO: add an option to specify log file #================================================= # END OF SCRIPT