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

SQL Anywhere 10.0.1 » SQL Anywhere Server - Database Administration » SQL Anywhere Environment Variables » Introduction to SQL Anywhere environment variables

SALANG environment variable Next Page

SALOGDIR environment variable


Specifies the location of the backup.syb file.

Syntax

SALOGDIR=directory-name

Remarks

If the SALOGDIR environment variable is set, it is assumed to contain the path for a directory where the backup history file, backup.syb can be written. This file is updated each time you execute a BACKUP or RESTORE statement.

On Windows, the backup.syb file is created in the first writable location in the following list:

  1. The SALOGDIR environment variable.

  2. The installation directory.

    On 32-bit Windows platforms, the default location is install-dir\win32. If this directory does not exist, an error is given.

  3. The directory of the database server executable.

  4. Write the backup.syb file in the root directory of the current drive.

On Unix, the backup.syb file is created in the first writable location in the following list:

  1. The SALOGDIR environment variable.

  2. The HOME environment variable.

  3. Write the backup.syb file to the directory where the database server was started.

See also