Running the utility, Hp dbutil commands, Dbutil –pre – HP P6000 Continuous Access Software User Manual
Page 8: Dbutil –post, Dbutil –mfreeze, 8 hp dbutil commands, 8 dbutil –post, 8 dbutil –mfreeze

Running the utility
HP DButil is run from a Windows command line, typically using the following methods:
•
Windows batch files
•
HP Replication Solutions Manager jobs that call batch files or scripts
HP DButil creates a metadata file in the directory where it is run. HP DButil uses this metadata to
restore the database. A metadata file is valid only for the snapshot that it is created for. If you run HP
DButil from the directory of the SQL Server database, you can keep separate metadata files for
restoring multiple databases.
HP DButil commands
HP DButil supports the following commands.
DButil –pre
The
DButil -pre
command suspends an SQL Server database and places it in a transactionally
consistent state. Write operations to the database are suspended until the
DButil –post
command
is issued. Use this command just before you replicate the database.
Syntax:
DButil –pre
DButil –post
The
DButil -post
command resumes a suspended SQL Server database and allows write operations
to continue. Use this command just after you replicate the database.
Syntax:
DButil –post
DButil –mfreeze
The
DButil –mfreeze
command suspends multiple databases residing on a single LUN or a set
of LUNs that must be replicated as a group. Write operations to specified databases are suspended
until the
DButil –mthaw
command is issued. For example, if three databases reside on the same
LUN, the following commands would suspend all three:
DButil –mfreeze 1 of 3
DButil –mfreeze 2 of 3
DButil –mfreeze 3 of 3
Complete this procedure by issuing a matching
DButil –mthaw
command before issuing any
subsequent
DButil –mfreeze
or
DButil –pre
commands.
Using HP StorageWorks DButil
8