Help statement for BbkDbMirror
usage: BbkDbMirror [OPTIONS]
-H, --help print this text and exit
-V, --version print the version and exit
-v, --verbose enable debug
-T, --test don't insert
Database connection
-ss, --sourcesite DBSITE connection site
-su, --sourceuser DBUSER db user name
-ts, --targetsite DBSITE connection site
-tu, --targetuser DBUSER db user name
Other connection options are --sourcename (-sn) --sourcetype --sourceserver
--sourcedriver --sourcepass (-sp) --sourceprefix --sourcelocaldsprefix (-sl),
and similarly for the target database connections.
Mirror Options
--alsoupdate copy also the updates, if any, to the target
--skipreplica if there are duplicated ids the mirror can be
run skipping them. It's slightly slower.
--maxfetch N maximum lines to copy at each loop default 20000
to avoid eccessive memory usage by the program
--nomaxlines do each table all in one go
--maxmirror N Don't insert more than this many rows per table
--trgtable TABLE select a specific table in the target to be
copied or checked it can be useful for
full checks of a single table.
--maxId override the maxId given by the database
usefull for checks
--printtables print the full table names
-ds, --dataset DATASET only mirror the specified datasets
--reset truncate the tables and mirror from scratch
--reset-all also truncate local tables (eg. data_files)
--check performs extra checks after mirroring each table
|