rails' rake task for backup up and loading data+assets as yaml+files
Ruby
Switch branches/tags
Nothing to show
Latest commit c7142dd Oct 12, 2010 @ahoward add README
Permalink
Failed to load latest commit information.
lib/tasks add public/system to default asset backup Oct 12, 2010
README add README Oct 12, 2010

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/