Start a database backup
#include <qdb/qdb.h> int qdb_backup( qdb_hdl_t *db, int scope );
This function performs a backup on the connected database db and optionally any attached databases, depending on the scope argument. Backups are controlled in the database configuration object, with the BackupDir and Compression options.
If a backup is cancelled, either by a client calling qdb_bkcancel() or by a user echoing the cancel command to the QDB resource manager interface, the call to qdb_backup() fails and returns -1, with errno set to EINTR.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |