SLAC PEP-II
BABAR
SLAC<->RAL
Babar logo
HEPIC E,S & H Databases PDG HEP preprints
Organization Detector Computing Physics Documentation
Personnel Glossary Sitemap Search Hypernews
Unwrap page!
Comp. Search
Who's who?
Meetings
FAQ Homepage
Archive
Environment
Administration
New User Info.
Web Info/Tools
Monitoring
Training
Tools & Utils
Programming
C++ Standard
SRT, AFS, CVS
QA and QC
Remedy
Histogramming
Operations
PromptReco
Simulation Production
Online SW
Dataflow
Detector Control
Evt Processing
Run Control
Calibration
Databases
Offline
Workbook
Coding Standards
Simulation
Reconstruction
Prompt Reco.
BaBar Grid
Data Distribution
Beta & BetaTools
Kanga & Root
Analysis Tools
RooFit Toolkit
Data Management
Data Quality
Event display
Event Browser
Code releases
Databases
Check this page for HTML 4.01 Transitional compliance with the
W3C Validator
(More checks...)

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