a_backup_db structure
Holds the information needed to perform backup tasks using the DBTools library.
Syntax
typedef struct
a_backup_db
auto_tune_writers char
Enable/disable auto tune writers.
backup_comment const char *
Comment used for the WITH COMMENT clause.
backup_database a_bit_field
Back up the database file.
backup_history char
Backup history.
backup_interrupted char
Indicates that the operation was interrupted when non-zero.
backup_logfile a_bit_field
Back up the transaction log file.
chkpt_log_type char
Control copying of checkpoint log.
confirmrtn MSG_CALLBACK
Address of a confirmation request callback routine or NULL.
connectparms const char *
Parameters needed to connect to the database.
errorrtn MSG_CALLBACK
Address of an error message callback routine or NULL.
hotlog_filename const char *
File name for the live backup file.
msgrtn MSG_CALLBACK
Address of an information message callback routine or NULL.
no_confirm a_bit_field
Operate without confirmation.
output_dir const char *
Path to the output directory for backups, for example: "c:\backup".
page_blocksize a_sql_uint32
Number of pages in data blocks.
progress_messages a_bit_field
Display progress messages.
quiet a_bit_field
Operate without printing messages.
rename_local_log a_bit_field
Rename the local backup of the transaction log.
rename_log a_bit_field
Rename the transaction log.
server_backup a_bit_field
Perform backup on server using BACKUP DATABASE.
statusrtn MSG_CALLBACK
Address of a status message callback routine or NULL.
truncate_log a_bit_field
Delete the transaction log.
version unsigned short
DBTools version number (DB_TOOLS_VERSION_NUMBER).
wait_after_end a_bit_field
Wait after end.
wait_before_start a_bit_field
Wait before start.
Parent topic:
Database Tools C API Reference
Created May 22, 2013. Send feedback on this help topic to Technical Publications:
pubs@sybase.com