Installation guide

129
Security Management Center Commands
sgArchiveExport
(continued)
Host specifies the address of the Management Server. If the
parameter is not defined, the loopback address (localhost) is
used.
login defines the username for the account that is used for
this operation. If this parameter is not defined, the username
root is used.
pass defines the password for the user account.
format defines the file format for the output file. If this
parameter is not defined, the XML format is used.
i defines the source from which the logs will be exported. Can
be a folder or a file. The processing recurses into subfolders.
o defines the destination file where the logs will be exported. If
this parameter is not defined, the output is displayed on screen.
f defines a file that contains the filtering criteria you want to use
for filtering the log data. You can export log filters individually in
the Management Client through Tools
→Save for Command Line
Tools in the filter’s right-click menu.
e allows you to type in a filter expression manually (using the
same syntax as exported filter files).
-h, -help, or -? displays information on using the script.
-v displays verbose output on the command execution.
Example (exports logs from one full day to a file using a filter):
sgArchiveExport login=admin pass=abc123
i=c:/mcafee/security_management_center/data/
archive/firewall/year2011/month12/./sgB.day01/
f=c:/mcafee/security_management_center/export/
MyExportedFilter.flp format=CSV
o=MyExportedLogs.csv
sgBackupAuthSrv
[pwd=<password>]
[path=<destpath>]
[nodiskcheck]
[comment=<comment>]
[-h | --help]
Creates a backup of Authentication Server user information. The
backup file is stored in the <installation directory>/
backups/ directory. Backing up the Authentication only backs
up Users, not the configuration of the Authentication Server. The
Authentication Server configuration is included in the
Management Server backup.
pwd enables encryption.
path defines the destination path.
nodiskcheck ignores free disk check before creating the
backup.
comment allows you to enter a comment for the backup. The
maximum length of a comment is 60 characters.
-h or --help displays information on using the script.
Also see sgRestoreAuthBackup.
Table A.1 Security Management Center Command Line Tools (Continued)
Command Description