Skip to content
Dymini Panel
v0.14.0
Menu
You are reading the docs of v0.14.0.Go to the latest version

Backups

On this page

S3 destinations, backup jobs, runs, and restores

List backup jobs

GET/api/v1/backup-jobs

Responses

  • 200 List backup jobsBackupJobView[]
    • bandwidth_limit_bpsinteger | null (int64)
    • compressionstringrequired
    • compression_levelinteger (int32)required
    • consistencyanyrequired
    • created_atstring (date-time)required
    • destination_idsstring (uuid)[]required
    • enabledbooleanrequired
    • encryptedbooleanrequired
    • filename_templatestringrequired
    • idstring (uuid)required
    • last_run_atstring | null (date-time)
    • last_statusstring | null
    • namestringrequired
    • next_run_atstring | null (date-time)
    • notify_on_successbooleanrequired
    • path_prefixstringrequired
    • retentionanyrequired
    • retriesinteger (int32)required
    • schedule_cronstring | null
    • server_idstring | null (uuid)
    • service_idstring | null (uuid)
    • target_kindstringrequired
    • target_specanyrequired
    • timeout_secsinteger (int32)required
    • timezonestringrequired
    • tool_optionsanyrequired
    • verify_after_uploadbooleanrequired

Create a backup job

POST/api/v1/backup-jobs

Request bodyapplication/json

SaveBackupJob

  • bandwidth_limit_bpsinteger | null (int64)
  • compressionstring | null
  • compression_levelinteger | null (int32)
  • consistencyobject | null
  • destination_idsstring (uuid)[]
  • enabledboolean | null
  • encryption_passphrasestring | null

    Client-side encryption passphrase. Empty string removes encryption.

  • filename_templatestring | null
  • namestring | null
  • notify_on_successboolean | null
  • path_prefixstring | null
  • retentionobject | null
  • retriesinteger | null (int32)
  • schedule_cronstring | null

    Five-field cron or a preset such as @daily. Empty string clears it.

  • server_idstring | null (uuid)
  • service_idstring | null (uuid)
  • target_kindstring | null

    database, volume, bind, or path.

  • target_specany

    {"volume": "name"}, {"source": "/bind/source"}, or {"path": "/host/path"}.

  • timeout_secsinteger | null (int32)
  • timezonestring | null
  • tool_optionsobject | null
  • verify_after_uploadboolean | null

Responses

  • 201 Create a backup jobBackupJobView
    • bandwidth_limit_bpsinteger | null (int64)
    • compressionstringrequired
    • compression_levelinteger (int32)required
    • consistencyanyrequired
    • created_atstring (date-time)required
    • destination_idsstring (uuid)[]required
    • enabledbooleanrequired
    • encryptedbooleanrequired
    • filename_templatestringrequired
    • idstring (uuid)required
    • last_run_atstring | null (date-time)
    • last_statusstring | null
    • namestringrequired
    • next_run_atstring | null (date-time)
    • notify_on_successbooleanrequired
    • path_prefixstringrequired
    • retentionanyrequired
    • retriesinteger (int32)required
    • schedule_cronstring | null
    • server_idstring | null (uuid)
    • service_idstring | null (uuid)
    • target_kindstringrequired
    • target_specanyrequired
    • timeout_secsinteger (int32)required
    • timezonestringrequired
    • tool_optionsanyrequired
    • verify_after_uploadbooleanrequired

Get a backup job

GET/api/v1/backup-jobs/{id}

Responses

  • 200 Get a backup jobBackupJobView
    • bandwidth_limit_bpsinteger | null (int64)
    • compressionstringrequired
    • compression_levelinteger (int32)required
    • consistencyanyrequired
    • created_atstring (date-time)required
    • destination_idsstring (uuid)[]required
    • enabledbooleanrequired
    • encryptedbooleanrequired
    • filename_templatestringrequired
    • idstring (uuid)required
    • last_run_atstring | null (date-time)
    • last_statusstring | null
    • namestringrequired
    • next_run_atstring | null (date-time)
    • notify_on_successbooleanrequired
    • path_prefixstringrequired
    • retentionanyrequired
    • retriesinteger (int32)required
    • schedule_cronstring | null
    • server_idstring | null (uuid)
    • service_idstring | null (uuid)
    • target_kindstringrequired
    • target_specanyrequired
    • timeout_secsinteger (int32)required
    • timezonestringrequired
    • tool_optionsanyrequired
    • verify_after_uploadbooleanrequired

Update a backup job

PATCH/api/v1/backup-jobs/{id}

Request bodyapplication/json

