CHAPTER 11 Backup and Data Recovery
383
•
For stacker devices that hold multiple tape drives, all tapes for a given
device must be the same size.
Sybase recommends that you always start a new tape for every backup.
Before starting a backup to disk, Adaptive Server IQ first tests whether there is
enough disk file space for the backup. For an operator-attended backup to disk,
if there is not enough space,
BACKUP
prompts you to move some files from the
disk before it writes any data. The backup does not start until you provide more
disk space.
Likewise, if you run out of space during an attended disk backup,
BACKUP
closes all open backup files and waits until it detects that you have cleared
some space. Then it restarts with new backup files. You can also stop the
backup if you prefer.
By default, you must provide at least 8KB of free disk space before the backup
resumes.
Unattended backup cannot prompt you to provide more space. If enough space
is not available, unattended backup fails.
BACKUP
treats size estimates
differently for unattended backups. See “Unattended backup” for details.
For an operator-attended backup to tape,
BACKUP
simply begins the backup. If
it runs out of room, you must mount additional tapes.
Concurrency and backups
Backups can be run concurrently with all other database operations with one
exception: no metadata changes can occur while the Catalog Store is backed
up. Be aware, however, that transactions that have not committed when you
start a backup are not backed up. If a system or media failure occurs during
backup, you cannot restore uncommitted transactions.
Once a backup is started, you cannot execute a
CHECKPOINT
command.
The BACKUP statement
To back up an IQ database, use the following syntax:
BACKUP DATABASE
...[ CRC ON | OFF ]
...[ ATTENDED ON | OFF ]
...[ BLOCK FACTOR
integer ]
...[ { FULL | INCREMENTAL | INCREMENTAL SINCE FULL } ]
Summary of Contents for Adaptive Server IQ 12.4.2
Page 1: ...Administration and Performance Guide Adaptive Server IQ 12 4 2 ...
Page 16: ...xvi ...
Page 20: ...Related documents xx ...
Page 40: ...Compatibility with earlier versions 20 ...
Page 118: ...Troubleshooting startup shutdown and connections 98 ...
Page 248: ...Importing data by replication 228 ...
Page 306: ...Integrity rules in the system tables 286 ...
Page 334: ...Cursors in transactions 314 ...
Page 396: ...Users and permissions in the system tables 376 ...
Page 438: ...Determining your data backup and recovery strategy 418 ...
Page 484: ...Network performance 464 ...
Page 500: ...System utilities to monitor CPU use 480 ...
Page 514: ...Characteristics of Open Client and jConnect connections 494 ...
Page 536: ...Index 516 ...