dmbackupmd - Back up metadata

Use this command to create a backup of the CDC Replication metadata database which contains information about your current replication configuration.

You should always back up your metadata when there are changes to your subscription configuration and table status. You can only back up your metadata while CDC Replication is running.

The backup of the metadata database is created in <Installation_directory>/instance/<instance_name>/conf/backup. The files in the backup directory should be stored on separate media for possible recovery.

Syntax

dmbackupmd [-I <name>] [-L <locale>]

Parameters

[-I <name>]
Specifies the name of the CDC Replication instance. Alternatively, you can specify the TSINSTANCE environment variable in place of this value.
[-L <locale>]
The name of the locale used for the CDC Replication instance. The default is your machine's locale.

Result

This command returns a value of 0 if the command was successful and a non-zero value if the command fails.