Backup Examples - Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual

Table of Contents

Advertisement

Backing up your database
Other backup options
Specifying the block
factor
Error checking
Adding comments
Waiting for Tape Devices

Backup Examples

Example 1 — Full
backup
388
specifies the number of IQ blocks to write to the archive
BLOCK FACTOR
device at one time. It must be greater than 0, or
message.
BLOCK FACTOR
NT, the default
BLOCK FACTOR
For example, if the block size is 512 bytes,
the block size is 32KB,
BLOCK FACTOR
This parameter also controls the amount of memory used for buffers during the
backup, and has a direct impact on backup performance. The effects of the
block factor are a function of disk subsystem speed, tape speed, and processor
speed. Some systems have better backup performance with a smaller block
factor, while others may have better backup performance with a larger one.
or
activates or deactivates 32-bit cyclical redundancy checking
CRC ON
OFF
on a per block basis. (
BACKUP
in the hardware.) With
CRC ON
during any subsequent
RESTORE
specifies a string up to 32KB long as part of the header
WITH COMMENT
information for the backup archive. If you omit this option,
NULL. You can view the comment string by executing a
DATABASE FROM CATALOG ONLY
log,backup.syb, that Adaptive Server IQ provides.
If you need to back up an Adaptive Server Anywhere-only database, see the
Adaptive Server Anywhere Reference Guide for additional
During backup and restore operations, if Adaptive Server IQ cannot open the
archive device (for example, when it needs the media loaded), it waits for ten
seconds and tries again. It continues these attempts indefinitely until either it is
successful or the operation is terminated with a C
This example makes a full, attended backup of the database
tape devices on UNIX. Before running this backup you must position the tapes
to the start of where the backup files will be written, and connect to
Then issue the following command:
BACKUP DATABASE
BACKUP
defaults to 25 on UNIX platforms. On Windows
is based on the block size of your database.
BLOCK FACTOR
is 1 block.
also uses whatever error detection is available
, the numbers computed on backup are verified
operation. The default is
, or by displaying the backup
TRL
returns an error
is 120 blocks. If
.
CRC ON
enters a
BACKUP
RESTORE
options.
BACKUP
-
.
C
to two
asiquser
.
asiquser

Advertisement

Table of Contents
loading

Table of Contents