Backup Transactions and Partial Database Backups

The following example demonstrates the use of the beginBackup, commitBackup, or abortBackup method to bracket a backup transaction, and also shows a usage of the getDbFiles method to enumerate user data and environmental files and the DbFile class backupFile method to backup each file individually with specified parameter options.