Managing ObjectStore
osload: Loading Databases
To load a database or group of databases from an osdump-generated ASCII file, build the executable osload from the corresponding osdump-generated source.
On UNIX, use the make utility and the osdump-generated makefile makefile.unx. On Windows, use nmake and the osdump-generated makefile makefile.w32.
The utility osload creates a database or group of databases given osdump-generated ASCII as input. The resulting databases are equivalent to the ones from which the ASCII was produced.
Syntax
osload [ options ] db_table.dmp pathname ...
Options
Description
For given ASCII input, the databases created by osload have the same file names as the databases from which the ASCII was generated (as stored in db_table.dmp).
If switch -cwd is not set, the databases have the same pathnames (as stored in db_table.dmp). If files with the given paths already exist (for example, because the dumped databases are still in their original locations), osload aborts. This prevents you from overwriting your original databases.
-cwd forces osload to ignore paths from db_table.dmp and create the databases in the current working directory.
Converting a Database
osload is used with osdump to update an ObjectStore database with a Release 5.1 format to one with a Release 6.0 format. Refer to osdump: Dumping Databases for specific steps in the conversion process.
[previous] [next]
Copyright © 1999 Object Design, Inc. All rights
reserved.
Updated: 03/11/99 11:19:07