1833003 Members
2094 Online
110048 Solutions
New Discussion

Re: Restoring backup

 
Rajiv Thakur
Occasional Contributor

Restoring backup

Hi

I am trying to restore a backup from a old tape on HP-UX vision B.10.20 E.
When i give the
command cpio -icd < /dev/rmt/1m it shows me that u should not use c option.
When i just specify cpio -id < /dev/rmt/1m
the system displays a message that i should use c option also.

Could you please help.

regards
R.


"And, when you want something, the whole universe conspires to help you get it."
14 REPLIES 14
A. Clay Stephenson
Acclaimed Contributor

Re: Restoring backup

That pretty much says that this is not a cpio backup. I would at least try to add the 'B' (5k blocking) option to both cpio commands. I would next try tar vtf /dev/rmt/1m and see if you see any thing. If that doesn't work then I suggest that you do:

dd if=/dev/rmt/1m bs=512 count=2 | od -A d -t c -v > myfile.

Then attach myfile and post it and we can probably identify the backup format.
If it ain't broke, I can fix that.
Sridhar Bhaskarla
Honored Contributor

Re: Restoring backup

Hi,

It could as well be a fbackup format. Try

frecover -I /tmp/index -f /dev/rmt/1m

And see if it dumps any index file. If not, it's not fbackup media either.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Uday_S_Ankolekar
Honored Contributor

Re: Restoring backup

The tape backup can be in any format, tar, cpio,fbackup,pax anything ,There is no way to actually tell! You can only do with trial and error method.
Best bet would be dd command as sugested by Clay.
The pax can read both cpio and tar created tapes.

Try with dd first.

-USA..
Good Luck..
Rajiv Thakur
Occasional Contributor

Re: Restoring backup

 
"And, when you want something, the whole universe conspires to help you get it."
Massimo Bianchi
Honored Contributor

Re: Restoring backup

Hi,
from the tape it is and old, very old Omniback media.


I suggest you to download a free copy of OB/DP, install the trial, import the tape and do the restore.

I wonder if you can import the tape, since it looks like a version 1 of OB (i never saw it..)

With the free trial, you have 60 days for this purpose.

HTH,
Massimo

Michael Steele_2
Honored Contributor

Re: Restoring backup

Restore with cpio:

cpio -itumvB < /dev/rmt/0m (* list table of contents / index *)

cpio -idumvB < /dev/rmt/0m (* restore *)

Also refer to PAX. PAX is the ignite backup utility. It will automatically decypher 'tar' and 'cpio' utilities:

pax -v -f /dev/rmt/0m (* list of contents *)

pax -r -f /dev/rmt/0m (* restore *)
Support Fatherhood - Stop Family Law
Caesar_3
Esteemed Contributor

Re: Restoring backup

Hello!

You have backup tape of OmniBack
If you have OmniBack then scan&import the tape
with Omni and you will see what's on the tape.

Caesar
twang
Honored Contributor

Re: Restoring backup

I suggest that you should see what's actually on the tape without restoring or extracting using diff backup commands:

# frecover -rNv -f /dev/rmt/0m
# frecover -Nrosv -f /dev/rmt/0m > your_filename 2>&1
# cpio -it < /dev/rmt/0m
# tar tvf /dev/rmt/0m
Rajiv Thakur
Occasional Contributor

Re: Restoring backup

Hi

I had a old Omni backup software installed on my server.
While starting the xomni software using xomni from /opt/omni/bin folder, it displays an error message "display could not be found".
I tried setting up display as DISPLAY=ipaddress:0.0 and export display
even then it displays the same error.
Any thoughts on this please.

regards
R.
"And, when you want something, the whole universe conspires to help you get it."
GK_5
Regular Advisor

Re: Restoring backup

The server should be in the list of servers which has access control. try this command
# xhost servername
Then telnet to servername and export DISPLAY.

Hope this help.
IT is great!
A. Clay Stephenson
Acclaimed Contributor

Re: Restoring backup

No utility other than OmniBack is going to work. I suspect that the reason you couldn't start xomni was that you were not running an Xserver. You need an Xterminal or a PC-based X emulator like ReflectionX or eXceed.
If it ain't broke, I can fix that.
Rajiv Thakur
Occasional Contributor

Re: Restoring backup

Hi

First of all thanks to all u guys for helping me out. This forum is great and it is u guys who make this forum look GREAT.

The prcess that i am following is :-
1.Start exceed (exceed-host access-telnet thru' VT) giving a IP address and finally entering Username and password.
2.After getting connected, enter the command
DISPLAY=IPADDRESS:0.0
3.echo $DISPLAY
4.Export DISPLAY
5.xomni

I also verified using nslookup IPAddress which gives me a valid result.

Am i missing anything ?

thanks
R.




regards
R.


"And, when you want something, the whole universe conspires to help you get it."
A. Clay Stephenson
Acclaimed Contributor

Re: Restoring backup

We need to find out if we are fighting an Xserver problem or a corrupt xomni. Using exceed, execute something like /usr/bin/X11/xclock & ands see if that works.
If it ain't broke, I can fix that.
Caesar_3
Esteemed Contributor

Re: Restoring backup

Hello!

Does other X programs work or not?
It will help to understand.

Caesar