/loaddataRestore SFTPGo data from a JSON backup
Restores SFTPGo data and configuration from a JSON backup in the request body. Use scan-quota to control quota scanning and mode to choose how imported objects affect existing data. Objects are restored one at a time, so a failure can stop the operation after a partial restore.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
JSON backup data to restore. The body can include the data collections and configuration objects listed below.
A 400 is returned when the backup or query values are invalid. A 401 is returned when authentication is missing or invalid. A 403 is returned when the authenticated user is not permitted to restore data. A 500 is returned when the server encounters an error during restoration. The scan-quota query parameter must be 0, 1, or 2, and the mode query parameter must be 0, 1, or 2.