Operating System - HP-UX
1833083 Members
4190 Online
110050 Solutions
New Discussion

How best to copy complete file system from HP-UX 10.20 to Windows XP

 
SOLVED
Go to solution
Matthias Oswald
Advisor

How best to copy complete file system from HP-UX 10.20 to Windows XP

We have some 50 GB of data on a unix box, a three level directory file system.
What would be the best and fastest way to copy/map this directory/file structure over to a Windows box ?
180000 files in 8000 directories/folders

Thanks
Matthias
mabios
1 REPLY 1
Steven E. Protter
Exalted Contributor
Solution

Re: How best to copy complete file system from HP-UX 10.20 to Windows XP

There really is not "best" way.

There are a lot of ways that will work pretty well.

1) You can create a gigantic tar file with tar cvf gigantic.tar *
This will create one big file that you can ftp to Windows and then use winzip to unzip it.

2) Similarly a lot of folks think cpio is the way to go.

Unless you have 50 GB of free space laying around this is somewhat problematic.

You can try taking the data in smaller chunks, say, make a tar file for each of the major directories.

If disk space is short on the HP-UX side, none of this will work.

You'll then want to perhaps open up the data for the windows browser to copy it.

The product on the HP-UX side is CIFS/9000 server. It will let you connect with windows and use the Windows copy and paste functionality to copy the data.

HEre is a link:

http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA

You'll need to set up the 50 GB fileystem as a share in the smb.conf file and then create a user for access

useradd transfer
passwd transfer # set the password

smbpasswd -a transfer

/sbin/init.d/samba stop
/sbin/init.d/samba start

This is a bare bones guide.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com