Veritas NetBackup™ for SQLite Administrator's Guide

Last Published:
Product(s): NetBackup (8.1.1)

The nbsqlite.conf configuration file

The configuration file (nbsqlite.conf) contains the parameters that you must specify for the respective operations. It contains predefined settings and is located on the client. You can configure the parameters in the nbsqlite.conf file or provide them on the command line. The parameters on the command line take precedence over the nbsqlite.conf file.

When you do not specify the parameter, the default values take precedence.

The nbsqlite.conf file keeps you from providing the parameters every time you run operations.

The nbsqlite.conf file is located in the following locations:

  • (Windows)

    C:\Program Files\Veritas\NBSQLiteAgent\nbsqlite.conf

  • (Linux RHEL and SUSE) /usr/NBSQLiteAgent/nbsqlite.conf

Table: The nbsqlite.conf file lists the parameters for the operations.

Table: The nbsqlite.conf file

Parameters

Description

Required parameter for

Default value

SQLITE_DB_PATH

Configures the SQLite database path.

Backups

No default value for this parameter.

MASTER_SERVER_NAME

Specifies the NetBackup master server to the nbsqlite operations.

Backups, restores, query, and delete.

No default value for this parameter.

POLICY_NAME

Specifies the DataStore policy name.

Backups

No default value for this parameter.

SCHEDULE_NAME

Identifies the backup schedule that you configured when creating the DataStore policy.

Backups

No default value for this parameter.

CLIENT_NAME

Defines the NetBackupclient that has the agent.

Redirected restores and query

When you do not set this parameter, it defaults to the NetBackup master server.

SNAPSHOT_SIZE

(Linux) Specifies the snapshot size for LVM snapshots in kilobytes, megabytes, or gigabytes in KB, MB, or GB respectively.

LVM backups

When you do not set this parameter, it defaults to MB.

DB_BACKUP_ID

Represents the backup image name. This parameter configures the backup file that you specify using the backup image name.

To delete and restore a backup file by specifying the backup image name.

No default value for this parameter.

SQLITE_TARGET_DIRECTORY

Specifies the destination directory where you want to restore the backups.

Restores

No default value for this parameter.

NBSQLITE_LOG_LEVEL

The NBSQLITE_LOG_LEVEL parameter lets you set the logging level for the nbsqlite logs. For a particular logging level, all details at that level or lower are logged.

The nbsqlite debug logs includes the following verbose levels:

  • 1 - ERROR: Conditions that should be corrected, such as configuration errors.

  • 2 - WARN: Conditions that are not errors, but that might require special handling.

  • 3 - INFO: Informational messages.

  • 4 - DEBUG: Debugging the messages that are used for troubleshooting.

The log levels help to control the amount of information that you want to access for troubleshooting errors.

When you do not set this value, it defaults to log level 1.

NBSQLITE_LOG_SIZE

Specifies the nbsqlite log size in MB. When the log reaches the specified size, it overwrites the existing log information.

You can specify the value according to the events that you want to write into the logs.

When you do not set this parameter, it defaults to 10MB.