Creates or replaces the backup schedule for a workspace.

POST /controller/v4/v2/workgroups/{workgroupID}/workspaces/{workspaceID}/backups/schedule

Authorizations

x-api-key string header required

Authorization for TigerGraph Savanna. Send the key in the x-api-key request header.

Create an API key

Path parameters

# workspaceID string path required

Workspace ID

# workgroupID string path required

Workgroup ID

Body

# max_backup_files integer

Maximum number of backups to keep.

# max_reserved_days integer

Number of days a backup is kept before it is removed.

# max_retry integer

Number of times a failed backup is retried.

# pause boolean

Whether the schedule is paused.

# schedule string required

Cron expression that sets when the backup runs.

Response

application/json
# Error boolean

Indicates whether the request returned an error.

# ErrorDetails object[]

Details about each error returned by the request.

Show child attributes Hide child attributes
FieldNamestring

Field associated with the error.

Reasonstring

Explanation of why the error occurred.

Typestring

Category of the error.

Available options: Internal-Error, Bad-Request, Not-Found, Forbidden, Unauthorized, API-Disabled, Quota-Exceed, Unknown

# Message string

Human-readable summary of the request result.

# RequestID string

Unique identifier for tracing the request.

# Result object

Payload returned by the request.