run backup

Run Sharded Database (SDB) Backup Jobs.

Syntax

run backup [-tag tag] [-catpwd password] [-shard shard_list] [-async]

Options

Table 88 GDSCTL run backup Options

Syntax Description
-tag tag A name for the backup. If not provided, a unique tag is automatically generated for the backup. The size limit for tag is 30.
-catpwd password Password for user GSMCATUSER. Prompted if not specified. It needs to be specified once for the entire GDSCTL session.
-shard shard_list shard_list is a comma-separated list of shard identifiers. They can be shard space, shard group or shard names. The default is no shards
-async When specified, all tasks to configure the backup for the shards will run in the background. By default, the task will run in the foreground.

Examples

In the following example, a backup for the shards in shard space dbs1 is created before shard maintenance.

GDSCTL> run backup -tag backup_before_db_maintenance -shard dbs1 -catpwd gsm

Running on-demand backup for database "v1908b_cdb2_pdb1" ...
executing global script: full_backup_cdb
...
Starting Control File and SPFILE Autobackup at 14-APR-20
piece handle=/ade/b/3998875997/oracle/dbs3/V1908C/autobackup/2020_04_14/o1_mf_s_1037736781_h9dndfrd_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 14-APR-20

Recovery Manager complete.