Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Easy use backup gem with Rails.
Ruby
tree: 876d6234c9

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
lib
.gitignore
Gemfile
LICENSE
README.md
Rakefile
backup_rails.gemspec

README.md

BackupRails

Easy use backup gem with Rails.

Installation

Add this line to your application's Gemfile:

gem 'backup_rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install backup_rails

TODO

  • Add Rails generator for simple backup scripts.

Usage

For now just add the gem to your Gemfile. Move the files in /examples dir into your project. Run whenever to setup your cron job. Make sure you've set the RAILS_ENV correctly.

When cron jobs are not run make sure you:

sudo touch /etc/cron.deny

Contributing

Very welcome.. :)

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.