CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sun, 31 Aug 2025 17:40:40 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20080914092142
location: https://web.archive.org/web/20080914092142/https://github.com/mattetti/ar-backup/tree
server-timing: captures_list;dur=1.005143, exclusion.robots;dur=0.034291, exclusion.robots.policy;dur=0.016291, esindex;dur=0.022419, cdx.remote;dur=27.766217, LoadShardBlock;dur=285.529058, PetaboxLoader3.datanode;dur=134.099700, PetaboxLoader3.resolve;dur=76.501466
x-app-server: wwwb-app203
x-ts: 302
x-tr: 364
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app203; 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 302
server: nginx
date: Sun, 31 Aug 2025 17:40:42 GMT
content-type: text/html; charset=utf-8
content-length: 114
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Sun, 14 Sep 2008 09:21:42 GMT
x-archive-orig-connection: close
x-archive-orig-status: 302 Found
location: https://web.archive.org/web/20080914092142/https://github.com/mattetti/ar-backup/tree/master
x-archive-orig-x-runtime: 0.22332
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 114
cache-control: max-age=1800
memento-datetime: Sun, 14 Sep 2008 09:21:42 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sun, 14 Sep 2008 09:21:42 GMT", ; rel="memento"; datetime="Sun, 14 Sep 2008 09:21:42 GMT", ; rel="next memento"; datetime="Fri, 16 Jan 2009 04:47:59 GMT", ; rel="last memento"; datetime="Fri, 16 Jan 2009 04:47:59 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: 50_5_20080914052952_crawl100-c/50_5_20080914091557_crawl103.arc.gz
server-timing: captures_list;dur=1.142163, exclusion.robots;dur=0.019688, exclusion.robots.policy;dur=0.009522, esindex;dur=0.011593, cdx.remote;dur=381.628688, LoadShardBlock;dur=1365.171857, PetaboxLoader3.datanode;dur=698.507279, PetaboxLoader3.resolve;dur=245.717410, load_resource;dur=180.124208
x-app-server: wwwb-app203
x-ts: 302
x-tr: 1956
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=()
HTTP/2 302
server: nginx
date: Sun, 31 Aug 2025 17:40:42 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20080913213838
location: https://web.archive.org/web/20080913213838/https://github.com/mattetti/ar-backup/tree/master
server-timing: captures_list;dur=0.785828, exclusion.robots;dur=0.026863, exclusion.robots.policy;dur=0.011012, esindex;dur=0.013534, cdx.remote;dur=43.113496, LoadShardBlock;dur=206.140079, PetaboxLoader3.datanode;dur=116.600312, PetaboxLoader3.resolve;dur=80.158290
x-app-server: wwwb-app203
x-ts: 302
x-tr: 280
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=()
HTTP/2 200
server: nginx
date: Sun, 31 Aug 2025 17:40:43 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Sat, 13 Sep 2008 21:38:37 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 0.48587
x-archive-orig-etag: "2a04280ce46fb184ebc1e1582fb9c7d2"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 17253
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sat, 13 Sep 2008 21:38:38 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 13 Sep 2008 21:38:38 GMT", ; rel="memento"; datetime="Sat, 13 Sep 2008 21:38:38 GMT", ; rel="next memento"; datetime="Fri, 16 Jan 2009 04:47:59 GMT", ; rel="last memento"; datetime="Sun, 08 Aug 2010 04:40:37 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: 51_5_20080913210443_crawl109-c/51_5_20080913213720_crawl103.arc.gz
server-timing: captures_list;dur=0.493202, exclusion.robots;dur=0.017684, exclusion.robots.policy;dur=0.007425, esindex;dur=0.008918, cdx.remote;dur=18.714465, LoadShardBlock;dur=86.892232, PetaboxLoader3.datanode;dur=118.936334, load_resource;dur=140.048865, PetaboxLoader3.resolve;dur=52.029230
x-app-server: wwwb-app203
x-ts: 200
x-tr: 304
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 repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Description: | Active Record backup is a Rails plugin which lets you backup your database schema and content in a schema.rb file and fixtures. |
Homepage: | https://code.google.com/p/ar-backup/ |
Clone URL: |
git://github.com/mattetti/ar-backup.git
Give this clone URL to anyone.
git clone git://github.com/mattetti/ar-backup.git
|
Search Repo: |

cyril.mougel (author)
Wed Dec 05 04:45:02 -0800 2007
name | age | message | |
---|---|---|---|
![]() |
MIT-LICENSE | Mon Jul 23 22:53:34 -0700 2007 | moved everything in a folder to make the rails ... [mattAimonetti] |
![]() |
README | Wed Nov 28 00:57:31 -0800 2007 | ar_backup is now windows compatible and the rev... [mattAimonetti] |
![]() |
Rakefile | Mon Jul 23 22:53:34 -0700 2007 | moved everything in a folder to make the rails ... [mattAimonetti] |
![]() |
init.rb | Mon Jul 23 22:53:34 -0700 2007 | moved everything in a folder to make the rails ... [mattAimonetti] |
![]() |
install.rb | Mon Jul 23 22:53:34 -0700 2007 | moved everything in a folder to make the rails ... [mattAimonetti] |
![]() |
lib/ | Mon Jul 23 22:53:34 -0700 2007 | moved everything in a folder to make the rails ... [mattAimonetti] |
![]() |
tasks/ | Wed Dec 05 04:45:02 -0800 2007 | * Fixed big error with the buffering system wh... [cyril.mougel] |
![]() |
test/ | Mon Jul 23 22:53:34 -0700 2007 | moved everything in a folder to make the rails ... [mattAimonetti] |
![]() |
uninstall.rb | Mon Jul 23 22:53:34 -0700 2007 | moved everything in a folder to make the rails ... [mattAimonetti] |
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
This feature is coming soon. Sit tight!