Product Information > JADE Database Administration Guide > Chapter 1 - Using the JADE Database Utility > restorePartitionFile

restorePartitionFile

The restorePartitionFile command initiates an offline restore of the partitioned database file identified by the part parameter in the file identified by the file-name parameter from the backup directory specified by the backupDir parameter to the database location (which must be valid on the server) specified in the path parameter.

Information or errors from the partitioned file restore operation are recorded in the recovery.log file located in the directory specified in the ActivityLogDirectory parameter in the [PersistentDb] section of the JADE initialization file.

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

jdbutilb path=database-path
         ini=initialization-file-name
         restorePartitionFile
         backupDir=backup-directory
         file-name
         part=partition-identifier
         [clearFilePaths]
         [verify]
         [nostatus]

When you restore a partitioned file, the specified value of the file-name parameter must be the partition control file (that is, file-name.dat).

To restore only the partition control file and index before you restore individual partitions, specify:

restorePartitionFile file-name part=0

If errors are encountered during the partitioned file restore operation, you will not be able to use the database. Do not use the database until the file partition is restored.