TIBCO Spotfire® Server and Environment - Installation and Administration

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
--source-driver-class=value
Required none The driver class of the source database.
--source-database-url=value
RequirednoneThe database URL of the source database.
--source-username=value
Required none The user name of the source database.
--source-password=value
RequirednoneThe password for the user of the source database.
--target-driver-class=value
Required none The driver class of the target database.
--target-database-url=value
RequirednoneThe database URL of the target database.
--target-username=value
RequirednoneThe user name of the target database.
--target-password=value
RequirednoneThe password for the user of the target database.
-c
--clear-target-action-db
Optionalfalse

Clears the target action database of content. By default, the content of the source action database is added to the target action database.