1833883 Members
1803 Online
110063 Solutions
New Discussion

Re: UNIX -> DOS

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

UNIX -> DOS

I unstalled SFU (MS SERVICES FOR UNIX) on a Win2K system that will be our share point for UNIX and NT. I need to relocate data from a UNIX system to a win2k system. Is there a remote copy command I can use from the UNIX side that NT will be happy about? Or should I just tar up the 11gb and explode it on the NT side? Any suggestions besides a tape restore option?

10x
RPM
UNIX IS GOOD
8 REPLIES 8
Zeev Schultz
Honored Contributor

Re: UNIX -> DOS

Can install CIFS9000/Samba client on HP-UX
and use Micro$oft' shares style :)
Win2k doesn't understand remsh,ftp,telnet by default (without software).I also saw somewhere
on the net remsh server binary for Win2k.

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
Pete Randall
Outstanding Contributor

Re: UNIX -> DOS

Hi Robert,

The only other one I can think of is to implement NFS on both sides. I doubt it's worth all that effort, though.


Pete

Pete
Massimo Bianchi
Honored Contributor

Re: UNIX -> DOS

Hi,
just for speed i would create many small files (up to 1,5G, just to avoid the 2Gb problem on hpux) and gzip them.


On the win box you have programs compatible with tar and gzip, so operation will be faster.

IF you have time the network might be a handy solution, but tape can be faster.
FTP can use all your bandwidth, and other apps can suffer from this.

If you use programs like OB compatibility is granted, otherwise you have to find a program that can read tar archives.

Do not use fbackup/frecoer, it is HPUX proprietary.

HTH,
Massimo.
Rajesh G. Ghone
Regular Advisor

Re: UNIX -> DOS

Hi,

I could suggest you either to go for SAMBA server or take a tar backup in a dat but i dont know weather you would allow you to restore the tar backup in NT system.

Regards,
Rajesh G.
Rajesh Ghone
Darren Prior
Honored Contributor

Re: UNIX -> DOS

I think Zeev's answer of using CIFS/Samba client is your best bet if you want to avoid tape. Share out a folder/disk from the Win2k system and then map that on the HP-UX box to a mount point.

With that option you have the flexibility of scripting or using find/cpio to copy files across. Most of the other options mean you'll have to end up using the MS gui to drag and drop files.

regards,

Darren.
Calm down. It's only ones and zeros...
Michael Steele_2
Honored Contributor
Solution

Re: UNIX -> DOS

Except for the lack of a recursive naviagtion up the file system 'ftp' in 'binary' mode with 'mget' and 'mput' work. Note the ftp 'prompt' command as well.

ftp
user
passwd
bin

'prompt' is interactive and requires confirmation before transfer, disable this, while 'mput' and 'mget' transfer by current directory.

There are also windows versions of 'GNU' tar which should be workable on both Unix and Windows platform. For example, this is the utility used by Veritas in their popular Netbackup application:

http://unxutils.sourceforge.net/

http://www.gnu.org/order/windows.html
Support Fatherhood - Stop Family Law
Zeev Schultz
Honored Contributor

Re: UNIX -> DOS

already posted this link,but could work:
http://www.denicomp.com/rshdnt.htm
They give out remshd that works on NT/2k and
understands remsh/rcp.

So computers don't think yet. At least not chess computers. - Seymour Cray
Bill Hassell
Honored Contributor

Re: UNIX -> DOS

ftp is by far the best solution for network transfers as it adapts to the speed of the network. Note that Win2K/WinNT do not come with server capability without turning the service on. However, all WinXX systems have a client ftp available at the DOS prompt. FTP knows how to get or put all files in a directory or selective files. See the builtin help command for mget and mput and be sure to use the binary command for data files, the ascii command for ASCII files. And to automate the transfer, the prompt command toggles the yes/no request for each file.


Bill Hassell, sysadmin