Veritas NetBackup™ Appliance Administrator's Guide
- Overview
- About NetBackup appliances
- About the Primary Server role
- About the media server role
- About accessing the NetBackup Appliance Web Console
- About the NetBackup Appliance Shell Menu
- About appliance console components
- About the NetBackup Appliance Web Console login page
- NetBackup appliance home page
- Common tasks in NetBackup appliance
- About the NetBackup appliance documentation
- Monitoring the NetBackup appliance
- About 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 the Manage views
- About storage configuration
- Manage > Storage
- Manage > Storage > Shares
- About Universal shares migration
- Checking partition details
- Resizing a partition
- Resize dialog
- Troubleshooting resize-related issues
- Moving a partition
- Move dialog
- Moving the MSDP partition from a base disk to an expansion disk for optimum performance
- Scanning storage devices from the NetBackup Appliance Web Console
- Adding the storage space from a newly available disk
- Removing an existing storage disk
- Monitoring the progress of storage manipulation tasks
- Scanning storage devices using the NetBackup Appliance Shell Menu
- About Copilot functionality and Share management
- About viewing storage space information using the Show command
- About storage email alerts
- About appliance supported tape devices
- About configuring Host parameters for your appliance
- Manage > Appliance Restore
- Manage > Appliance 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 > File Manager
- Manage > High Availability
- Managing NetBackup appliance using the NetBackup Appliance Shell Menu
- Expanding the bandwidth on the NetBackup appliance
- About configuring the maximum transmission unit size
- About OpenStorage plugin installation
- About mounting a remote NFS
- About running NetBackup commands from the appliance
- About NetBackup administrator capabilities
- Running NetBackup commands from the NetBackup appliance
- Creating a NetBackup touch file from the NetBackup appliance
- About NetBackup operating system commands
- Best practices for running NetBackup commands from the NetBackup appliance
- Known limitations of running NetBackup commands from the NetBackup appliance
- Creating NetBackup administrator user accounts
- Deleting NetBackup administrator user accounts
- Viewing 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
- Understanding the NetBackup appliance settings
- About modifying the appliance settings
- Settings > Notifications
- Settings > Network
- Settings > Date and Time
- Settings > Authentication
- About configuring user authentication
- About authorizing NetBackup appliance users
- Settings > Authentication
- Settings > Authentication > LDAP
- Adding an LDAP server configuration
- Importing an LDAP server configuration
- Setting the SSL certification
- Exporting an LDAP configuration
- Unconfiguring LDAP user authentication
- Enabling the LDAP server configuration
- Disabling the LDAP server configuration
- Deleting LDAP configuration parameters
- Adding LDAP configuration parameters
- Adding an LDAP attribute mapping
- Deleting an LDAP attribute mapping
- Settings > Authentication > Active Directory
- Settings > Authentication > User Management
- Settings > Password Management
- Troubleshooting
- Deduplication pool catalog backup and recovery
- Index
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.