Linux to windows file copy...
In a nutshell what I am trying to is compress a directory on a daily basis and then copy that file to a windows file server (off site).
Currently I have a Linux server running Samba that is sharing data. I have a great script someone helped me with to tar up the dir:
tar cjf `date +%Y%m%d`.tar.bz2 /usr/local/share
after that file is tarred I need to copy it over my network to an offsite server
scp requires telnet/ssh on my windows server right? I dont really want to put that on the windows server.
Should i just smbmount the windows share on the linux box and then copy the tar file to it? or is there a better way?
The idea of mounting the windows share through Samba and copying the file is probably easiest to be honest. I have our proxies at work doing just that once a week. That way, any backup solution picks up your files without problems and you're not worrying about installing anything that could be used to compromise your Windows server (there's enough already!). You're not having to learn anything new such as if you were using scp either. Only other way I could think of would be FTP, which again, you wouldn't really want running on a Windows server. Go for mounting the share with Samba :)
|All times are GMT -5. The time now is 07:35 PM.|