Opened 18 years ago

Closed 14 years ago

#74 closed task (fixed)

Provide daily gzip'ed subversion dumps at http://svn.osgeo.org/dumps

Reported by: hobu Owned by: hobu
Priority: major Milestone:
Component: SysAdmin Keywords:
Cc:

Description

We have a need to provided daily subversion dumps for the OSSIM project, and I think we should do this for any project that wants it.

The script would need to do the following:

  • hotcopy into /home/back/svn_backup/project/hot and overwrite whatever is there
  • svnadmin dump > project.dump
  • gzip project.dump
  • mv project.dump to /var/www/svn/dumps and overwrite whatever is there

The /etc/httpd/conf.d/hosts/subversion file would need a Location added to support reading out of this directory. The script would need to be put in /root/scripts. The /etc/cron.d/backup.cron table would also need to be updated to run this daily.

I won't be able to pick this one up for a week or so, but it should be pretty straightforward for someone else to do so.

Change History (2)

comment:1 by hobu, 18 years ago

Owner: changed from sac@… to hobu
Status: newassigned

I have implemented this at http://svn.osgeo.org/dumps/ by augmenting the incremental_svn backup script in /var/www/svn/tools/incremental-backup.py. The incremental script works by doing svn look to see which revisions it hasn't backed up and creates a gzip file in both /home/back/svn_backup (for rsync copy to the other Peer1 machine) *and* a gzip file in /var/www/svn/docroot/dumps where someone can come along and do a wget --mirror. To be useful, the incremental files must be cat'ed together in chronological order, which should be able to be determined by the filename.

comment:2 by crschmidt, 14 years ago

Resolution: fixed
Status: assignedclosed

This has been replaced by svnsync. svn.osgeo.org/dumps is now gone.

Note: See TracTickets for help on using tickets.