Disabling and Re-enabling Scheduled Backups
You can disable and re-enable regularly scheduled backups of a database deployment.
You can disable and re-enable scheduled backups by generating a file containing the current settings, editing the file, and then using the file to update the backup settings. To generate a configuration file with the current backup settings and use it to update the settings:
-
Connect as the
opcuser to a compute node that is associated with the database deployment.For detailed instructions, see Connecting to a Compute Node Through Secure Shell (SSH).
-
Start a root-user command shell:
$ sudo -s # -
Enter the
bkup_apicommand to generate a file containing the current backup settings:# /var/opt/oracle/bkup_api/bkup_api get config [--file=filename] --dbname=dbnamewhere
filenameis an optional parameter used to specify a name for the file that will be generated anddbnameis the database name for the database that you want to act on. -
Edit the
bkup_cron_entryparameter in the generated file to disable or re-enable scheduled backups. -
Enter this
bkup_apicommand to update the backup settings using the file you generated:# /var/opt/oracle/bkup_api/bkup_api set config --file=filename --dbname=dbnamewhere
filenameis used to specify the name of the file that contains the updated backup settings anddbnameis the database name for the database that you want to act on. -
You can use this
bkup_apicommand to check the status of the update:# /var/opt/oracle/bkup_api/bkup_api configure_status -
Exit the root-user command shell:
# exit $