Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

rails' rake task for backup up and loading data+assets as yaml+files

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README
backs up schema, tables, and assets in a db agnositc fashion.  each backup
makes a Rails.env/iso8601 directory full of yaml files for data and plain
files for assest.


  rake backup:dump:all       #=> ls ./backup/production/20101012131827280000/

  or

    rake backup:dump:schema
    rake backup:dump:tables
    rake backup:dump:assets



  rake backup:load:all BACKUP=./backup/production/20101012131827280000/

  or

    rake backup:load:schema BACKUP=./backup/production/20101012131827280000/
    rake backup:load:tables BACKUP=./backup/production/20101012131827280000/
    rake backup:load:tables BACKUP=./backup/production/20101012131827280000/
Something went wrong with that request. Please try again.