Oracle Backup/Restore
Trying to perform backups and restores on a Linux Server which has Oracle. My Netbackup Master Server is Windows 2008. My laptop is a Mac
I was able to successfully backup the Oracle DBs (I used the hot_database_backup.bch script) but my issue is now restoring the DBs. Reading the Oracle Admin Guide I see a few different options
1) From Master Server I open Backup, Archive, Restore Window and I can see a "Oracle" icon but no history or ability to expand the selection so this doesn't seem to be any help in performing a restore
2) From client "/usr/openv/netbackup/bin/jbpSA &" but when I run this it gives me an error regarding about a X11 display. I spoke with a Mac guy in my office as I just switched to a Mac laptop and he wasn't able to help in regard to displaying the JAVA applet on my Mac. Any suggestions?
Any suggestions of how I can review backup history and select a backup to use for a restore?
Comments 18 Comments • Jump to latest comment
I forgot to mention I am trying to restore it back to orginal server.
You need X client on your laptop. (This is not supplied by Symantec)
Not sure if Macs have this by default or you need to download & set it up.
will restore -- where there is a Will there is a way
I installed XQuartz. When I run the /usr/openv/netbackup/bin/jbpSA & command I am getting Error 526 and when trying to fix the problem it seems relevant to this link http://www.symantec.com/business/support/index?page=content&id=HOWTO51761
The PBX Service is running but I have no idea how to check the java/gui properties, I don't see a nbj.conf file? Is this file on my Mac or the target server? I assume it is on the target server.
Your log looks just like this recent post; see Mark's solution here:
https://www-secure.symantec.com/connect/forums/unable-log-netbackup-gui-status-526#comment-8300231
will restore -- where there is a Will there is a way
I cycled the Netbackup Services and Stop/Started the pbx_exchange server.
I also accessed the sshd_config file and changed the X11Forwarding yes
Still receiving the following error.
Tim, not sure how you're doing this, but
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
Did you not set the DISPLAY variable this time around?
Regards Andy
"Have you still got the box it came in?"
Find yourself a Windows desktop with Java console, or simply use 'normal' rman commands/scripts on the client.
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
Marianne: Unfortunately using a Windows Machine is not an option
Andy:
Do I set the display variable from that same file sshd_file?
I ran a command from my Mac : export DISPLAY=:0.0 before and that didn't help
Not sure how you're doing this nor your environment per se (& currently on 'phone with someone!) but I telnet to master server, set environment variable within shell to my PCs IP address & export then run the jnbSA
e.g. DISPLAY=10.20.30.40:0.0 ; export DISPLAY
[[Editted a couple of times for typos - can't talk about one subject & type about another at the same time!]]
Regards Andy
"Have you still got the box it came in?"
I am trying to open the Netbackup Java Applet of the Linux Client using XQuartz
My Laptop is a Mac
Client is Linux
Using XQuartz as the X-Client App
Do I run that DISPLAY command from the terminal console on my Mac?
I just tried the command from Mac
P90X-MBA:Desktop obrient$ DISPLAY=10.100.27.254:0.0 ; export DISPLAY
export has to be run on the Linux host to redirect display to your laptop
will restore -- where there is a Will there is a way
Now receiving this error:
Looks like the guys went thru' something similar a few months back:
https://www-secure.symantec.com/connect/forums/cou...
-> is the x-server/application running on your laptop?
..... but this still isn't getting to your original issue yet!
Regards Andy
"Have you still got the box it came in?"
yeah I found that link when trying to fix this newest issue.
Thanks for your feedback with my issue.
see the XQuartz FAQ for ssh X forwarding
"http://xquartz.macosforge.org/trac/wiki/X11-UsersFAQ#"
will restore -- where there is a Will there is a way
I think I need to change the following to make X Windows work.
Need to set the following: java -Djava.awt.headless=true
But the don't know where to make this change, I opened up jbpsa file and thought I would set it there but I don't see any referring to this.
Anyone have any thoughts of where this setting needs to be done?
Suppose you could add this to jnbSA script but I fail to see why you would need it -- we never have.
Marianne might be right - simpler to set up a Windows workstation if you are not familiar with unix.
will restore -- where there is a Will there is a way
Would you like to reply?
Login or Register to post your comment.