@PLUGIN@ list - List specific remote destinations information
ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ list [--remote <PATTERN>] [--detail] [--json]
List all remote destinations information, or only those whose name match the pattern given on the command line.
Caller must be a member of the privileged ‘Administrators’ group.
This command is intended to be used in scripts. It is very useful for replication status check for administrators as well.
--remote <PATTERN>
: Only print destinations whose remote name contains the substring PATTERN
.
--detail
: Print remote detail information: Name, Url, AdminUrl, AuthGroup and Project.
--json
: Output in json format.
List all destinations:
$ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ list
List all destinations detail information:
$ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ list --detail
List all destinations detail information in json format:
$ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ list --detail --json
List destinations whose name contains mirror:
$ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ list --remote mirror $ ssh -p @SSH_PORT@ @SSH_HOST@ @PLUGIN@ list --remote ^.*mirror.*