org.makumba
Class copy

java.lang.Object
  extended by org.makumba.copy

public class copy
extends Object

Copies one database to the other. Usage: java org.makumba.copy source dest type1 [type2 ...] Copying is logged (see Logger, MakumbaSystem.setLoggingRoot(java.lang.String)) in the "db.admin.copy" logger, with Level.INFO logging level.


Constructor Summary
copy()
           
 
Method Summary
static void _copy(String sourceDB, String destinationDB, String[] typeNames, boolean ignoreDbsv)
          Copies records of certain types (and their subtypes) from a database to another.
static void main(String[] argv)
           
(package private) static void usage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

copy

public copy()
Method Detail

main

public static void main(String[] argv)

usage

static void usage()

_copy

public static void _copy(String sourceDB,
                         String destinationDB,
                         String[] typeNames,
                         boolean ignoreDbsv)
Copies records of certain types (and their subtypes) from a database to another. The destination database must have admin# confirmations that match each of the indicated types Copying is logged (see Logger, MakumbaSystem.setLoggingRoot(java.lang.String)) in the "db.admin.copy" logger, with Level.INFO logging level.