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
 - 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
 - configurePorts
 - create_nbdb
 - csconfig cldinstance
 - csconfig cldprovider
 - csconfig meter
 - csconfig throttle
 - duplicatetrace
 - importtrace
 - jbpSA
 - jnbSA
 - ltid
 - manageClientCerts
 - mklogdir
 - nbauditreport
 - nbcatsync
 - NBCC
 - NBCCR
 - nbcertcmd
 - nbcertupdater
 - nbcldutil
 - nbcomponentupdate
 - nbcplogs
 - nbdb_admin
 - nbdb_backup
 - nbdb_move
 - nbdb_ping
 - nbdb_restore
 - nbdb_unload
 - nbdbms_start_server
 - nbdbms_start_stop
 - nbdc
 - nbdecommission
 - nbdelete
 - nbdeployutil
 - nbdevconfig
 - nbdevquery
 - nbdiscover
 - nbdna
 - nbemm
 - nbemmcmd
 - nbexecute
 - nbfindfile
 - nbfirescan
 - nbftadm
 - nbftconfig
 - nbgetconfig
 - nbhba
 - nbholdutil
 - nbhostidentity
 - nbhostmgmt
 - nbhypervtool
 - nbjm
 - nbkmsutil
 - nboraadm
 - nborair
 - nbpem
 - nbpemreq
 - nbperfchk
 - nbplupgrade
 - nbrb
 - nbrbutil
 - nbregopsc
 - nbreplicate
 - nbrestorevm
 - nbseccmd
 - nbsetconfig
 - nbsnapimport
 - nbsnapreplicate
 - nbsqladm
 - nbstl
 - nbstlutil
 - nbstop
 - nbsu
 - nbsvrgrp
 - resilient_clients
 - restoretrace
 - stopltid
 - tl4d
 - tl8d
 - tl8cd
 - tldd
 - tldcd
 - tlhd
 - tlhcd
 - tlmd
 - 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
 - vwcp_manage
 - vxlogcfg
 - vxlogmgr
 - vxlogview
 - W2KOption
 
 
Name
mklogdir — creates log directories with the recommended permissions.
SYNOPSIS
 [-create]  [-fixFolderPerm] [-dryrun] [-list] [logdirname(s)]log directory name]   
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.
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.