B14speedfreak
Technical User
- Mar 23, 2006
- 182
Hi All,
Thanks in advance for reading and any posts.
I am using netbackup 5.1 on Solaris 5.8 to backup Oracle Databases.
In oracle we can do whats called a Restore Validate which helps us to work out if we had to do a restore if it would work.
Anyhow I run these weekly on the different databases. This week I am looking at doing one however the host name that the netbackup gui is resolving to is the wrong one. The script that I am using sends out the correct name. It eventually errors out with a 131 or sometimes a 135. I thought that it might be something to do with the network, so I left it a few day, but its still not resolving correctly. I can do full backups but not restores. Any ideas anyone?
Heres the script I am running for the oracle/netbackup amoung you:
#!/bin/sh
#
# Validate Script
#
#Variables
NLS_DATE_FORMAT=DD-MON-YYYY:HH24:MI:SS; export NLS_DATE_FORMAT
ORACLE_HOME=/u03/oracle/prod59db/10.1.0 export ORACLE_HOME
ORACLE_SID=PROD59 export ORACLE_SID
ORAID=oraprod export ORAID
today=`date +"%a"`
#main function
#main part of the script
<<EOF su - oraprod
<<EOF_1 rman
connect target /
connect catalog rmang/rmang@rman
#list incarnation;
#list backup summary;
run {
allocate channel ch1 type 'SBT_TAPE';
send "NB_ORA_CLASS=ORAhot_PROD59";
send "NB_ORA_CLIENT=bckfnclunx001";
send "NB_ORA_SCHED=full";
restore validate database ;
release channel ch1;
}
exit
exit
EOF_1
EOF
exit 0
On the NBU gui it resolves to SUNFNCLUNX001 (this is a different network connection). It has been working since I started this job, so not sure whats changed.
Thanks,
B14... aka... Marky Mark... the frozen monkey in the server room...
Thanks in advance for reading and any posts.
I am using netbackup 5.1 on Solaris 5.8 to backup Oracle Databases.
In oracle we can do whats called a Restore Validate which helps us to work out if we had to do a restore if it would work.
Anyhow I run these weekly on the different databases. This week I am looking at doing one however the host name that the netbackup gui is resolving to is the wrong one. The script that I am using sends out the correct name. It eventually errors out with a 131 or sometimes a 135. I thought that it might be something to do with the network, so I left it a few day, but its still not resolving correctly. I can do full backups but not restores. Any ideas anyone?
Heres the script I am running for the oracle/netbackup amoung you:
#!/bin/sh
#
# Validate Script
#
#Variables
NLS_DATE_FORMAT=DD-MON-YYYY:HH24:MI:SS; export NLS_DATE_FORMAT
ORACLE_HOME=/u03/oracle/prod59db/10.1.0 export ORACLE_HOME
ORACLE_SID=PROD59 export ORACLE_SID
ORAID=oraprod export ORAID
today=`date +"%a"`
#main function
#main part of the script
<<EOF su - oraprod
<<EOF_1 rman
connect target /
connect catalog rmang/rmang@rman
#list incarnation;
#list backup summary;
run {
allocate channel ch1 type 'SBT_TAPE';
send "NB_ORA_CLASS=ORAhot_PROD59";
send "NB_ORA_CLIENT=bckfnclunx001";
send "NB_ORA_SCHED=full";
restore validate database ;
release channel ch1;
}
exit
exit
EOF_1
EOF
exit 0
On the NBU gui it resolves to SUNFNCLUNX001 (this is a different network connection). It has been working since I started this job, so not sure whats changed.
Thanks,
B14... aka... Marky Mark... the frozen monkey in the server room...