Spotfire Server and Environment - Quick Start

migrate-library

Moves the content from database to an external storage which has been configured but is not yet enabled.

migrate-library
[-b value | --bootstrap-config=value]
[-t value | --tool-password=value]
<-s value | --external-storage=value>
[-a value | --action=value]
[--run-once]

Overview

Use this command to migrate content to external storage (Amazon S3, Azure Blob Storage, File System, Google Cloud Storage). See also Configuring and migrating to external library storage.

Options

Option Optional or Required Default Value Description
-b value
--bootstrap-config=value
Optional none The path to the bootstrap configuration file. See Bootstrap.xml file for more information about this file.
-t value
--tool-password=value
Optional none The configuration tool password used to decrypt the database password in the file bootstrap.xml. If the tool password is omitted, the command prompts the user for it in the console. See Bootstrap.xml file.
-s value
--external-storage=value
Required none The external storage to use. The following names are valid: 'GOOGLE_CLOUD_STORAGE', 'AZURE_BLOB_STORAGE', 'FILE_SYSTEM' and 'AMAZON_S3'.
-a value
--action=value
Optional The type of action to perform. The following actions are valid:
  • 'dryrun' (fetches and shows information without migrating anything),
  • 'new' (migrates library content currently not in the external storage),
  • 'deleted' (removes previously migrated content from the external storage that no longer exists in the database).

If omitted, the command will try to migrate all differences.

--run-once
Optional By default, the command runs in a loop until all content has been migrated. Use this argument to specify that it should only be run once.