Skip to main content
GET
Get Policy

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string
required

The organization's id (UUID) or slug — either form is accepted.

projectId
string
required

The project's id (UUID) or slug — either form is accepted.

databaseId
string
required

Response

Backup policy.

pitrDays
integer
required

Continuous point-in-time recovery window. Defaults to 14 days.

dailyDays
integer
required

Daily recovery-point retention. Defaults to 30 days.

weeklyWeeks
integer
required

Weekly recovery-point retention. Defaults to 12 weeks.

monthlyMonths
integer
required

Monthly recovery-point retention. Defaults to 12 months.

destinationIds
string[]
required

Optional additional customer-managed copies.

copyRegions
enum<string>[]
required

Additional managed disaster-recovery snapshots requesting best-effort placement near each selected area. Area hints are not data-residency guarantees. The primary managed repository requests Western North America.

Maximum array length: 5
Available options:
enam,
weur,
eeur,
apac,
oc