Update instance backup settings
PUT/api/backup_settings
Validates and saves the backup remote URL, SSH key path, and auto-push schedule. When the backup URL is being changed to a new, non-empty value, it also probes the remote to confirm it is an empty repository before saving, since this instance's history is pushed into it.
Request
Responses
- 200
- 400
- 422
Successful Response
Backup URL is not a valid SSH URL, no backup URL was set while enabling scheduled backups, the auto-push interval is out of range, no SSH key is available to check the remote, or the remote repository is not empty (or could not be checked)
Validation Error