Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.1 » SQL Anywhere Server - Programming » Embedded SQL

 

Database backup with embedded SQL

The recommended way to backup a database is to use the BACKUP statement.

The db_backup function provides another way to perform an online backup in embedded SQL applications. Note that the SQL Anywhere Backup utility also makes use of this function.

You can also interface directly to the SQL Anywhere Backup utility using the Database Tools DBBackup function.

You should only undertake to write a program using the db_backup function if your backup requirements are not satisfied by the any of the other backup methods.

 See also