makeBackupinfo

The makeBackupinfo command applies the latest partial backup (delta) backupinfo file located in the directory specified in the deltaDir argument to the last full (base) backup backupinfo file located in the directory specified in the baseDir argument, creating an output full backup backupinfo file in the directory specified in the outputDir argument, thus simplifying operational issues restoring the environment from backup. (Every backup creates a backupinfo file that contains information specific to the map files and partitions that were in this backup instance.)

File and partition backup information in the delta backupinfo file is copied to the output backupinfo file. File and partition information that is absent from the delta backupinfo file is copied from the base backupinfo file to the output backupinfo file.

It is the responsibility of the backup application to relocate necessary files.

You can use the listBackupinfoFilenames command to retrieve the names of database files, partitions, Unstructured Data Resource (UDR), and single UDR files from the backupinfo file. The name list is useful for managing clean-up at the full backup location; for example, detecting when a file has been removed from an environment.

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

jdbutilb=path=database-path
         ini=initialization-file-name
         makeBackupinfo
         baseDir=directory
         deltaDir=directory
         outputDir=directory

In the following example, the baseDir argument specifies the last full backup, the deltaDir argument is the current partial backup, and the outputDir argument is where the new backupinfo file is to be placed.

jdbutilb ini=e:\jadetest\jade.ini makebackupinfo 
         baseDir="e:\jadetest\backup\offline full" 
         deltaDir="e:\jadetest\backup\offline partial" 
         outputDir="e:\jadetest\backup\offline work"