Operating System - HP-UX
1836479 Members
1955 Online
110101 Solutions
New Discussion

Re: HPUX file system backup

 
Rakesh Jha_1
Advisor

HPUX file system backup

Hi,

I am looking equivalent of following in HPUX B.11.11 -
In Tru64 we have -
When the backup saveset device is the character - (dash), the vdump command writes to standard output. Thus, the vdump and vrestore commands can be used in a pipeline expression to copy filesets. The following are typical commands; they are equivalent:
# vdump -0 -f - /usr | (cd /mnt; vrestore -x -f -) or
# vdump -0f - /usr | vrestore -xf - -D /mnt

Is there something equivalent in fbackup or vxdump?

Please suugest. Thanks
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: HPUX file system backup

From the fbackup man page:

-f device device specifies the name of an output file. If the name of the file is -, fbackup writes to the standard output.


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: HPUX file system backup

Hi:

With 'fbackup'/'frecover' you can copy directories and their contents like:

# cd srcdir && fbackup -i . -f - | ( cd dstdir && frecover -Xrf - )

Regards!

...JRF...
Rasheed Tamton
Honored Contributor

Re: HPUX file system backup

Hi,

vxdump/vxrestore will also work in HP-UX.

vxdump -0 -f- /sourcedir | (cd /dest-dir; vxrestore -xf -)

and

HP's own backup tool:

fbackup -i /sourcedir -f - | (cd /dest-dir; frecover -Xsrf -)

Regards,
Rasheed Tamton.
RUET
Regular Advisor

Re: HPUX file system backup

a quite fast set of classical weel known unix command, taht work every where, keeping UID/GID, modif date ..
is :

cd /SRC
find . -depth -print | cpio -pdmxucv /TARGET
Rakesh Jha_1
Advisor

Re: HPUX file system backup

Thanks to all of you.
Mridul Shrivastava
Honored Contributor

Re: HPUX file system backup

Dear Rakesh,

You have assigned points to 0 out of 17 responses.

Please assign points if based on the answer fulfill your requirement.

Regards,
Mridul
Time has a wonderful way of weeding out the trivial