diff --git a/Scripts/7D2D-Manage.bash b/Scripts/7D2D-Manage.bash index cae0a0f..ea09ca4 100644 --- a/Scripts/7D2D-Manage.bash +++ b/Scripts/7D2D-Manage.bash @@ -256,12 +256,7 @@ start_server() { printf "\n" >> "temp-serverconfig.xml" fi - local backups_dir - local backup_file - backups_dir="${server_directory}/Config-Backups" - backup_file="${backups_dir}/serverconfig.xml-$(date +%s)" - mkdir -p "${backups_dir}" - cp "${server_config}" "${backup_file}" + backup_configs "${server_directory}" mv "temp-serverconfig.xml" "${server_config}" log "info" "Starting $(important "${server_name}") located at $(important "${server_directory}") on port $(important "${server_port}")"