backupJournal

The backupJournal command initiates an offline backup of the transaction journal file specified in the journal argument.

Information or errors from the backup operation are recorded in the backup.log file located in the default database directory (specified by using the path argument).

If errors are encountered during the backup log process, the backup is removed.

The syntax of the backupJournal command in the jdbutilb command line is as follows.

jdbutilb path=database-path
         ini=initialization-file-name
         backupJournal
         backupDir=backup-directory
         journalDir=journal-directory
         journal=journal-file-number
         [lastJournal=journal-file-number]
         [compress]
         [overwrite]
         [verify]
         [nostatus]

The following example shows the use of the backupJournal command in the jdbutilb command line to backup a specific transaction journal file with verification and data compression requested.

jdbutilb path=d:\jade\db backupDir=\\backupserver\jade\jnlbackups\07aug2011 ini=d:\jade\jade.ini backupJournal journalDir=s:\jade\system\logs\current journal=45 verify compress nostatus

In this example, the journal backup expects to find the control file in the d:\jade\db directory, and the selected journal file, located in the s:\jade\system\logs\current directory, will be backed up in the \\backupserver\jade\jnlbackups\07feb2007 directory.