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

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

From: Jason Malinowski <jason_at_jason-m.com>
Date: Wed, 19 Aug 2009 20:50:50 -0700

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.

Jason Malinowski

> -----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
>
> 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"?
> >
> > Thanks,
> > James
> >
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=238
> 5319
>
> To unsubscribe from this discussion, e-mail: [users-
> unsubscribe_at_subversion.tigris.org].

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-20 05:51:20 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.