migrate-action-db
Migrates an action database from one database to another.
migrate-action-db
<--source-driver-class=value>
<--source-database-url=value>
<--source-username=value>
<--source-password=value>
<--target-driver-class=value>
<--target-database-url=value>
<--target-username=value>
<--target-password=value>
[-c | --clear-target-action-db]
Overview
Use this command to migrate an action database over to another database, adding to any content on the target database, by default.
Important: Due to the nature of action data,
migrate-action-db
appends data to an existing database, which can cause duplicated data entries if the user reruns a command.This action database migration is available only from the migrate-action-db
command-line command. See Migrating a database instance for more information.
Options
Option | Optional or Required | Default Value | Description |
---|---|---|---|
|
Required | none | The driver class of the source database. |
| Required | none | The database URL of the source database. |
|
Required | none | The user name of the source database. |
| Required | none | The password for the user of the source database. |
|
Required | none | The driver class of the target database. |
| Required | none | The database URL of the target database. |
| Required | none | The user name of the target database. |
| Required | none | The password for the user of the target database. |
| Optional | false | Clears the target action database of content. By default, the content of the source action database is added to the target action database. |
Parent topic: Command-line reference