Skip to content
Proud to collaborate with Microsoft for Startups

appdata.instance.backup ​

Dump the app's own Postgres instance (pg_dump -Fc on the host)

Take a logical dump of the app's own instance.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-appdata
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Authenticated organization UUID
identity_app_uuiduuidYes—Identity app the credential reads; must own an appdata namespace in this organization
request_idstringNo—Caller request id for audit correlation
actorstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
identity_app_uuiduuidYes——
backend_kindstringYes——
backup_namestringNo——
bytesintegerNo——
encryptedbooleanNo——
failure_reasonstringNo—Engine-stamped failure reason
failed_at_statestringNo—State when the workflow failed
failed_stepstringNo—Failed DAG step name
failed_layerintegerNo—Failed DAG layer index
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—completeBackup credential
completedNoYesYes—Credential backupd
failedNoYesNo—Backup failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

Outcomes ​

OutcomeTypeDescriptionState Data Keys
backed-upSUCCESSDump the app's own Postgres instance (pg_dump -Fc on the host)backup_name, bytes
failedFAILUREAppdata workflow failedfailure_reason

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "appdata.instance.backup",
  "initial_data": {
    "organization_uuid": "value",
    "identity_app_uuid": "value"
  }
}