Operating System - HP-UX
1826215 Members
2879 Online
109691 Solutions
New Discussion

Re: Backing up system to remove tapedrive

 
Henry Chua
Super Advisor

Backing up system to remove tapedrive

I have a Box running HP10.20B. and I will like to backup one of its filesystem incrementally to a remote tapedrive (DLT tape) running on Solaris 5.1... what is the normal practise for this type of job?

Regards
Henry
11 REPLIES 11
Peter Godron
Honored Contributor

Re: Backing up system to remove tapedrive

Henry,
one approach is to nfs mount the data you want to backup and then run the backup from the solaris box. Problems include loss of nfs connection/slowness of backup. Also use the dd command to perform the backup for compatibility reasons.

Regards
Noel Miranda
Frequent Advisor

Re: Backing up system to remove tapedrive

You can use tar with the "u" switch, which will add files to the archive if they are not already present or have been modified since they were last written to the archive.
Peter Godron
Honored Contributor

Re: Backing up system to remove tapedrive

Henry,
have tried the suggestions?
Any feedback?
regards
TwoProc
Honored Contributor

Re: Backing up system to remove tapedrive

If you have ssh connectivity (or even .rhosts - but I don't suggest that) - you can do something like:
a) on hpux box using ssh:
cd /mylocaldir
tar cvf - . | ssh sunbox "cd /destdir; tar xvf - "
b) on hpux box using remsh
tar cvf - . | remsh sunbox "cd /desdir; tar xvf - "

We are the people our parents warned us about --Jimmy Buffett
harry d brown jr
Honored Contributor

Re: Backing up system to remove tapedrive

John,

NOT on a 10.20 box!

henry,

What backup software do you have available on the HPux box???

You could use tar to a named pipe and then dd the data to the sun box to the tape drive.

live free or die
harry d brown jr
Live Free or Die
TwoProc
Honored Contributor

Re: Backing up system to remove tapedrive

I'm missing it Harry - why not on a 10.20 box?
We are the people our parents warned us about --Jimmy Buffett
harry d brown jr
Honored Contributor

Re: Backing up system to remove tapedrive

Do you have a build for ssh on 10.20 ??

live free or die
harry d brown jr
Live Free or Die
Victor Fridyev
Honored Contributor

Re: Backing up system to remove tapedrive

Hi,

If I remember correctly, you can use SAM in order to set a backup on a remote tape drive. I done this for HPUX -> HPUX and I hope this works for HPUX -> another OS.

Good luck.
Entities are not to be multiplied beyond necessity - RTFM
TwoProc
Honored Contributor

Re: Backing up system to remove tapedrive

Harry - here you go... v3.9 and v4.0

Bottom-most links on the following pages are for "HPUX" which is (from my reading) HPUX 10.20.

http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/openssh-3.9p1/
http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/openssh-4.0p1/
We are the people our parents warned us about --Jimmy Buffett
Henry Chua
Super Advisor

Re: Backing up system to remove tapedrive

hi guys,

How do i find out whether my box possesses ssh?
TwoProc
Honored Contributor

Re: Backing up system to remove tapedrive

Try the command "ssh" or /usr/bin/ssh to see if its there. If it's not, you can get it at the two links I sent in an above posting. If you look at other recent postings in the HPUX forum, you can see there are instructions on how to generate and use the keys to make it all work... http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=837627
. That's my response, but if you search the forums, I think that I've seen much better explanations on how to use it and set it up.
We are the people our parents warned us about --Jimmy Buffett