CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 06 Aug 2025 19:43:59 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100305150855
location: https://web.archive.org/web/20100305150855/https://github.com/mattetti/ar-backup
server-timing: captures_list;dur=0.864072, exclusion.robots;dur=0.033045, exclusion.robots.policy;dur=0.014422, esindex;dur=0.015503, cdx.remote;dur=33.634562, LoadShardBlock;dur=441.719396, PetaboxLoader3.datanode;dur=103.678023, PetaboxLoader3.resolve;dur=129.144797
x-app-server: wwwb-app211
x-ts: 302
x-tr: 530
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app211; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 06 Aug 2025 19:44:00 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Fri, 05 Mar 2010 15:08:55 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "4addd89528f1dd523d3e1b8e540a1f54"
x-archive-orig-x-runtime: 99ms
x-archive-orig-content-length: 23422
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Fri, 05 Mar 2010 15:08:55 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 05 Mar 2010 15:08:55 GMT", ; rel="memento"; datetime="Fri, 05 Mar 2010 15:08:55 GMT", ; rel="next memento"; datetime="Thu, 05 Aug 2010 20:16:10 GMT", ; rel="last memento"; datetime="Sun, 29 Nov 2020 15:33:03 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_14_20100305123351_crawl103-c/52_14_20100305150807_crawl101.arc.gz
server-timing: captures_list;dur=0.753235, exclusion.robots;dur=0.022925, exclusion.robots.policy;dur=0.010330, esindex;dur=0.014389, cdx.remote;dur=49.385291, LoadShardBlock;dur=392.614190, PetaboxLoader3.datanode;dur=156.219885, PetaboxLoader3.resolve;dur=239.673410, load_resource;dur=270.527640
x-app-server: wwwb-app211
x-ts: 200
x-tr: 788
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
mattetti's ar-backup at master - GitHub
This service is courtesy of Pledgie.
mattetti / ar-backup
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
Sending Request…
Enable Donations
Pledgie Donations
Once activated, we'll place the following badge in your repository's detail box:
Active Record backup is a Rails plugin which lets you backup your database schema and content in a schema.rb file and fixtures. — Read more

cyril.mougel (author)
Wed Dec 05 04:45:02 -0800 2007
name | age | message | |
---|---|---|---|
![]() |
MIT-LICENSE | Loading commit data... ![]() |
|
![]() |
README | ||
![]() |
Rakefile | ||
![]() |
init.rb | ||
![]() |
install.rb | ||
![]() |
lib/ | ||
![]() |
tasks/ | ||
![]() |
test/ | ||
![]() |
uninstall.rb |
README
=ActiveRecord-backup Using rake tasks, dump your schema and data into yml files. One folder gets created per SVN revision. You can then simply load any previous data using rake. prerequisite: Your project must be under SVN. ==Usage: rake backup:db:dump # create a backup folder containing your db schema and content data (see backup/{env}/build_{build number}) rake backup:db:extract_content # Create YAML fixtures from your DB content rake backup:db:extract_schema # Dump the db schema rake backup:db:load # load your backed up data from a previous build. rake backup:db:load BUILD=1182 or rake backup:db:load BUILD=1182 DUMP_ENV=production ==Example rake backup:db:dump rake backup:db:load BUILD=2547 ==Capistrano 2 usage example (you first need to create a backup folder) set :backup_dir, "#{deploy_to}/backup" before :deploy do db.backup db.move_backup end namespace :db do desc 'create the production database' task :create do run "cd #{current_release} && rake db:create RAILS_ENV=production" end desc 'dump the database schema and content' task :backup do run "cd #{current_release} && rake backup:db:dump RAILS_ENV=production" end desc 'timestamp the backup file' task :move_backup do run "cd #{current_release} && mv backup/production #{backup_dir}/production_#{Time.now.strftime("%Y-%m-%d_%H-%M")}" end end ==Contributors Cyril Mougel : cyril.mougel@gmail.com (ar_backup windows compatible and the revision number is parsed in a more efficient way) Copyright (c) 2007 Matt Aimonetti, released under the MIT license