Adding a Data Repository Server
This process adds a data repository server to CTP. For information about installing a remote data repository server, see Installing a Remote Data Repository Server.
Only users with admin or system-level access roles can add new data repository servers.
To add a data repository server:
- Click the Data or Models tab so no data repository servers are selected.
- Click the Add Server icon.
- In the Add Server dialog that opens, enter the following information:
- Server Alias: Enter a name for this data repository server. This is for identification purposes on CTP only.
- Connection Mode: Choose the correct connection mode (Host/Port or Connection String) for the data repository server. The connection settings that appear are specific to this selection.
- Host (for Host/Port mode only): Enter the host name of the data repository server.
- Port (for Host/Port mode only): Enter the port of the data repository server.
- Use SSL (for Host/Port mode only): Enable if the data repository server uses an SSL connection.
- Connection String (for Connection String mode only): Enter the MongoDB connection string for the data repository server. See Connection String for more information about using MongoDB connection strings to connect to a data repository server.
- Username: Enter the username to be used to access the data repository server.
- Password: Enter the password to be used to access the data repository server.
- Click Confirm to add the data repository server.
Creating and Deleting a Repository
To add a repository to one of the available servers:
- In the Servers tab, select the server on which you want to add the new repository.
- Click the Create icon.
Specify a name for the repository when prompted and click Create.
Naming Your Repository
The repository name cannot:
- Contain white spaces or non-alphanumeric characters
- Start with a digit
- Use underscores as the first or last character
Choose a repository and click Delete to permanently delete a repository and all of its data
Next Steps
There are several methods for populating your repository with sets of data. See Working with Data Sets.
Exporting a Repository
Exporting a repository creates a snapshot of the data repository. You can download the snapshot if you want to, for example, save a backup of the current state of the repository (see Downloading a Repository). You can also import the repository to other servers (see Importing a Repository).
- Choose a repository from the server menu and click Export.
- Specify a name and (optionally) description for the export.
An export task will be created and shown in the Tasks tab. When the export is complete, you can download the repository file or import it into other servers.
Downloading a Repository
You can download a copy of your data repository if, for example, you want a local backup or want to distribute the data to other systems. Click on a repository to expand it and click Download.
Importing a Repository
You can import data from an exported repository to an existing repository (see Exporting a Repository).
- Choose a server and click on the source repository.
- Click Import and specify a name for the repository and a destination repository. You can also add a description (optional). You cannot import a repository locked by another user. See Locking and Unlocking Repositories in CTP.
- Click OK.
An import task will be created and shown in the Tasks tab.
Uploading a Repository
You can upload a repository file that you previously downloaded if, for example, you want to restore the repository or create a duplicate.
- Choose the server that you want to upload the repository to and click Upload.
- Choose your repository file when prompted.
- Enter a description (optional) and any notes (optional) and click Confirm.
The file will then be added to the list of repository exports. From there, it can be imported as described in Importing a Repository.