Re: copy data from Linux to NT4

Eric Koldeweij <[email protected]> Sun, 15 Jun 2003 15:26:00 +0200
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
The easiest thing to do is to share the NT target directory, and 
smbmount it from the Linux box. Then you can copy it straight away. 
There are some security issues with that solution however, since the 
target has to be shared read/write. The opposite is possible also, SMB 
share the source directory and run the script from the NT box. As samba 
(windows networking) is insecure by design I don't like either solution 
in a non-trusted environment but I don't see many alternatives.
rsync would be a possibility but I don't know if NT supports that 
(probably not). There's also of course the ol' trusted (secure)ftp way.

Eric.

SMB solution:

on NT:
share the NT target directory read/write for a certain user.

on RHL:
smbmount //<ntbox>/<sharename> /mnt/smb -o 
rw,username=<user>,password=<password>
cp -R <source directory>/* /mnt/smb
umount /mnt/smb

The rpm package "samba-client" needs to be installed for that, and the 
directory /mnt/smb needs to exist.

Jon Miller wrote:

>We have a client that would like to have their data (webpages,etc)copied
>nightly from their Linux server to their NT server for backiing up
>purposes.  
>I've created the backup component, just ran into the problem of getting
>the data from RHL to NT.
>
>Any suggestion?  I'll need to make sure this can be done from a script. 
>Or if possible have a mapped drive from RHL to NT4.
>
>Thanks
>  
>