Consultor Eletrônico



Kbase P181141: How can I find the blocksize of a database from backup file created by the probkup utility?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   01/06/2011
Status: Verified

GOAL:

How can I find the blocksize of a database from backup file created by the probkup utility?

GOAL:

Is there any way to find the database block size from a backup file?

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.x

FIX:

Running the prorest command with the -vp option will list the database blocksize as part of its output. The -vp option instructs the prorest utility to read the backup file(s) and compute and compare the backup block cyclic redundancy checks (CRC's) with those in the block headers. Using the -vp option will not restore the database, only the CRC scan is performed.
For example:
> prorest anyname database_backup_file -vp

This is a full backup of /scratchdisk/mydatabase.db. (6759)
This backup was taken Wed Jun 16 17:00:54 2010. (6760)
The blocksize is 8192. (6994)
Partial verification successfully read backup volume. (6765)
Verify pass started. (3751)
Verified 764 db blocks in 00:00:01
Backup for /scratch/mydatabase.db verified ok. (6758)