Run a full backup to back up both the database file and the transaction log.
You must have the BACKUP DATABASE and VALIDATE ANY OBJECT system privileges.
Contexte et remarques
The backup copies of the database file and transaction log file have the same names as the online versions of these files. For example, if you make a backup of the sample database, the backup copies are called demo.db and demo.log. When you repeat the backup statement, choose a new backup directory to avoid overwriting the backup copies.
Connect to the database.
Validate the database to ensure that it is not corrupt. You can use the Validation utility, the sa_validate stored procedure, or the VALIDATE DATABASE statement.
Make a backup of your database file and the transaction log. For example, use the BACKUP statement.
The following statement creates a full backup of the database in the directory C:\temp\backup:
BACKUP DATABASE DIRECTORY 'c:\\temp\\backup';
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0|