SaveBackupJob

  • bandwidth_limit_bpsinteger | null (int64)
  • compressionstring | null
  • compression_levelinteger | null (int32)
  • consistencyobject | null
  • destination_idsstring (uuid)[]
  • enabledboolean | null
  • encryption_passphrasestring | null

    Client-side encryption passphrase. Empty string removes encryption.

  • filename_templatestring | null
  • namestring | null
  • notify_on_successboolean | null
  • path_prefixstring | null
  • retentionobject | null
  • retriesinteger | null (int32)
  • schedule_cronstring | null

    Five-field cron or a preset such as @daily. Empty string clears it.

  • server_idstring | null (uuid)
  • service_idstring | null (uuid)
  • target_kindstring | null

    database, volume, bind, or path.

  • target_specany

    {"volume": "name"}, {"source": "/bind/source"}, or {"path": "/host/path"}.

  • timeout_secsinteger | null (int32)
  • timezonestring | null
  • tool_optionsobject | null
  • verify_after_uploadboolean | null

Responses

  • 200 Update a backup jobBackupJobView
    • bandwidth_limit_bpsinteger | null (int64)
    • compressionstringrequired
    • compression_levelinteger (int32)required
    • consistencyanyrequired
    • created_atstring (date-time)required
    • destination_idsstring (uuid)[]required
    • enabledbooleanrequired
    • encryptedbooleanrequired
    • filename_templatestringrequired
    • idstring (uuid)required
    • last_run_atstring | null (date-time)
    • last_statusstring | null
    • namestringrequired
    • next_run_atstring | null (date-time)
    • notify_on_successbooleanrequired
    • path_prefixstringrequired
    • retentionanyrequired
    • retriesinteger (int32)required
    • schedule_cronstring | null
    • server_idstring | null (uuid)
    • service_idstring | null (uuid)
    • target_kindstringrequired
    • target_specanyrequired
    • timeout_secsinteger (int32)required
    • timezonestringrequired
    • tool_optionsanyrequired
    • verify_after_uploadbooleanrequired

Delete a backup job

DELETE/api/v1/backup-jobs/{id}

Responses

  • 204 Delete a backup job

Back up now

POST/api/v1/backup-jobs/{id}/run

Responses

  • 202 Back up nowRunAccepted
    • run_idstring (uuid)required

Backup and restore history

GET/api/v1/backup-jobs/{id}/runs

Responses

  • 200 Backup and restore historyBackupRunView[]
    • checksumstring | null
    • destination_idsstring (uuid)[]required
    • duration_msinteger | null (int64)
    • errorstring | null
    • finished_atstring | null (date-time)
    • idstring (uuid)required
    • job_idstring (uuid)required
    • kindstringrequired
    • logsstringrequired
    • metaanyrequired
    • object_keysstring[]required
    • size_bytesinteger | null (int64)
    • started_atstring (date-time)required
    • statusstringrequired
    • triggerstringrequired

Schedule presets

GET/api/v1/backup-presets

Responses

  • 200 Schedule presets

Get a run with logs

GET/api/v1/backup-runs/{id}

Responses

  • 200 Get a run with logsBackupRunView
    • checksumstring | null
    • destination_idsstring (uuid)[]required
    • duration_msinteger | null (int64)
    • errorstring | null
    • finished_atstring | null (date-time)
    • idstring (uuid)required
    • job_idstring (uuid)required
    • kindstringrequired
    • logsstringrequired
    • metaanyrequired
    • object_keysstring[]required
    • size_bytesinteger | null (int64)
    • started_atstring (date-time)required
    • statusstringrequired
    • triggerstringrequired

Download the stored backup object (admin)

GET/api/v1/backup-runs/{id}/download

Responses

  • 200 Download the stored backup object (admin)

Restore a backup

POST/api/v1/backup-runs/{id}/restore

Request bodyapplication/json

RestoreRequest

  • target_pathstring | null

    Host path for bind and path backups. Defaults to the original path.

  • target_service_idstring | null (uuid)

    Database or service to restore into. Defaults to the job's service.

  • target_volumestring | null

    Volume name for volume backups. Defaults to the original volume.

Responses

  • 202 Restore a backupRunAccepted
    • run_idstring (uuid)required

Recent system events

GET/api/v1/events

Responses

  • 200 Recent system eventsEventView[]
    • created_atstring (date-time)required
    • delivered_atstring | null (date-time)
    • idinteger (int64)required
    • kindstringrequired
    • messagestringrequired
    • payloadanyrequired
    • server_idstring | null (uuid)
    • service_idstring | null (uuid)
    • severitystringrequired
    • titlestringrequired

Stop, safety-backup and restore plugin data; check health and roll back on failure

POST/api/v1/plugin-installs/{id}/restore

Request bodyapplication/json

PluginRestore

  • run_idstring (uuid)required

Responses

  • 202 Stop, safety-backup and restore plugin data; check health and roll back on failurePluginInstall
    • access_bypass_pathsstring[]required
    • access_enabledbooleanrequired
    • backup_job_idstring | null (uuid)
    • created_atstring (date-time)required
    • environment_idstring (uuid)required
    • environment_namestringrequired
    • idstring (uuid)required
    • imagestringrequired
    • installed_versionstringrequired
    • last_errorstring | null
    • latest_versionstring | null
    • pending_releasesPluginRelease[]required
      PluginRelease[]
      • html_urlstring | null
      • imagestringrequired
      • notesstringrequired
      • published_atstring | null
      • versionstringrequired
    • pluginstringrequired
    • safety_run_idstring | null (uuid)
    • server_idstring (uuid)required
    • server_namestringrequired
    • service_idstring (uuid)required
    • service_namestringrequired
    • statusstringrequired
    • update_availablebooleanrequired
    • updated_atstring (date-time)required

