Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Backup your stuff with Ruby and Rsync
branch: master

This branch is even with winton:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
spec
.gitignore
MIT-LICENSE
README.markdown
Rakefile
gemspec.rb
rbackup.gemspec

README.markdown

rbackup

Backup your stuff with Ruby and Rsync.

Compatibility

Tested with Ruby 1.8.6, 1.8.7, and 1.9.1.

Setup

sudo gem install rbackup  --source http://gemcutter.org

Create ~/.rbackup.yml

site:
  server:
    source: /Users/me/site
    destination: deploy@server:/var/www
    exclude:
     - .git
     - /site/config/database.yml
usb:
  documents:
    source: ~/Documents
    destination: /Volumes/USB Key
    exclude:
     - Software
     - Virtual Machines.localized
  pictures:
    source: ~/Pictures
    destination: /Volumes/USB Key
    include:
      - Favorites

Backup

rbackup site
  // deploys your site
rbackup usb
  // back up documents and pictures
rbackup documents
  // back up documents only
rbackup
  // back up and deploy everything
Something went wrong with that request. Please try again.