Views, utilities, and procedures return details about previous backups.
select * from sysiqbackuphistoryIn these results, each row represents a successful backup operation:
bu_id bu_time type selective_type virtual_type dependson_id cmd creator version -------- ----------------------- ---- -------------- ------------ ------------ ------------------------ -------- ------- 312372 2013-07-15 09:13:54.000 0 0 0 0 backup database to ... DBA 8SYSIQBACKUPHISTORY is a system view that stores details about previous backup operations. See Reference: Building Blocks, Tables, and Procedures > System Tables and Views > System Views > Alphabetical List of System Views > SYSIQBACKUPHISTORY System View.
Reads the first backup archive, returns backup statistics and definitions.
db_backupheader [ path ] backup_fileExecute db_backupheader from the command line. Output includes backup statistics, database definitions, dbspace and dbfile specifics.
Summarizes backup operations.
Syntax:
sp_iqbackupsummary [ timestamp or backup_id ]
Results
are similar
to:backup_id backup_time backup_type selective_type virtual_type depends_on_id creator backup_size user_comment backup_command --------- --------------------- ------------ -------------- ------------ ------------- ------- ----------- ------------ ------------------- 312372 2013-07-15 09:13:54.0 Full All inclusive Non virtual 0 DBA 50800 (NULL) backup database to ...See Reference: Building Blocks, Tables, and Procedures > System Procedures > Alphabetical List of System Stored Procedures > sp_iqbackupsummary Procedure .
Summarizes operations performed by a particular backup.
sp_iqbackupdetails 'backup_id'
Results
are similar
to:backup_id backup_time backup_type selective_type depends_on_id dbspace_id dbspace_name dbspace_rwstatus dbspace_createid ... --------- ----------- ---------- ------------- -------------- ------------- ---------- ------- ------ ----------------- ----------------- ... 312372 2013-07-15 09:13:54.0 Full All inclusive 0 0 system ReadWrite 0 ... 312372 2013-07-15 09:13:54.0 Full All inclusive 0 16384 IQ_SYSTEM_MAIN ReadWrite 0 ... 312372 2013-07-15 09:13:54.0 Full All inclusive 0 16387 iq_main ReadWrite 6 ...This example omits some columns that appear in the output. See Reference: Building Blocks, Tables, and Procedures > System Procedures > Alphabetical List of System Stored Procedures > sp_iqbackupdetails Procedure.
Identifies actions required to restore the database to a consistent state for a given date.
sp_iqrestoreaction 'timestamp'
Results
are similar
to:sequence_number backup_id backup_archive_list backup_time virtual_type restore_dbspace restore_dbfile backup_comment --------------- ------------ -------------------- --------------------- ------------- --------------- -------------- -------------------------- 1 1192 c:\\\\temp\\\\b1 2008-09-23 14:47:40.0 Non virtual 2 1201 c:\\\\temp\\\\b2.inc 2008-09-23 14:47:40.0 Non virtual 3 1208 c:\\\\temp\\\\b3.inc 2008-09-23 14:47:40.0 Non virtualSee Reference: Building Blocks, Tables, and Procedures > System Procedures > Alphabetical List of System Stored Procedures > sp_iqrestoreaction Procedure.