Skip to main content
Common Reference

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.

Usage
tpm keep [args]
OptionDescriptionVersion
--all
Aliases: -a
Dump all available tungsten_* schemas instead of using the list from trepctl services.
--debug
Aliases: -d
Debug mode.
--dirSpecify the target directory to store files in.
--dryrun
Aliases: -n
Do not execute the copy commands, display only.
--extra
Aliases: -x
Display the copy command executed.
--help
Aliases: -h
--info
Aliases: -i
--list
Aliases: -l
Display tracking schema instead of saving to disk.
--long
Aliases: -L
Display other additional information when available.
--nodumpSkip the mysqldump step.
--nogetSSkip the dsctl get step.
--quiet
Aliases: -q
--service
Aliases: -s
Specify the service name(s) to save as comma separated list, default: all.
--verbose
Aliases: -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