Importing Data by Using the Import Utility
You can run the Import utility in the following two ways:
Procedure
-
You can import the data during databast initilization:
To create the initial configuration file, take a configuration file generated by export, and add an [initdb] section to the top of it. You can also add any additional nodetypes, edgetypes, attribute descriptors, users, or indices to the initial configuration file. To specify the directory, which holds the files to be imported, add the line "dir = <directory>" at the beginning of the [import] section.
Run initdb using the configuration file: ./tgdb -i -f -c import.conf
-
You can import the data by using the import command in the administrative console:
To import the entire database: import [dir=<directory>]For example, import dir=/opt/tgdb/importTo import the selective nodetype: import selective (<nodetypename>[,<nodetypename>]+) [dir=<directory>]
Copyright © 2020. Cloud Software Group, Inc. All Rights Reserved.