Backs up a database which may be currently in use by one or more DP4 application programs. For full details refer to Dynamic Backup in the DP4 Developer's Manual.
Prior to release 4.525/4.621 DYNABACK imposed two rather arbitrary restrictions: it could not be used unless transaction logging was enabled;it could not be used to back up the system database. Both these restrictions are removed in later releases.
| Command Tail | Description |
|---|---|
|
−COMMENT "text" |
Optional comment, up to 32 characters, displayed when restoring database |
|
−COPY |
(Introduced in 4.522/4.618). Backs up database as renamed database files instead of in BKP format. DBCHECK is run against the backup. These files are used by DBRECOV in the event that a fast recovery fails. |
|
−DELETE |
(For use with |
|
−FORMAT |
Format disks using a user-supplied batch file called FORMBKP |
|
−NEWDB newname |
New in 4.526/4.622 This command tail is only meaningful when −COPY is also specified. Instead of backing up the database it is copied to a new database named newname. DP4 utilities that need to do so now use this program to copy databases, in order to avoid having to know explicitly what files form part of the database. This option does not set the flags in the original database to indicate that it has been backed up. |
|
−NODELETE |
(For use with |
|
−NOVERIFY |
Disables verification of backup, or when -COPY is in use, running of DBCHECK |
|
−QUIET |
Suppress messages, including the instructions to change a disk. (Backs up to one disk only) |
|
−SERVER n |
Server from which to back up (for multiple-resilience configurations using AUXDISTR) |
|
−SETSESSN |
Marks a database as backed up (without performing actual backup) |
|
−SPACE amount |
Set the amount of space (in Kilobytes) to leave on the backup disks |
|
−VERIFY |
Attempts to veridy backup is written correctly. |
To back your database up securely you are recommended to use DYNABACK -COPY. This provides an automatic and foolproof method of backing up a database and is described in detail in the DP4 Developer's Manual here.