[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Attempt at a hot backup integration [patch](Scanned for viruses: Notes Admin)

From: <vberezniker_at_siuh.edu>
Date: 2003-07-28 22:31:48 CEST

Attached please find my attempt at incorporating hot-backup.py
functionality into subversion. This patch supposed to replace the steps 2
through 4 of hot-backup.py.

There is one noticeable difference between hot-backup.py and this patch is
in the way they copy db folder. Instead of copying entire repository and
then recopying logs, this patch copies the repository with exception of db
folder. Then on svn_fs_* level, there is a function makes a copy of every
database file and then all log files. This way logs will not need to be
copied twice. However, one downside of this is that if someone puts their
own files into the db folder they will not be backed up. However, I do
not think this will be an issue.

The only one part of this patch I am a little concerned about is my use of
__os_free function that db_archive application uses which is specified in
<db_int.h>.If anyone is familiar with that function I would really
appreciate any information, before I go bother people on BDB lists.

Vladimir Berezniker

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Mon Jul 28 22:44:37 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.