Importing Data
This topic describes how to import information into the database.
Importing Information into the Database
If you are switching from Mobius-z/OS to Mobius or accessing archived files shared by Mobius-z/OS and Mobius, use the Mobius XML Importer or the dbimport command to import content access information and ingestions.
dbimport – Import Data
dbimport causes a document server to import ingestion information (DAF files) into its database. You can invoke dbimport in either a Windows or Linux environment.
Syntax and Parameters
The syntax for this command is:
dbimport parameter list
The valid parameters are:
Parameter |
Description |
Required or Optional |
-S server connection |
Name of the connection to the document server that imports the data. This document server identifies the database that receives the imported data. If the name contains embedded spaces, enclose the name in quotation marks. |
Required |
-U recipient ID |
Recipient with permission to define content. |
Required |
-P password |
Password for the recipient. |
Required if the recipient has a password |
-D directory |
Directory where the document server will find the ingestions you want to import. All valid content archive files that reside in this directory are imported. To specify the path of the directory, use the naming convention of the document server's operating system. (For example, the DAFs may reside on a Windows machine, but if the document server is running on Linux, use Linux naming conventions.) Optionally, you can use the UNC path for either a Windows or Linux operating system. If the files are in a subdirectory tree, you can use the -J option to import all the ingestions in the tree.
|
Required |
-J |
Import ingestions from the source directory and any subdirectories listed in the -D option. |
Optional |
Example
Enter this command:
dbimport –S Inventory –U Jsmith –P abba
-D “C:\Program Files\VDRNET\DAFS” -J
to:
• | Use the Inventory document server connection to import the ingestions. |
• | Authenticate John Smith with a password of abba. |
• | Import all ingestion information from the C:\Program Files\VDRNET\DAFS directory. |
• | Import all ingestions from the subdirectories. |