Dokploy
Generated

Backup

POST
/backup.create

Backup create

/backup.create

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

schedule
Required
string

enabledboolean | null

prefix
Required
string

Minimum length: 1

destinationId
Required
string

keepLatestCountnumber | null

database
Required
string

Minimum length: 1

mariadbIdstring | null

mysqlIdstring | null

postgresIdstring | null

mongoIdstring | null

databaseType
Required
string

Value in: "postgres" | "mariadb" | "mysql" | "mongo" | "web-server"

userIdstring | null

backupTypestring

Value in: "database" | "compose"

composeIdstring | null

serviceNamestring | null

metadatanull

curl -X POST "https://your-dokploy-instance.com/api/backup.create" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "schedule": "string",
    "enabled": true,
    "prefix": "string",
    "destinationId": "string",
    "keepLatestCount": 0,
    "database": "string",
    "mariadbId": "string",
    "mysqlId": "string",
    "postgresId": "string",
    "mongoId": "string",
    "databaseType": "postgres",
    "userId": "string",
    "backupType": "database",
    "composeId": "string",
    "serviceName": "string",
    "metadata": null
  }'

Successful response

{}

GET
/backup.one

Backup one

/backup.one

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Query Parameters

backupId
Required
string

curl -X GET "https://your-dokploy-instance.com/api/backup.one?backupId=string" \
  -H "Authorization: <token>"

Successful response

{}

POST
/backup.update

Backup update

/backup.update

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

schedule
Required
string

enabledboolean | null

prefix
Required
string

Minimum length: 1

backupId
Required
string

destinationId
Required
string

database
Required
string

Minimum length: 1

keepLatestCountnumber | null

serviceName
Required
string | null

metadatanull

databaseType
Required
string

Value in: "postgres" | "mariadb" | "mysql" | "mongo" | "web-server"
curl -X POST "https://your-dokploy-instance.com/api/backup.update" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "schedule": "string",
    "enabled": true,
    "prefix": "string",
    "backupId": "string",
    "destinationId": "string",
    "database": "string",
    "keepLatestCount": 0,
    "serviceName": "string",
    "metadata": null,
    "databaseType": "postgres"
  }'

Successful response

{}

POST
/backup.remove

Backup remove

/backup.remove

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

backupId
Required
string

curl -X POST "https://your-dokploy-instance.com/api/backup.remove" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "backupId": "string"
  }'

Successful response

{}

POST
/backup.manualBackupPostgres

Backup manual Backup Postgres

/backup.manualBackupPostgres

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

backupId
Required
string

curl -X POST "https://your-dokploy-instance.com/api/backup.manualBackupPostgres" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "backupId": "string"
  }'

Successful response

{}

POST
/backup.manualBackupMySql

Backup manual Backup My Sql

/backup.manualBackupMySql

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

backupId
Required
string

curl -X POST "https://your-dokploy-instance.com/api/backup.manualBackupMySql" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "backupId": "string"
  }'

Successful response

{}

POST
/backup.manualBackupMariadb

Backup manual Backup Mariadb

/backup.manualBackupMariadb

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

backupId
Required
string

curl -X POST "https://your-dokploy-instance.com/api/backup.manualBackupMariadb" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "backupId": "string"
  }'

Successful response

{}

POST
/backup.manualBackupCompose

Backup manual Backup Compose

/backup.manualBackupCompose

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

backupId
Required
string

curl -X POST "https://your-dokploy-instance.com/api/backup.manualBackupCompose" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "backupId": "string"
  }'

Successful response

{}

POST
/backup.manualBackupMongo

Backup manual Backup Mongo

/backup.manualBackupMongo

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

backupId
Required
string

curl -X POST "https://your-dokploy-instance.com/api/backup.manualBackupMongo" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "backupId": "string"
  }'

Successful response

{}

POST
/backup.manualBackupWebServer

Backup manual Backup Web Server

/backup.manualBackupWebServer

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Request Body

application/jsonRequired

backupId
Required
string

curl -X POST "https://your-dokploy-instance.com/api/backup.manualBackupWebServer" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "backupId": "string"
  }'

Successful response

{}

GET
/backup.listBackupFiles

Backup list Backup Files

/backup.listBackupFiles

The Authorization access token

Authorization

Authorization<token>

API key authentication using Authorization header

In: header

Query Parameters

destinationId
Required
string

search
Required
string

serverIdstring

curl -X GET "https://your-dokploy-instance.com/api/backup.listBackupFiles?destinationId=string&search=string&serverId=string" \
  -H "Authorization: <token>"

Successful response

{}