bkt_tool import

Imports all the workspace objects from the Public Queries folders of another HCL Compass user database into the current database.

Applicability

Platform: Windows™

Command type: bkt_tool subcommand

Synopsis

bkt_tool -i
-dbset dbset -db dbname -user username -password password {-directory | -storagefile }pathname

Description

The HCL Compass bucket tool import subcommand, bkt_tool -i, imports one or more files that contain all the exported workspace objects (including queries, reports, and charts) from another database. The import file is created by using the bucket tool export command, bkt_tool -e. If the workspace objects already exist in the user database, the bkt_tool displays an error and does not let you continue with the import.

Options and arguments

-dbset dbset
Specifies the schema connection name. Required if there are multiple schema repositories in the system.
-db dbname
Specifies the user database from which you are importing the workspace objects.
-user username
Specifies the login name of the user whose objects you want to import. This user must have Super User privileges.
-password password
Specifies the password for the username user. If there is no password, enter an empty set of double quotes ().
-directory pathname
Specifies the path name of the directory that contains the files to import. Enclose the path name in double quotes. The pathname contains a text file named CONTENTS.CFG and a series of files named 0001.DAT through nnnn.DAT. The .DAT files contain the binary data for each workspace object.
-storagefile pathname
Specifies the path name of an IStorage compound document.

Examples

  • Import the contents of d:\temp\bkt_test to the test1 user database.

    bkt_tool -i -dbset 1.1 -db test1 -user admin -password secret -directory "d:\temp\bkt_test"

See also