You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jason S <jm...@gmail.com> on 2009/10/15 17:17:58 UTC

svnadmin verify: what does it do?

Not to quibble, but what does svnadmin verify do? I don't really care how it does what it does, but I would like more information in the documentation than "Verifies the data stored in the repository." (which is the output of "svnadmin help verify")

"Verifies" means what? That all the file checksums and metadata checksums are valid?

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svnadmin verify: what does it do?

Posted by Edmund Wong <ed...@kdtc.net>.
Jason S wrote:
>> It does redo the checksum calculation but it won't check that the revision 
>> property files are invalid, so svnadmin dump >/dev/null is the best way to check 
>> a repository.
>>
>> Blair
> 
> redoes what checksum calculation? what does svnadmin dump >/dev/null do? (I know what "svnadmin dump" does, but why would you redirect it to /dev/null?)
> 
Redirecting to /dev/null shows you the progress of the dump without the
actual contents being dumped to stdin, which is what a normal 'svnadmin
dump' would do.

Edmund

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Re: svnadmin verify: what does it do?

Posted by Jason S <jm...@gmail.com>.
> It does redo the checksum calculation but it won't check that the revision 
> property files are invalid, so svnadmin dump >/dev/null is the best way to check 
> a repository.
> 
> Blair

redoes what checksum calculation? what does svnadmin dump >/dev/null do? (I know what "svnadmin dump" does, but why would you redirect it to /dev/null?)

Not to be pedantic, but other than poking around into the svn code itself (which I am loathe to do), I don't know how to answer these questions.

Backups / integrity checks are like sending money to an insurance company: you're spending effort on something and unless you have some visibility into what it does, it may be effort lost, that you won't figure out until there's a catastrophe. I need to audit my backup process and ensure it works well, not sure how to do so w/o understanding what "svnadmin verify" does under the hood.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svnadmin verify: what does it do?

Posted by km...@rockwellcollins.com.
Blair Zajac <bl...@orcaware.com> wrote on 10/15/2009 06:23:18 PM:
> > 
> > We run svnadmin verify weekly over our repositories to ensure there 
are
> > no corruption
> 
> It does redo the checksum calculation but it won't check that the 
revision 
> property files are invalid, so svnadmin dump >/dev/null is the best 
> way to check 
> a repository.

In my experience, svnadmin dump takes about half the time as svnadmin 
verify.
I always thought that a verify was essentially a "dump followed by a load"
done in memory.

If a dump will actually find more problems, I'll gladly change, since
svnadmin verify has become extremely slow on larger repos in the 1.6 
releases...

Kevin R.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svnadmin verify: what does it do?

Posted by Blair Zajac <bl...@orcaware.com>.
Srilakshmanan, Lakshman wrote:
> Hi Jason,
> 
> We run svnadmin verify weekly over our repositories to ensure there are
> no corruption

It does redo the checksum calculation but it won't check that the revision 
property files are invalid, so svnadmin dump >/dev/null is the best way to check 
a repository.

Blair

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: svnadmin verify: what does it do?

Posted by "Srilakshmanan, Lakshman" <la...@police.vic.gov.au>.
Hi Jason,

We run svnadmin verify weekly over our repositories to ensure there are
no corruption

Thanks
Lakshman
-----Original Message-----
From: Jason S [mailto:jmsachs@gmail.com] 
Sent: Friday, 16 October 2009 4:18 AM
To: users@subversion.tigris.org
Subject: svnadmin verify: what does it do?

Not to quibble, but what does svnadmin verify do? I don't really care
how it does what it does, but I would like more information in the
documentation than "Verifies the data stored in the repository." (which
is the output of "svnadmin help verify")

"Verifies" means what? That all the file checksums and metadata
checksums are valid?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageI
d=2407963

To unsubscribe from this discussion, e-mail:
[users-unsubscribe@subversion.tigris.org].

================================================================================================
EMAIL DISCLAIMER

This email and any attachments are confidential. They may also be subject to copyright.

If you are not an intended recipient of this email please immediately contact us by replying
to this email and then delete this email. 

You must not read, use, copy, retain, forward or disclose this email or any attachment.

We do not accept any liability arising from or in connection with unauthorised use or disclosure 
of the information contained in this email or any attachment.

We make reasonable efforts to protect against computer viruses but we do not accept liability
for any liability, loss or damage caused by any computer virus contained in this email.
================================================================================================

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].