Re: hotbackup & FSFS repos
From: Paul Koning <pkoning_at_equallogic.com>
Date: 2006-01-18 20:19:08 CET
>>>>> "Jacob" == Jacob Atzen <jacob@aub.dk> writes:
Jacob> On Wed, Jan 18, 2006 at 09:47:28AM -0500, Paul Koning wrote:
Jacob> Your wish has been granted:
Jacob> <http://svn.collab.net/repos/svn/trunk/notes/fsfs>
Thanks, that's helpful. It doesn't answer the specific question I
Summarizing what I learned:
1. If an FSFS repository is logically read-only, it is also read-only
2. "svnadmin hotcopy" does "the right thing" for FSFS.
3. If I use simple file system copy, and changes are being made, then
a. Any pending transactions will have their transaction files
b. If a commit is happening during the copy, I can end up with
So my conclusion is that I can do "cold copy" by these steps:
1. Set the config file for the repository to indicate that no one has
2. Wait for all pending writes to complete. But how???
3. Use file system copy tools to copy the repository.
4. Change the config file back to allow write access.
Now for #2...
I'm only using svnserve, in inetd mode. So it seems logical to expect
A quick look at the code doesn't show any of this, though... So I'm
paul
---------------------------------------------------------------------
|
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.