Attach a Repository (repositoryAttach)
The repositoryAttach
command attaches an existing repository to the grid, making it available for use.
ttGridAdmin repositoryAttach name -path path -method mount|scp [-address internalAddress]
Options
The repositoryAttach
command has the options:
Option | Description |
---|---|
|
Name of the repository to attach. |
|
Fully qualified path to the parent directory where the repository is located. For For |
|
Indicates how grid instances access the repository. Supported options are
Note: The |
|
For repositories accessed through Also see Address Formats. |
Examples
This example attaches a repository /repositories/repo1
that is located on the system mysys2
, using -method scp
.
% ttGridAdmin repositoryAttach repo1 -path /repositories -method scp -address mysys2.example.com Repository repo1 attached
Note:
This command is typically used to attach a repository that was created from another grid, so that you can restore a backup of a database from one grid into another grid. It can also be used to reattach a repository to the grid where it was created, if it was detached.