Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Recovering

Status
Not open for further replies.

MAF

Programmer
Sep 13, 2000
6
ES
Hi!!

Can anyone tell me how to use the RECOVER utility and if it would be helpful in a BTRIEVE ERROR 2?
And where can I find good documentation on Btrieve?

Thanks
M. [sig][/sig]
 
The only docs I am aware of for BTRieve are from Pervasive SQL (name of he company, NOT a query somewhere). They are not what I would call the "best", but what you get is ... what you can get. I bought the "Pervasive SQL" SDK (version 7). This 'supports' BTRieve, and has what documentation there is. It is not seperated between Pervasive SQL and BTRieve, but the BTRieve info is not that hard to find.

Get the docs and read through to see what the various utilities do.

[sig]<p>MichaelRed<br><a href=mailto:mred@duvallgroup.com>mred@duvallgroup.com</a><br>There is never time to do it right but there is always time to do it over[/sig]
 
I've found that the BUTIL.EXE utility is the best way to recover files. From the DOS prompt type the following to recover the file CORRUPT.BTR:

BUTIL -CLONE CORRUPT.NEW CORRUPT.BTR
BUTIL -COPY CORRUPT.BTR CORRUPT.NEW
REN CORRUPT.BTR CORRUPT.OLD
REN CORRUPT.NEW CORRUPT.BTR

The first line creates a new (empty) Btrieve file using the old one as a template. The second line copys the data from the old file to the new one.

hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top