Scheduling OCI Database with PostgreSQL Backups
Schedule automatic backups of an OCI Database with PostgreSQL database system.
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.
When you schedule automated backups, you can also specify that copies of the backup are distributed to another region. You can use a backup that's been replicated to a second region to provision a database system if the primary database system is unavailable.
Use the
oci psql db-system updatecommand and the--management-policyparameter 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
managementPolicyattribute to update the management policy of the database.