company logo

CopyDB - Copy Database

CopyDB() allows copying complete databases or parts of it. One may use CopyDB() for copying a single object instance from database to another one as well as collections or subsets of collections. In order to synchronize databases by date (copy all newer), the -S option may be passed. -S:date copies all instances greater or equal to the date passed.

CopyDB ini_file from to [-S[:date]] [-q] [-h]

Definition: 

ini_file - ini-file that describes the data source

from - source data section in ini-file

to - target data section in ini-file

-S - synchronize databases

-q -  do not write messages to system output

-h -  show help information