Performing SQLite backups
Before you perform the backups, you must meet the following prerequisites:
Ensure that versions of the SQLite agent and NetBackup are same. If you upgrade NetBackup to newer version, then you must upgrade the agent version also.
Ensure that the user has administrator (Windows) or root (Linux) access.
(Windows) Set the
NetBackup\bindirectory in the user variable path.Configure the DataStore policy from the .
(LVM) Verify that there is enough space for the snapshot in the volume group, and then set the snapshot size in
nbsqlite.conffile or by the command line.Note:
Ensure that the snapshot size is 110% of the file size that you want to backup.
Set the following parameters in the
nbsqlite.conffile:SQLITE_DB_PATH
MASTER_SERVER_NAME
POLICY_NAME
SCHEDULE_NAME
(Linux) SNAPSHOT_SIZE
To run backup
- Configure the parameters in the
nbsqlite.conffile or on the nbsqlite command line. - Run the following command:
nbsqlite -o backup
-S master_server_name
-P policy_name
-s schedule_name
(Linux) -z snapshot_size
-d sqlitedb_db_path
Note:
Ensure that the SQLite agent and NetBackup are of same version for successful backup and restore operations.
You can schedule SQLite backups from the using the DataStore policy to call a backup script.
For more information, see https://www.veritas.com/support/en_US/article.100041699