Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
S3 Git Backup. Collects into git repo, commits all changes, pushes to s3 using jgit or s3fs.
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
.gitignore
Rakefile
Readme.md
VERSION
s3gb.gemspec

Readme.md

Collects all your stuff into a git repo, commits all changes, pushes it to s3.

Install

sudo gem install s3gb

make a ~/s3gb/config.yml file in your home folder.
Enter your config: Your S3 keys bucket: s3gb accessKeyId: --your--key-- secretAccessKey: --your--key-- acl: private strategy: jgit sync: - ~/.ssh - ~/bin - /opt/nginx/conf/nginx.conf - ... exclude: - cache - Cache - .git

Then:

  • create the bucket using e.g. S3Fox AND add a .git folder to it
  • sudo s3gb --install to install dependencies for your chosen strategy
  • s3gb --backup and add it to your cron with e.g. 0 0 * * * /usr/local/bin/s3gb --backup >> /tmp/s3gb.log 2>&1

Author

Michael Grosser grosser.michael@gmail.com Hereby placed under public domain, do what you want, just do not hold me accountable...

Something went wrong with that request. Please try again.