Skip to content

Send a file to Amazon S3/Rackspace CloudFiles or both from Hazel

Notifications You must be signed in to change notification settings

samilton/couldbacked

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple script that can be used to with Hazel to upload files to Amazon S3 or Rackspace (or both for the paranoid). It sprang out of a desire to make sure that I was able to protect my photograper wife from what seems like an unnatural ability to burn through harddrives at an alarming rate. It also protects against fire and freak accidents.

To use this script, clone the repository and thne follow these simple steps.

%> # This will install fog, confirm you have hazel and create a sample configuration file
%> script/setup

You can do all of the steps the script performs by installing fog and creating the configuration file

%> sudo /usr/bin/gem install fog
%> touch ~/.cloudback

Next, simple use your favorite editor to edit the configuration file to specify API Keys, S3 bucket and/or Rackspace container. When the script starts it reads this configuration and will perform the copies to the services based on whats enabled. To enable S3 make sure the key enable_s3 is set to true and to enable Rackspace make sure enable_rackspace is set to true.

s3:
  enabled: true
  api_key: xxxyyyy
  secret_key: abc123
  bucket: backup_the_backup

rackspace:
  enabled: true
  api_key: 123456
  container: fuzzball

About

Send a file to Amazon S3/Rackspace CloudFiles or both from Hazel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages