Reference Manual
CHAPTER 4. Database Administration Utilities
With the Uncompression utility, you can expand a compressed database file created by the Compression utility. The Uncompression utility reads the compressed file and creates an uncompressed database file.
The Uncompression utility does not uncompress files other than the main database file (dbspace files).
You can access the Uncompression utility in the following ways:
From Sybase Central, for interactive use under Windows 95 or NT.
From the system command line, using the dbexpand command-line utility. This is useful for incorporating into batch or command files.
Open the Database Utilities folder in the left panel.
Double-click Uncompress Database in the right panel. The Uncompress wizard is displayed.
Follow the instructions in the wizard.
For full information on uncompressing a database in Sybase Central, see the Sybase Central online Help.
dbexpand [switches] compressed-database-file [database-file]
dbexpanw [switches] compressed-database-file [database-file]
Switch |
Description |
---|---|
-o |
Output log messages to a file |
-q |
Operate quietly—do not print messages |
-y |
Erase an existing output file without confirmation |
The input filename extension defaults to cdb. The output filename (with extension) must not have the same name as the input filename (with extension).
For more information about the command-line switches, see Uncompression utility options.
Output log messages to file (-o ) Redirect log messages to the named file.
Operate quietly (-q ) Do not display messages on a window. This option is available only from the command-line utility.
Operate without confirming actions (-y ) Without this option, you are prompted to confirm the replacement of an existing database file.