convertToBackup

The convertToBackup command enables you to verify the database and generate a restoreinfo file in the database location specified in the path argument, which has the following syntax.

jdbutilb path=database-path
         ini=initialization-file-name
         convertToBackup [workers=number-of-worker-threads]

If you have specified a value for the LogDirectory parameter in the [JadeLog] section of the JADE initialization file that you want to use, use the optional ini argument in the jdbutilb command to locate this setting.

Specify the optional workers argument if you want to use a single worker thread (1) or more than the default two (2) multiple concurrent worker threads. The convertToBackup operation can use a maximum of 16 multiple concurrent worker threads.

The following example shows the use of the convertToBackup command.

jdbutilb path=s:\jade\system ini=s:\jade\backups\jade.ini convertToBackup workers=3

This verifies the files and creates a restoreinfo file that contains MD5 file checksums in the database directory specified in the path argument. Operational logging is output to the checksum.log file that is also located in the database directory specified in the path argument.

If the operation is successful, you can then perform the required action with the specified database directory (for example, you can copy the files to tape).

To verify loaded database files that have been copied back from another medium, execute the jdbutilb program as follows.

jdbutilb path=database-path ini=initialization-file-name verifyChecksums

The following example shows the use of the verifyChecksums command.

jdbutilb path=s:\jade\system ini=s:\jade\backups\jade.ini verifyChecksums

For more details, see "Custom Backup Support" under "Backups", in Chapter 3.