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.

The utility works for local or file server databases, only.

CopyDB ini_file source target [-S[:date]] [-q] [-h]

Definition: 

ini_file - symbolic name referring to a configuration or ini-file defining the data sources (sections) for the source and target database.

source - source section in ini-file

target - target section in ini-file

-S - synchronize databases

-q -  do not write messages to system output

-h -  show help information