Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Guidelines for using the command-line utility

SmSqlBi enables you to enter SnapManager backup and verification commands individually or through automation scripts.

Location of the command-line utility  Top

The SmSqlBi command-line utility is located in the SnapManager installation directory. The default installation directory for SnapManager 2.1 for Microsoft SQL Server is as follows:

C:\Program Files\NetAppSnapManager for SQL Server\

Summary of parameters  Top

When you launch SmSqlBi, it displays a summary of parameters as shown below.

Usage: SmSqlBi -H <Sql Server host name> [-U <Login> -P <Password>]
-S <SQL Server Name> -C <Number of databases> <Database Name>..
-D <Number of backups to keep>
-R <Retain up-to-the-minute restore ability for older backups in 
other management groups>
-K <Number of SnapInfo Drive Snapshots to keep>
[-Q <Verification Server> [-I <verify Login> -W <verify Passwd>]]
[-mp[-mpdir mount_point_directory_path]]
-M <Number of backups to verify>
-A <Attach database after verification>
-RS <Run Command Server>
-RP <Run Command Path>
-RA <Run Command Arguments>
-X DBCC before backup
-Y DBCC after backup
-L Transaction log backup
-G Transaction log backup after full backup
-J Create Snapshot of SnapInfo Drive after backup
-O Remove inactive entries from transaction logs
-N No verification after backup
-Daily Daily management group
-Weekly Weekly management group
-Monthly Monthly management group
-All All management group
-UN Use "Time Stamp" naming convention
-UM Update SnapMirror after operation

Tips for using the command-line utility  Top

Observe the following guidelines when using the SnapManager command-line feature:

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments