Operating System - HP-UX
1832610 Members
2487 Online
110043 Solutions
New Discussion

Re: how to copy a directory

 
SOLVED
Go to solution
matthew mills
Frequent Advisor

how to copy a directory

I am trying to copy a complete directory structure on a HPUX 11.00 server. This is the command I am using.

find . -depth -print | cpio -pdmv /oradata_s

works great on small files. but large files get this error.

temp.dbf": Value too large to be stored in data type
cpio: Size of temp.dbf > 2GB. Not dumped.

please help! someone told me to use tar but I can not figure out the right command.

3 REPLIES 3
Robert-Jan Goossens_1
Honored Contributor
Solution

Re: how to copy a directory

Hi,

# cd /source
# fbackup -f - -i . | (cd /oradata_s; frecover -rXf -)

Hope this helps,
Robert-Jan
RAC_1
Honored Contributor

Re: how to copy a directory

Does file system/dir /oradata_s supports file larger than 2GB??

Also cpio does not support the copying files larger than 2GB. You can use fbackup/vxdump

Anil
There is no substitute to HARDWORK
matthew mills
Frequent Advisor

Re: how to copy a directory

Great JOB~ thanks!!