Contents Index Renaming the backup copy of the transaction log during backup Making a live backup

ASA Database Administration Guide
  Backup and Data Recovery
    Backup and recovery tasks

Backing up a database directly to tape


An archive backup makes a copy of the database file and transaction log file in a single archive destination. Only server-side, full backups can be made in this manner. When you make an archive backup in Sybase Central, you have the option of backing up the database directly to tape or to disk.

For more information, see Types of backup.

To make an archive backup to tape (Sybase Central)

  1. Start Sybase Central. Connect to the database as a user with DBA authority.

  2. Right-click the database and choose Backup Database from the popup menu. The Backup Database wizard appears.

  3. Click Next on the introductory page of the wizard.

  4. Select the database that you want to back up to tape.

  5. On the second page of the wizard, select the On Tape To The Following Device option and type the tape drive in the text box below.

  6. Click Finish to start the backup.

To make an archive backup to tape (SQL)

Notes 

The BACKUP statement makes an entry in the text file backup.syb, in the same directory as the server executable.

For more information about restoring from an archive backup, see Restoring an archive backup.

Example 

The following statement makes a backup to the first tape drive on a Windows NT machine:

BACKUP DATABASE
TO '\\\\.\\tape0'
ATTENDED OFF
WITH COMMENT 'May 6 backup'

The first tape drive on Windows NT is \\.\tape0. Because the backslash is an escape character in SQL strings, each backslash is preceded by another.

The following statement makes an archive file on disk named c:\backup\archive.1.

BACKUP DATABASE
TO 'c:\\backup\\archive'

Contents Index Renaming the backup copy of the transaction log during backup Making a live backup