tpm keep
Version availability
Available in 7.1.0 and later.
tpm keep command is designed to streamline saving the current Tungsten Replicator position for each service in a
variety of formats.
dsctl getas.jsondsctl get -ascmdas.cmdmysqldumpas.dmp
Usage
tpm keep [args]
| Option | Description | Version |
|---|---|---|
--allAliases: -a | Dump all available tungsten_* schemas instead of using the list from trepctl services. | |
--debugAliases: -d | Debug mode. | |
--dir | Specify the target directory to store files in. | |
--dryrunAliases: -n | Do not execute the copy commands, display only. | |
--extraAliases: -x | Display the copy command executed. | |
--helpAliases: -h | ||
--infoAliases: -i | ||
--listAliases: -l | Display tracking schema instead of saving to disk. | |
--longAliases: -L | Display other additional information when available. | |
--nodump | Skip the mysqldump step. | |
--noget | SSkip the dsctl get step. | |
--quietAliases: -q | ||
--serviceAliases: -s | Specify the service name(s) to save as comma separated list, default: all. | |
--verboseAliases: -v | Verbose Output. |
There are two distinct gathering steps:
Step 1: Run dsctl twice per service (.json and .cmd)
- Skip this step with
--noget - Step 1 requires that the database server be running
Step 2: Run mysqldump once per schema (.dmp)
note
This step will be skipped for non-MySQL Replicator only targets
- Skip this step with
--nodump - Step 2 requires that the database server be running
- Gather all available tungsten_* schemas using
--all