Veritas NetBackup™ Commands Reference Guide
- Introduction
 - Appendix A. NetBackup Commands
- acsd
 - add_media_server_on_clients
 - backupdbtrace
 - backuptrace
 - bmrc
 - bmrconfig
 - bmrepadm
 - bmrprep
 - bmrs
 - bmrsrtadm
 - bp
 - bparchive
 - bpbackup
 - bpbackupdb
 - bpcatarc
 - bpcatlist
 - bpcatres
 - bpcatrm
 - bpcd
 - bpchangeprimary
 - bpclient
 - bpclimagelist
 - bpclntcmd
 - bpclusterutil
 - bpcompatd
 - bpconfig
 - bpdbjobs
 - bpdbm
 - bpdgclone
 - bpdown
 - bpduplicate
 - bperror
 - bpexpdate
 - bpfis
 - bpflist
 - bpgetconfig
 - bpgetdebuglog
 - bpimage
 - bpimagelist
 - bpimmedia
 - bpimport
 - bpinst
 - bpkeyfile
 - bpkeyutil
 - bplabel
 - bplist
 - bpmedia
 - bpmedialist
 - bpminlicense
 - bpnbat
 - bpnbaz
 - bppficorr
 - bpplcatdrinfo
 - bpplclients
 - bppldelete
 - bpplinclude
 - bpplinfo
 - bppllist
 - bpplsched
 - bpplschedrep
 - bpplschedwin
 - bppolicynew
 - bpps
 - bprd
 - bprecover
 - bprestore
 - bpretlevel
 - bpschedule
 - bpschedulerep
 - bpsetconfig
 - bpstsinfo
 - bpstuadd
 - bpstudel
 - bpstulist
 - bpsturep
 - bptestbpcd
 - bptestnetconn
 - bptpcinfo
 - bpup
 - bpverify
 - cat_convert
 - cat_export
 - cat_import
 - configureCerts
 - configureCertsForPlugins
 - configureMQ
 - configurePorts
 - configureWebServerCerts
 - create_nbdb
 - csconfig cldinstance
 - csconfig cldprovider
 - csconfig meter
 - csconfig reinitialize
 - csconfig throttle
 - duplicatetrace
 - importtrace
 - jbpSA
 - jnbSA
 - ltid
 - manageClientCerts
 - mklogdir
 - nbauditreport
 - nbcatsync
 - NBCC
 - NBCCR
 - nbcertcmd
 - nbcertupdater
 - nbcldutil
 - nbcloudrestore
 - nbcomponentupdate
 - nbcplogs
 - nbcredkeyutil
 - nbdb_admin
 - nbdb_backup
 - nbdb_move
 - nbdb_ping
 - nbdb_restore
 - nbdb_unload
 - nbdb2adutl
 - nbdbms_start_server
 - nbdbms_start_stop
 - nbdc
 - nbdecommission
 - nbdelete
 - nbdeployutil
 - nbdevconfig
 - nbdevquery
 - nbdiscover
 - nbdna
 - nbemm
 - nbemmcmd
 - nbfindfile
 - nbfirescan
 - nbftadm
 - nbftconfig
 - nbgetconfig
 - nbhba
 - nbholdutil
 - nbhostidentity
 - nbhostmgmt
 - nbhypervtool
 - nbidpcmd
 - nbimageshare
 - nbinstallcmd
 - nbjm
 - nbkmiputil
 - nbkmscmd
 - nbkmsutil
 - nboraadm
 - nborair
 - nbpem
 - nbpemreq
 - nbmlb
 - nbperfchk
 - nbplupgrade
 - nbrb
 - nbrbutil
 - nbregopsc
 - nbreplicate
 - nbrepo
 - nbrestorevm
 - nbseccmd
 - nbsetconfig
 - nbsnapimport
 - nbsnapreplicate
 - nbsqladm
 - nbstl
 - nbstlutil
 - nbstop
 - nbsu
 - nbsvrgrp
 - resilient_clients
 - restoretrace
 - stopltid
 - tldd
 - tldcd
 - tpautoconf
 - tpclean
 - tpconfig
 - tpext
 - tpreq
 - tpunmount
 - verifytrace
 - vltadm
 - vltcontainers
 - vlteject
 - vltinject
 - vltoffsitemedia
 - vltopmenu
 - vltrun
 - vmadd
 - vmchange
 - vmcheckxxx
 - vmd
 - vmdelete
 - vmoprcmd
 - vmphyinv
 - vmpool
 - vmquery
 - vmrule
 - vmupdate
 - vnetd
 - vssat
 - vwcp_manage
 - vxlogcfg
 - vxlogmgr
 - vxlogview
 - W2KOption
 
 - Index
 
Name
mklogdir — creates log directories with the recommended permissions.
SYNOPSIS
 [-create]  [-fixFolderPerm] [-dryrun] [-list] [logdirname(s)]log directory name]  [-user username] 
On UNIX systems, the directory path to this command is /usr/openv/netbackup/logs 
On Windows systems, the directory path to this command is install_path\NetBackup\logs 
DESCRIPTION
mklogdir creates all the NetBackup log directories for a user, with the recommended permissions.
OPTIONS
- -create
 Creates all NetBackup log directories with the recommended permissions as identified by Veritas. Create is the default option in case no other option is specified.
- -list
 Displays a list of all the NetBackup log directories along with the details about the permissions set.
- -fixFolderPerm
 Sets the recommended permissions for the already existing NetBackup log directories, if the permissions are not already set. This scenario refers to the use cases in case of NetBackup version upgrade.
- -dryrun
 Allows the user to review the changes before they are made. If you specify this option, no changes are made to the system.
- -help
 Displays the possible options for the mklogdir command.
- logdirname
 Specifies a list of one or more space-separated log directories on which an action needs to be performed. If no log directories are specified, then the action is performed on all the log directories.
- -user username
 Creates the user folders for the required process log directory. Use this option only for non-root users or users who are not part of administrator groups.
If the user is local user or system user, only username should be used. If the user is part of any domain, specify the user name in this format: "domain_short_name\username". Be aware you must enclose the user name in double quotes (").
EXAMPLES
Example 1 - Create all the NetBackup log directories for a user, with the recommended permissions.
# mklogdir -create
Example 2 - Create the admin and the bpdbm log directories with the recommended permissions.
# mklogdir admin bpdbm
Example 3 - Examine all the existing log directories and set the permissions to those directories which do not have the recommended permissions. This command needs to be used after NetBackup version upgrade to set the recommended permissions for all the existing log files.
# mklogdir -fixFolderPerm
Example 4 - Examine all the existing log directories and display the changes that need to be made to get the recommended permissions.
# mklogdir -fixFolderPerm -dryrun
SEE ALSO
See bpgetdebuglog.