RubyGems Navigation menu

rails-backup-migrate 0.0.9

Creates a directory db/backup in the rails app and creates / loads YML files from there. After a backup, the db/backups directory is archived into a .tgz file and then deleted. When restoring, the db/backup directory is extracted from the .tgz file. All of the files in the 'files' directory are also backed up / restored. The default archive file is "site-backup.tgz" but any other one can be passed as an argument to both db:backup:write and db:backup:read, for example: app1$ rake db:backup:write app1$ cd ../app2 app2$ rake db:backup:read[../app1/site-backup.tgz] The environment variable 'verbose' or 'VERBOSE' if defined will result in some verbose output. \ To add the rake tasks to your Rails app, simply install the gem, and then add the following line to your 'Rakefile': require 'rails-backup-migrate' \

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

  1. 0.0.12 - May 07, 2012 (14.5 KB)
  2. 0.0.11 - March 22, 2012 (14.5 KB)
  3. 0.0.10 - December 13, 2011 (14.5 KB)
  4. 0.0.9 - August 18, 2011 (14.0 KB)
  5. 0.0.8 - July 25, 2011 (14.0 KB)
顯示所有版本(共 8)

Runtime 相依性套件 (1):

activerecord >= 2.3

擁有者:

作者:

  • Matt Connolly

SHA 256 總和檢查碼:

= 複製 已複製

總下載次數 38,247

這個版本 3,334

授權:

Ruby 版本需求:

相關連結: