Herb,
 
The UNLOAD command, can unload the database structure and data files to a directed output.(see command syntax for RELOAD)
What I think you want to do is just to do a reload of the database.
 
I use the following sequence often and it works well for me. You can also add these items into a command file to run unattended.
 
At the R> Prompt
connect Original (supply your db name here)
set messages on
set error messages on
autochk Original full
*(This checks for any errors in the database. Always run autochk before reloading or packing a database)
*(If no errors, then continue)
Reload Backup (or any name you want. This creates new Backup.Rb* database files)
disconnect (disconnects Original database)
del Original.rb* (deletes Original database files or you can rename these files for archiving)
connect Backup (connects to the reloaded database)
reload Original (reloads Backup back to the Original database)
disconnect (disconnects Backup database)
autochk Original full (this checks the new reloaded database)
del backup.rb* (this is optional, it deletes Backup database files or don't delete them if you want to keep these files as a backup)
 
Good luck !
 
Bill Eyring
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Herbert Hemberger
Sent: Thursday, May 30, 2002 10:47 AM
To: Rbase
Subject: Unload and Reload syntax

I would like to unload and Reload 2 small databases and I seem to have problems with the syntax. I use Rbase 6.5 ++ for Windows with both online patches. My O/S is WinXP Pro on a single box.

An example would be appreciated, since I�m a novice.

Thanks in advance,

Herb

Reply via email to