try to fix backup

This commit is contained in:
ghose 2024-11-10 09:21:14 +01:00
parent 9021b38261
commit f22f0f3b7d

View file

@ -10,21 +10,21 @@ ynh_print_info "Declaring files to be backed up..."
# BACKUP THE APP MAIN DIR # BACKUP THE APP MAIN DIR
#================================================= #=================================================
ynh_backup --src_path="$install_dir" ynh_backup "$install_dir"
#================================================= #=================================================
# SYSTEM CONFIGURATION # 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 # 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 # END OF SCRIPT