Backups

Import a ClickHouse backup file

Changed on

Downloads a backup file from a URL into a clickhouse database, so you can restore it. Follow it with GET /v2/databases/{databaseID}/operations-status. Team permission: operate or manage.

post/v1/databases/{databaseID}/clickhouse-bak

Request

  • Base URL
    https://api.liara.ir
  • URL
    https://api.liara.ir/v1/databases/{databaseID}/clickhouse-bak
  • Auth
    HTTP bearer

Path parameters

databaseIDstring required

24-character hexadecimal ID.

The database's _id.

Query parameters

teamIDstring

24-character hexadecimal ID.

Run the request in the context of a team you belong to, instead of your personal account.

Request body

urlstring uri required

An http or https URL the file can be downloaded from.

Response

The import started. The response body is empty.

Changes