Kbase P52315: How does the Progress Restore (prorest) work?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/4/2005 |
|
Status: Verified
GOAL:
How does the Progress Restore (prorest) work?
FIX:
The process the prorest uses to restore a database backup is:
1. Issues messages in the database log file (dbname.lg) that a prorest session has begun.
Example:
prorest session begin for <user> on <ttyxxx>. (451)
Full restore started. (1368)
2. Read the backup header.
3. Grows the target database to the size of the database backed up on tape or disk (if needed).
4. Writes a message to stdout indicating the type of backup and the name of the database that this backup is for.
Example: This is a full backup of sports2000.db. (6759)
5. Lists the date and time the database backup was generated.
Example: This backup was taken Tue Oct 4 11:41:32 2005. (6760)
6. Displays the database block size for the database that was backed up.
Example: The blocksize is 1024. (6994)
7. Reads -bf (Blocking Factor) from the backup header. This number represents the number of blocks on the tape.
8. Displays the amount of blocks required to restore the database. The number of blocks reported is based on the blocksize for the database that was backed up.
Example: It will require a minimum of 4211 blocks to restore. (6763)
9. The prorest utility will loop through the blocks, writing them to the target database being restored. This step is repeated until all blocks have been restored to the target database.
10. Issues messages in the database log file (dbname.lg) that a prorest session has completed.
Example:
Full restore completed. (1369)
prorest session end. (334)