Consistent live fsfs backups without copy
From: Scott Lamb <slamb_at_slamb.org>
Date: 2006-05-02 01:14:28 CEST
We want to get consistent backups of an fsfs repository [*], and
1. We have automated nightly builds, so it's impractical to find a
From looking over the source, I see a couple interesting things:
1. It looks like write locking is done by holding flocks on the file
2. it looks like svn_fs_fs__hotcopy copies stuff like this:
a. check format file - must be fsfs version 1 or 2.
...all without any sort of locking. Correct? (I guess files must
How much of this care is necessary? I'm not sure yet if it's possible
1. pre script - copy current file to a location where it won't
and on restore,
- throw away revisions and revprops newer than in my copied current file
is this good enough?
Regards,
[*] - We could probably switch to Berkeley DB, but I _know_ it needs
-- Scott Lamb <http://www.slamb.org/> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Tue May 2 01:15:29 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.