Veritas NetBackup™ Appliance Administrator's Guide
- Overview
- About accessing the NetBackup Appliance Web Console
- About the NetBackup Appliance Shell Menu
- About appliance console components
- Monitoring the NetBackup appliance
- About hardware monitoring and alerts
- About Symantec Data Center Security on the NetBackup appliance
- Managing a NetBackup appliance from the NetBackup Appliance Web Console
- About storage configuration
- About Copilot functionality and Share management
- About viewing storage space information using the Show command
- About appliance supported tape devices
- About configuring Host parameters for your appliance
- Manage > Appliance Restore
- Manage > License
- About the Migration Utility
- Software release updates for NetBackup Appliances
- About installing EEBs
- About installing NetBackup Administration Console and client software
- Manage > Additional Servers
- Manage > High Availability
- Managing NetBackup appliance using the NetBackup Appliance Shell Menu
- About OpenStorage plugin installation
- About mounting a remote NFS
- About running NetBackup commands from the appliance
- About NetBackup administrator capabilities
- Creating a NetBackup touch file from the NetBackup appliance
- Creating NetBackup administrator user accounts
- About NetBackup administrator capabilities
- About Auto Image Replication between appliances
- About forwarding logs to an external server
- About high availability configuration
- About data erasure
- Understanding the NetBackup appliance settings
- Settings > Notifications
- Settings > Network
- Settings > Authentication
- About configuring user authentication
- About authorizing NetBackup appliance users
- Settings > Authentication > LDAP
- Settings > Authentication > Active Directory
- Settings > Authentication > User Management
- Troubleshooting
- Deduplication pool catalog backup and recovery
Best practices for running NetBackup commands from the NetBackup appliance
The following list provides examples of how you, a NetBackup administrator, can configure an appliance so you can run NetBackup commands from the restricted shell.
You can only create files and directories in user home directory and the subdirectories.
An auto-generated alias file is created in the user home directory that contains a sudo alias for all the NetBackup commands. Thus, when you use a base command name you do not need to specify sudo when you run the command.
The alias file is not honored when you run a command in a script. You must specify sudo before you can use the command.
You can create a file that contains variables for all NetBackup commands with sudo prefix. The variable can be used in the automation scripts to avoid use of sudo for every NetBackup command invocation. The variable file can be sourced in the scripts. For example:
The following command enables you to use the variable ${bpps}.
bpps="sudo /usr/openv/netbackup/bin/bpps"
The following command enables you to use the variable ${nbemmcmd}.
nbemmcmd="sudo /usr/openv/netbackup/bin/admincmd/nbemmcmd"
A cdnbu alias is available for you to use to change directory to a NetBackup install path. That alias takes you to the /usr/openv/ directory.