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

Re: Consistent live fsfs backups without copy

From: Scott Lamb <slamb_at_slamb.org>
Date: 2006-05-02 01:51:49 CEST

On May 1, 2006, at 4:39 PM, Russ wrote:
> Isn't it true that you don't need to do a hotcopy with fsfs
> repositories, as even if a commit is in progress, it will probably
> just be rolled back on restore?

Not sure. It seems like if that were the case, though,
svn_fs_fs__hotcopy would just do a recursive copy. It looks like
there was a lot of care put into this function, and I don't want to
throw it out without understanding it.

> Also the build tools that you have accessing the repo overnight, do
> they do any commits or only checkouts and updates? It doesn't look
> like you would need to worry about corruption if only readonly
> operations are being performed.

Actually, yes, they do. This repository holds build _products_ -
we're basically using Subversion for auditing and atomicity. (That's
also why we expect the repo to be so huge.)

> Also if you are worried about rogue commits by developers during
> the time of the backup, perhaps you can change the apache config to
> make the repo read only during the time of the backup? Either
> through changing the conf file with a cron job or somehow rewriting
> the requests based on the time.

Regards,
Scott

-- 
Scott Lamb <http://www.slamb.org/>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 2 01:53:06 2006

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

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