开发者

Tools to Automate Amazon S3 backups from Windows Server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

Improve this question

In order to take regular backups, we want to compress and upload files from our Windows Server to Amazon S3 service. Is there any freeware application that all开发者_StackOverflow社区ows us to schedule regular backups?


Your best bet is to use Windows PowerShell.

This blog post describes how to automate SQL Server backups with PowerShell to Amazon S3:

  • Randoom: EC2 SQL Server backup strategies and tactics


There is also a newer option that has become available in the meantime:

Standalone Windows .EXE command line utility for Amazon S3 & EC2

It's a .Net command-line tool executable that provides S3 commands to work with the S3 directly or through batch scripts.


Another great tool is S3Sync from SprightlySoft (free & opensource - S3Sync.zip) - a command line tool for windows. It offers a "differential" sync of a folder, detecting all additions, deletions/file-changes etc.

Here's a detailed article on how to use it Automating S3 backups on Windows


We do this under Linux with a shell script (batch file) that simply zips the required files and then calls s3cmd (from the Amazon command line tools) to put the zip file to an S3 bucket. There's also some exit code (errorlevel) checking to ensure everything went well.

We schedule that script with cron. You could do the same with windows task scheduler.

If you need a command line capable ZIP utility, 7-zip is a good open source choice.


Yes, the backup rubygem. It lets you define the backups declaratively, and then shells out to command-line tools to actually run them. It's probably cross-platform enough.

Alternatively, yes; powershell can be made to do what you want with the AWS .NET SDK loaded - it's quite bare-bones compared to the ruby one, though; I've ended up with far more concise ruby-based scripts than powershell ones (and I'm reasonable at both approaches, I think), since the ruby sdk layers a nicer model over the top of each API.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