Jason Malinowski wrote:
>> On Wed, Aug 19, 2009 at 11:25 AM, James
>> Ralston<qralston+ml.svn-users_at_andrew.cmu.edu> wrote:
>>> Let's say that I want to make a backup of a repository by running
>>> "svnadmin dump", and for whatever reason, I can't prevent client
>>> access to the repository during the process.
>>>
>>> What happens if a client commit is in progress when I run the
>>> "svadmin dump" command? Will the "svnadmin dump" command fail? If
>>> it doesn't, will the resulting dump file create a consistent
>>> repository if loaded with "svnadmin load"?
>>>
>>> What happens if a client attempts to start a commit while the
>>> "svadmin dump" command is in progress? Will the commit block until
>>> the "svadmin dump" command completes, will the commit abort/fail,
>>> or will the commit abort the "svnadmin dump" command? If the
>>> former, will the resulting dump file create a consistent repository
>>> if loaded with "svnadmin load"?
>> -----Original Message-----
>> From: larrys_at_gmail.com [mailto:larrys_at_gmail.com] On Behalf Of Larry
>> Shatzer Sent: Wednesday, August 19, 2009 10:33 AM
>> To: James Ralston
>> Cc: users_at_subversion.tigris.org
>> Subject: Re: is "svnadmin dump" a safe/atomic backup mechanism?
>>
>> Please consult the book about backups:
>> http://svnbook.red-
>>
> bean.com/en/1.5/svn.reposadmin.maint.html#svn.reposadmin.maint.backup
>>
> It should work just fine. I don't know whether dump will
> include revisions committed or not, but you won't end up with corrupt
> dumps.
Don't forget to back up your hook-scripts separately, since they aren't included in the dump.
Best regards
Ullrich Jans
--
Ullrich Jans, Application Support, IM
Phone: +49 9131 7701-6627, mailto:ullrich.jans_at_elektrobit.com
Fax: +49 9131 7701-6333, www.elektrobit.com
Elektrobit Automotive GmbH, Am Wolfsmantel 46, 91058 Erlangen, Germany
Managing Directors: Otto Fößel, Jarkko Sairanen
Register Court Fürth HRB 4886
----------------------------------------------------------------
Please note: This e-mail may contain confidential information
intended solely for the addressee. If you have received this
e-mail in error, please do not disclose it to anyone, notify
the sender promptly, and delete the message from your system.
Thank you.
Received on 2009-08-21 15:03:26 CEST