Compare projects
Project comparisons allow you to view any selection of projects side by side just like they're shown on regular categories or in search results. You can try out an example or start yourself by adding a library to the comparison via the input below. You can also easily share your current comparison with others by sending the URL of the current page.
0.03
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'
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Activity