table replica resume
Resumes replication between a source MapR Database binary or JSON table and a replica of that table. Replication can be paused during autosetup and replication phases. When replication resumes, it continues from where it left off.
Permissions Required
To run this command, your user ID must have the following permissions:
readAce
andwriteAce
on both the source volume and the target volumelookupdir
on directories in the paths of both tablesreplperm
permissions on the source table
NOTE The
mapr
user is not treated as a superuser.
MapR Database does not allow the mapr
user to
run this command unless that user is given the relevant permission or permissions with
access-control expressions.Syntax
- CLI
maprcli table replica resume -path <table path> -replica <replica table path>
- REST
-
curl -k -X POST 'http[s]://<host>:<port>/rest/table/replica/resume?path=<path>&replica=<path>' -u <username>:<password>
Parameters
Parameter | Description |
---|---|
path |
The path to the table that will be replicated.
|
replica |
The path to the replica.
|
Example
- CLI
-
maprcli table replica resume -path /volume1/custAsrc -replica /volume2/custAdst
- REST
-
curl -k -X POST \ 'https://r1n1.sj.us:8443/rest/table/replica/resume?path=%2Fvolume1%2FcustAsrc&replica=%2Fvolume2%2FcustAdst' \ -u mapr:mapr