migrate-db
Migrates a Spotfire Server database from one database to another.
migrate-db
[-b value | --bootstrap-config=value]
<-t value | --tool-password=value>
<--target-driver-class=value>
<--target-database-url=value>
[--target-username=value]
[--target-password=value]
[-f | --force]
[-n | --no-prompt]
[-u | --update-bootstrap]
Overview
Use this command to migrate the contents of a Spotfire database.
Important: The database migration command deletes the contents of the target database before it migrates the entirety of the source database. Repeating the migration command deletes the contents of the target database before migrating content. Be cautious when specifying the target database.
This database migration is available only from the migrate-db
command-line command. See Migrating a database instance for more information.
To migrate an action database, use migrate-action-db
.
Options
Option | Optional or Required | Default Value | Description |
---|---|---|---|
|
Optional | none | The path to the bootstrap configuration
file. The credentials in this file are used as source for the migration. See Bootstrap.xml file for more information about this file. |
|
Optional | none | The configuration tool password used to decrypt the database password in the bootstrap.xml file. If the tool password is omitted, the command prompts the user for it in the console. See Bootstrap.xml file for more information. |
|
Required | none | The driver class of the target database. |
| Required | none | The database URL of the target database. |
| Optional | none | The user name of the target database. |
| Optional | none | The password for the user of the target database. |
| Optional | none | Specify this to skip database verification on the both source and target database. |
| Optional | none | Specifies that the command does not prompt for confirmation. |
| Optional | none | Specifies that the existing bootstrap configuration file should be updated with the new (target) database configurations without having to run the update-bootstrap command explicitly. |
Parent topic: Command-line reference