Operating System - HP-UX
1834497 Members
2928 Online
110067 Solutions
New Discussion

fbackup/frecover to remote host

 
kirit_2
Frequent Advisor

fbackup/frecover to remote host

Hi

I would like to know whether it is possible to take backup from one hp-ux system direcotory and restore it to second hp-ux server in same cluster.

exact requirement.

two server in hp-ux cluster named nmssrv1 and nmssrv2.

- nmssrv1 is connected to DS2405 storage and having vgs /d/db and /d/db01 mounted as /d/db and /d/db01.

nmssrv2 i want to connect to another storage say emc and i have created same vgs /d/db and /d/d01 on that and mounted also as /d/db and /d/db01.

- i want to restore data of /d/db and /d/db01 from server nmssrv1 to /d/db and /d/db01 of server without using DAT/DLT drive, means i want to use fbackup and frecocver commands in one command line.

- this is very urgent if somebody can give solution for it.
8 REPLIES 8
Peter Godron
Honored Contributor

Re: fbackup/frecover to remote host

Hi,
why don't you use NFS ?
nfs mount nmssrv1/d/db and nmssrv1/d/db01 onto nmssrv2 as nmssrv2/d/o_db and nmssrv2/d/o_db01 and then just cp -r.
kirit_2
Frequent Advisor

Re: fbackup/frecover to remote host

Hi
Thanks for your reply.

we thought of using rcp -p but rcp doesnt copy the symbolik link.

can you suggest something else...
Peter Godron
Honored Contributor

Re: fbackup/frecover to remote host

Hi,
although this thread mentions tapes, it will work for remote as well:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=982670

You could also modify "Use tar in a pipeline to copy the entire file system hierarchy under fromdir to todir:" from "man tar"

SANTOSH S. MHASKAR
Trusted Contributor

Re: fbackup/frecover to remote host

Hi,

If downtime is possible,
is it possible to connect VGs of both storage
to one server say nmssrv2 for time being.

If so, activate volume groups on both the storages,
mount filesystems and simply usr cp -R or cpio
to copy files from one mount pt. to other mount
pt.

After copy restore the storage connectivity to
appropriate server.

Just a suggestion ;).

But best way is to use tape backup/restore
using fbackup/frecover for a guarenteed consistency.

-Santosh

-Santosh
Peter Godron
Honored Contributor

Re: fbackup/frecover to remote host

Kirit,
could you please update this thread.
Is the problem resolved ?
If so, could you please assign points, summarise the solution and close.

Many Thanks

http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
kirit_2
Frequent Advisor

Re: fbackup/frecover to remote host

Hi

Yes my problem got resolved and I used sam backup to tape and then restored to another machine.....i could not find the exact syntax i wanted...

anyway this thread can be closed.
Peter Godron
Honored Contributor

Re: fbackup/frecover to remote host

Kirit,
I'm afraid it down to you to close the thread.

Before you close the thread, please take the time to reward the effort for the answers given with points.
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.

Please see:
http://forums1.itrc.hp.com/service/forums/helptips.do?#40 on how to close the thread.
Geoff Wild
Honored Contributor

Re: fbackup/frecover to remote host

cd /d/db ; fbackup -i . -f - | (remsh nmssrv2 ; frecover -r -f - )

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.