List S3 destinations

GET/api/v1/s3-destinations

Responses

  • 200 List S3 destinationsDestinationView[]
    • access_key_hintstringrequired

      Last four characters of the access key id.

    • bucketstringrequired
    • created_atstring (date-time)required
    • endpointstring | null
    • idstring (uuid)required
    • namestringrequired
    • path_stylebooleanrequired
    • regionstringrequired

Create an S3 destination

POST/api/v1/s3-destinations

Request bodyapplication/json

SaveDestination

  • access_key_idstring | null
  • bucketstringrequired
  • endpointstring | null
  • namestringrequired
  • path_styleboolean | null
  • regionstring | null
  • secret_access_keystring | null

Responses

  • 201 Create an S3 destinationDestinationView
    • access_key_hintstringrequired

      Last four characters of the access key id.

    • bucketstringrequired
    • created_atstring (date-time)required
    • endpointstring | null
    • idstring (uuid)required
    • namestringrequired
    • path_stylebooleanrequired
    • regionstringrequired

Update an S3 destination

PUT/api/v1/s3-destinations/{id}

Request bodyapplication/json

SaveDestination

  • access_key_idstring | null
  • bucketstringrequired
  • endpointstring | null
  • namestringrequired
  • path_styleboolean | null
  • regionstring | null
  • secret_access_keystring | null

Responses

  • 200 Update an S3 destinationDestinationView
    • access_key_hintstringrequired

      Last four characters of the access key id.

    • bucketstringrequired
    • created_atstring (date-time)required
    • endpointstring | null
    • idstring (uuid)required
    • namestringrequired
    • path_stylebooleanrequired
    • regionstringrequired

Delete an unused S3 destination

DELETE/api/v1/s3-destinations/{id}

Responses

  • 204 Delete an unused S3 destination

Test an S3 destination

POST/api/v1/s3-destinations/{id}/test

Responses

  • 200 Test an S3 destinationTestResult
    • messagestringrequired
    • okbooleanrequired

List managed panel backup jobs and remote copies (limit 1-200 runs)

GET/api/v1/system/panel-backups

Responses

  • 200 List managed panel backup jobs and remote copies (limit 1-200 runs)PanelBackupInventory
    • healthPanelBackupHealthrequired
      PanelBackupHealth
      • age_secondsinteger | null (int64)
      • configuredbooleanrequired
      • failing_streakinteger (int64)required
      • last_successstring | null (date-time)
      • stalebooleanrequired
      • warningstring | null
    • jobsPanelBackupConfig[]required
      PanelBackupConfig[]
      • destination_idsstring (uuid)[]required
      • enabledbooleanrequired
      • encryptedbooleanrequired
      • idstring (uuid)required
      • includes_historybooleanrequired
      • namestringrequired
      • retentionanyrequired
      • schedule_cronstring | null
      • target_kindstringrequired
      • timezonestringrequired
    • objectsPanelBackupObject[]required
      PanelBackupObject[]
      • created_atstring (date-time)required
      • destination_idstring (uuid)required
      • encryptedbooleanrequired
      • job_idstring (uuid)required
      • keystringrequired
      • manifestany
      • presencestringrequired
      • run_idstring (uuid)required
      • size_bytesinteger | null (int64)
      • verificationPanelBackupVerification | null
        PanelBackupVerification | null

        One of:

        • PanelBackupVerification
          • errorstring | null
          • finished_atstring | null (date-time)
          • manifestany
          • started_atstring (date-time)required
          • statusstringrequired
        • null
      • versionstring | null

Check scheduled full-panel backup freshness and failing streak

GET/api/v1/system/panel-backups/health

Responses

  • 200 Check scheduled full-panel backup freshness and failing streakPanelBackupHealth
    • age_secondsinteger | null (int64)
    • configuredbooleanrequired
    • failing_streakinteger (int64)required
    • last_successstring | null (date-time)
    • stalebooleanrequired
    • warningstring | null

Delete only the selected panel backup destination copy

DELETE/api/v1/system/panel-backups/{id}/copies/{destination}

Responses

  • 204 Delete only the selected panel backup destination copy

Download the selected panel backup copy (encrypted archive)

GET/api/v1/system/panel-backups/{id}/copies/{destination}/download

Responses

  • 200 Download the selected panel backup copy (encrypted archive)

Verify a destination copy without executing SQL or changing live data

POST/api/v1/system/panel-backups/{id}/verify

Request bodyapplication/json

VerifyPanelBackup

  • destination_idstring (uuid)required

Responses

  • 202 Verify a destination copy without executing SQL or changing live dataPanelBackupVerification
    • errorstring | null
    • finished_atstring | null (date-time)
    • manifestany
    • started_atstring (date-time)required
    • statusstringrequired