Find the answer to your Linux question:
Results 1 to 4 of 4
I have a Red Hat el 4 server and I have it set to backup my 3 website directories on a nightly basis via a script that is set as ...
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    2

    script to backup linux server and ftp to windows server

    I have a Red Hat el 4 server and I have it set to backup my 3 website directories on a nightly basis via a script that is set as a cron job. I would like to have these backups automatically ftp'd to the Windows 2003 server that is in my office. I do not have IIS and ftp installed on the Windows 2003 server and was wondering if there is some kind of open source ftp service that I can install on the Windows machine instead of going with IIS and ftp?

    Also, is there a good tutorial on how to add the ftp info to my current script so it will ftp the backups, then delete the backups on the Linux server?

    Thanks,

    malaize

  2. #2
    Just Joined!
    Join Date
    Nov 2009
    Posts
    6
    I believe that FileZilla has a free windows FTP server. You should be able to write a script/command that will FTP the files for you.

    search here for a good resource for ftp scripting. I have too little posts to paste the link

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,975
    Windows has a package called Services For Unix (MS SFU) which provides some standard shells, FTP client/server, Telnet client/server, and NFS server, not all of which you need to use and/or install. I've used the FTP services quite happily in the past. As to the current status of the package I can't tell you, such as is it still available? Check on the Microsoft downloads web site.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Just Joined!
    Join Date
    Dec 2009
    Posts
    2
    Thanks for the suggestions. I think I'm going to try FileZilla. In this situation wouldn't I need the FileZilla Server version installed on my win2003server, since I will have the script on the Red Hat box ftping the backups to the win2003server at night?

    Thanks, Eli

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...