Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to back up the contents of one of my servers to a local folder.

The server has a FTPS service set up and running (regular FTP is not an option). I want to copy the contents of the FTP into a local folder on my windows 2003 machine running at home on a weekly basis.

I really dont need to keep a historical record of removed files so if a file is removed on the FTP server it should also be removed in the backup at next sync.

So my question is: What is the best way to keep a local copy of an FTPS server.

share|improve this question

3 Answers 3

up vote 1 down vote accepted

I would use winscp for that. Open Source and free.

Make a Task so that you run it once a week or so automatically.

You should be able to script it according to your needs.

Scripting Documentation of winscp

No need to pay money for something trivial as that.

For having the deleted files removed you might need some powershell scripts aswell though.

Something like:

Download Copy (WinSCP)
Download NewCopy (WinSCP)
get Diff NewCopy vs Copy, remove the deleted files (Powershell)

As for the details , they depend as usual, and sadly i did not yet exactly do something like that myself ( i would use cygwin + rsync , but afaik this would not work and is a bit harder to install)

share|improve this answer
    
This was the solution I actually went with a while ago so Ill give you the points :) –  Jens Berfenfeldt Jun 17 at 7:04
    
@JensBerfenfeldt thank you, i realised your question was a year old only after i did write the answer :) –  Dennis Nolte Jun 17 at 7:35

You will need to expose some kind of network service on the backup target server. FTP, SFTP, FTPS, SSH, VPN... something. Access that service from the backup source. For example, mount the remote SFTP service as a network drive using a third party tool like WebDrive. Or, if you set up a VPN connection to the backup target, connect to the VPN and then mount a CIFS share across the VPN. Then use Robocopy with the /mir option (among others) to copy your directories across.

share|improve this answer
    
Know of any free alternatives to WebDrive? It costs 70USD. –  Jens Berfenfeldt Jul 4 '13 at 18:58

You will need a third party software to do the job, there's this nice free tool I heard about but never got the chance to use: http://www.ipswitchft.com/products/moveitFreely/index.aspx

If you prefer something with a GUI, here's another one: http://www.iperiusbackup.com/ftp-backup.aspx

Thanks,

share|improve this answer
    
IperiousBackup only seems to be able to send backups from the computer it is running on to a FTPS server, it dosent seem to be able to take backups of an FTPS. Trying out MoveItFreely now ;) –  Jens Berfenfeldt Jul 4 '13 at 19:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.