diff --git a/scripts/backup b/scripts/backup index f131305..2eaa6b2 100644 --- a/scripts/backup +++ b/scripts/backup @@ -37,8 +37,6 @@ ynh_print_info --message="Declaring files to be backed up..." #================================================= ynh_backup --src_path="$final_path" -ynh_backup --src_path="/etc/vikunja/config.yml" -ynh_backup --src_path="/opt/vikunja" #================================================= # BACKUP THE NGINX CONFIGURATION diff --git a/scripts/restore b/scripts/restore index a5f7ea0..342c673 100644 --- a/scripts/restore +++ b/scripts/restore @@ -64,12 +64,7 @@ ynh_restore_file --origin_path="$final_path" chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" - -ynh_restore_file --origin_path="/etc/vikunja/config.yml" - -ynh_restore_file --origin_path="/opt/vikunja" -chmod +x "/opt/vikunja/vikunja" -chown -R $app:www-data "/opt/vikunja/files" +chmod +x "$final_path/vikunja" #================================================= # REINSTALL DEPENDENCIES