Getting Started - Import data to an existing instance
Given that you want to import data to the identifycli
instance, you can save this database connection configuration file to a database_connection.json file and run the following command on your favorite terminal:
To import all valid resources found in the --source-folder
folder:
1 |
ICC --action ImportData --name "identifycli" --configuration-file "C:\identify-configuration\database_connection.json" --source-folder "C:\backup-data\instances\old-identify-instance" |
To import selected valid resources (ClaimDefinitions, Groups, Organizations, Users in this example) found in the --source-folder
folder:
1 |
ICC --action ImportData --name "identifycli" --configuration-file "C:\identify-configuration\database_connection.json" --resources ClaimDefinitions Groups Organizations Users --source-folder "C:\backup-data\instances\old-identify-instance" |
_Note: The identifycli
instance must exist on the database server which you configured in databaseconnection.json file.
References
- ImportData command
- The
--configuration-file
parameter uses Database configuration JSON schema to connect to database.