Backing Up a Database System Manually
On-demand backups of an OCI Database with PostgreSQL database system can be created manually if needed.
You can also schedule automatic backups of the database system and create backup copies by using its management policy.
If an automatic backup policy is already enabled for the database, the Console displays the most recent backup and the next scheduled backup.
Use the
oci psql backup create
command and required parameters to create a backup:oci psql backup create --compartment-id <compartment_OCID> --db-system-id <db_system_OCID> --display-name <backup_display_name> [OPTIONS]
Use the
oci psql backup update
command and required parameters to update a backup:oci psql backup update --backup-id <backup_OCID>
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the CreateBackup operation to create a backup. Use UpdateBackup to update a backup.
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.