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

Re: Safe to backup if failed svnadmin verify?

From: Johnathan Gifford <jgifford_at_wernervas.com>
Date: 2007-04-27 16:39:13 CEST

> * Running "svnadmin hotcopy" or "svnadmin dump" on a repository that failed
> "svnadmin verify" will not cause any damage to the repository, or modify it
> in any way.

Correct

> * "svnadmin hotcopy" will succeed, and the resulting backup will be an exact
> copy of the repo, including the errors.

Yes

> * "svnadmin dump" will fail when it hits the bad revision (resulting in,
> what? an incomplete dump file, no dump file, a full dump with bad revisions
> omitted or full dump which is corrupt/unusable?)

If you are iterating over the repository and dumpingt each revision incrementally, only that revision will fail. If you are dump the entire repository from revision 1 to X then the dump will fail when it encounters the bad revision. If you dump from revision X (loosing all history of course), this will not fail unless X is the corrupt revision.

I don not think you can get an incomplete dump or a full dump with bad revisions.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 27 16:40:08 2007

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.