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

is "svnadmin dump" a safe/atomic backup mechanism?

From: James Ralston <qralston+ml.svn-users_at_andrew.cmu.edu>
Date: Wed, 19 Aug 2009 13:25:24 -0400

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"?

Thanks,
James

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2385317

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-19 19:26:16 CEST

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.