Backup
Tssync
Tssync is a tool that enables data synchronization between TStorage clusters.
USAGE: tssync FUNCTION [PARAMETERS]
FUNCTIONS:
--help Displays this help.
--version Displays version numbers.
SRC AND DST:
--src HOST:PORT Provides source TStorage network configuration.
--dst HOST:PORT Provides destination TStorage network configuration.
KEYRANGE OPTIONS (KEYRANGE IS RIGHT OPEN):
--mincid Min cid of bounding keyrange. Default value: 0
--maxcid Max cid of bounding keyrange. Default value: 2147483647
--minmid Min mid of bounding keyrange. Default value: -9223372036854775808
--maxmid Max mid of bounding keyrange. Default value: 9223372036854775807
--minmoid Min moid of bounding keyrange. Default value: -2147483648
--maxmoid Max moid of bounding keyrange. Default value: 2147483647
--mincap Min cap of bounding keyrange. Default value: -9223372036854775808
--maxcap Max cap of bounding keyrange. Default value: 9223372036854775807
--minacq Min acq of bounding keyrange. Default value: -9223372036854775808
--maxacq Max acq of bounding keyrange. Default value: 9223372036854775807
ADVANCED OPTIONS:
--log Path to log file. If not provided, no log file is created.
--verbose Verbose level in range: [0,7], where 1 - errors, 2 - warnings, 4 - info. Default value: 3(errors + warnings)
--timeout Timeout (milliseconds) for clients connecting to src and dst. Default value: -1
--bufSize Client's serializer size. Default value: 10485760
--maxPayload Maximal size of payload that is considered correct. Default value: 33554432
--dstCapacity Records limit that dst recs uses. Default value: 10000000
--dstSizeLimitByte Buffer size that dst recs uses. Default value: 440000000
--srcCapacity Records limit that src recs uses. Default value: 10000000
--srcSizeLimitByte Buffer size that src recs uses. Default value: 440000000
--recSVO "recSVO" parameter of internal RecsSimple instances. Default value: 8
--dry-run "dry-run" parameter prevents tssync from sending differences to dst. Inactive by default.
OTHER:
--stats Print statistics after synchronization (correct or not).
EXAMPLES:
tssync --src 10.0.0.1:2025 --dst 10.0.0.2:3025 --minacq 0 --maxacq 10