create
******


Description
===========

Creates a new backup in the specified database based on the request
parameters you provide. If you previously used RMAN or dbcli to
configure backups and then you switch to using the Console or the API
for backups, a new backup configuration is created and associated with
your database. This means that you can no longer rely on your
previously configured unmanaged backups to work.


Usage
=====

   oci db backup create [OPTIONS]


Options
=======


--database-id [text]
--------------------

The OCID of the database. [required]


--display-name [text]
---------------------

The user-friendly name for the backup. It does not have to be unique.
[required]


--wait-for-state [CREATING|ACTIVE|DELETING|DELETED|FAILED|RESTORING]
--------------------------------------------------------------------

This operation creates, modifies or deletes a resource that has a
defined lifecycle state. Specify this option to perform the action and
then wait until the resource reaches a given lifecycle state.


--max-wait-seconds [integer]
----------------------------

The maximum time to wait for the resource to reach the lifecycle state
defined by --wait-for-state. Defaults to 1200 seconds.


--wait-interval-seconds [integer]
---------------------------------

Check every --wait-interval-seconds to see whether the resource to see
if it has reached the lifecycle state defined by --wait-for-state.
Defaults to 30 seconds.


--from-json [text]
------------------

Provide input to this command as a JSON document from a file.

Options can still be provided on the command line. If an option exists
in both the JSON document and the command line then the command line
specified value will be used


-?, -h, --help
--------------

Show this message and exit.
