Permision denied 13
Hello Everybody!!
I would like to know if could be posible to run backups as non root on Linux.
The enviroment is as follow.
The master server is installed on Redhat and the netbackup verion is 7.5.0.5
We have a NAS storage mounted as NFS on the master server for backing up NAS information. At operating system root user can not read files but other users can do it.
so when I run the backup I got the error
10:09:26.265 [5933] <4> bpbrm main: from client S01NETAGNPN01: TRV - Cannot process path [/RMAN_BKP_NAS/PORTACTP/PORTACTP_full_nrph3ru8_1_1.bck]: [Permission denied]. Skipping
10:09:26.276 [5933] <4> bpbrm main: from client S01NETAGNPN01: TRV - Cannot process path [/RMAN_BKP_NAS/PORTACTP/PORTACTP_full_nsph3ru9_1_1.bck]: [Permission denied]. Skipping
10:09:26.286 [5933] <4> bpbrm main: from client S01NETAGNPN01: TRV - Cannot process path [/RMAN_BKP_NAS/PORTACTP/PORTACTP_full_ntph3rus_1_1.bck]: [Permission denied]. Skipping
10:09:26.296 [5933] <4> bpbrm main: from client S01NETAGNPN01: TRV - Cannot process path [/RMAN_BKP_NAS/PORTACTP/PORTACTP_full_nuph3rut_1_1.bck]: [Permission denied]. Skipping
Is it posible to run backup as non root user on the master server?
Best regards,
in linux its not poosible to run as other users ..
only root is alllowed to run...
but you have an alternat way...
have a look at Marianne comment below link
https://www-secure.symantec.com/connect/forums/account-used-netbackup-perform-backups#comment-9478221
###copy from Marianne comment ####
"You may want to create a crontab for this account to backup the files with bpbackup command.
Add a User type schedule to existing policy with open window during which user backup will be allowed.
bpbackup command will look similar to this:
/usr/openv/netbackup/bin/bpbackup -p <policy-name> -s <user-schedule-name> -L /path/logfile-name /filesystem-path"