Kbase P26494: How to prorest a database if the bi blocksize is not the default
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/4/2005 |
|
Status: Unverified
GOAL:
How to prorest a database if the bi blocksize is not the default
FACT(s) (Environment):
Progress 9.x
FIX:
If you have a backup file and you are trying to restore the file there are two ways you can restore the file.
Method 1:
1) prostrct create <dbname> <stfile> [-blocksize n]
2) procopy $DLC/empty <dbname>
If the backup files BI blocksize has been modified then you will need to modify the BI blocksize of the new database you just created to match the backup.
eg. proutil <dbname> -C truncate bi -biblocksize <n>
3) prorest <dbname> <backup file>
Method 2:
If you have the .st file used to create the original database and it is in the directory you give the following command:
1) prorest <dbname> <backup file>
The prorest now looks for the .st file and will perform the other steps of creating a structure, etc.
Method 3:
If you don't have a .st file and you aren't sure how big the database is use the prorest -list option to get information to build a new .st file.
For more information on prorest -list see solution P50310 "What does the Size value indicate in a prorest -list?"