9.5.11. tpm keep Command

tpm keep command is designed to streamline saving the current Tungsten Replicator position for each service in a variety of formats:

Usage:

tpm keep [args]

Table 9.17. tpm keep Options

OptionDescription
--all, -aDump all available tungsten_* schemas instead of using the list from trepctl services
--debug, -dDisplays debug-level status messages.
--dirSpecify the target directory to store files in.
--dryrun, -nDo not execute the command, display what would be done instead.
--nodumpSkip the mysqldump step.
--extra, -xDisplay the command to be run before executing.
--help, -hDisplays a help message.
--info, -iDisplays info-level status messages
--list, -lDisplay tracking schema instead of saving to disk.
--long, -LDisplay other additional information when available.
--nogetSkip the dsctl get step.
--quiet, -qHides status output whenever possible
--service, -sSpecify the service name(s) to save as comma separated list, default: all
--verbose, -vDisplays verbose-level status messages.

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