Skip to content

grosser/s3gb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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...

About

S3 Git Backup. Collects into git repo, commits all changes, pushes to s3 using jgit or s3fs.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages