Contents Index Creating a write file using the Create Write File wizard Write file utility options

ASA Database Administration Guide
  Database Administration Utilities
    The Write File utility

Creating a write file using the dbwrite command-line utility


Syntax 

dbwrite [ options ] database-file [ write-name ]

Option Description
-c Create a new write file
-d database-file Point a write file to a different database
-ek key Specify encryption key
-ep Prompt for encryption key
-f database-file Force the write file to point at a file
-m mirror-name Set the transaction log mirror name
-o filename Log output messages to a file
-q Quiet mode—do not print messages
-s Report the write file status only
-t log-name Set the transaction log name
-y Erase old files without confirmation
Description 

If any changes are made to the original database (not using the write file), the write file will no longer be valid. This happens if you start the server using the original database file, so you should create your write file from an archived copy of a database.

If a write file becomes invalid, you can discard all of your changes and create a new write file with the following command.

dbwrite -c db-name write-name

The log-name and mirror-name parameters are used only when creating a new write file. The write-name parameter is used only with the -c and -d parameters. Note that the database_file parameter must be specified before the write-name parameter.

Exit codes are 0 (success) or non-zero (failure).

For more information about the Write file utility options, see Write file utility options.

This utility accepts @filename parameters. For more information, see @filename server option.


Write file utility options

Contents Index Creating a write file using the Create Write File wizard Write file utility options