Scheduling OCI Database with PostgreSQL Backups
Schedule automatic backups of an OCI Database with PostgreSQL.
Use the database's management policy to enable automatic, scheduled backups of a database. The management policy lets you specify the backup frequency, run time, and the retention period of the backups.
Use the
oci psql db-system update
command and the--management-policy
parameter to update the management policy of a database:oci psql db-system update --db-system-id <database_OCID> --management-policy <file://management-policy-details.json>[OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the UpdateDbSystem operation with the
managementPolicy
attribute to update the management policy of the database.For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.