The restore_ appl command restores an application.
Note:
This command is valid only if the Enhanced File Transfer package is installed.
Synopsis
restore_appl -n
application_name
[-d database_file][-t transaction_file][-s speech_file][-p path]
Description
The restore_ appl command is used to restore an application from backed up files existing on the same machine or from backed up files sent from the host. The files are cpio files. If the file names are not specified, default file names are used and all three components (database tables, speech, transaction) are restored. The following are the default file names for each component:
Component |
Default file name |
database |
Dbase |
speech |
Spch |
transaction |
Trans |
The default path to restore all three components is: /tmp/sb/BkUpAppl/.
Note:
You must use the restore_ appl command before using the install_ appl command.
Return values
If the restore_ appl command is successful, a 0 value is returned. If any value other than 0 is returned, the restore_ appl command failed. The following are the possible reasons for failure of the restore_ appl command:
Example
The following example restores the application bank_ balance from backed up files.
restore_ appl -n bank_ balance
See also