Svnadmin verify question

91 views
Skip to first unread message

Luke Mauldin

unread,
Nov 2, 2021, 5:09:55 PM11/2/21
to Subversion
Can anyone tell me the details of the svnadmin verify command? Does subversion store any internal hash of each commit to verify its correctness and that it has not changed over time due to disk/memory errors or software bugs?

Luke Mauldin

Nathan Hartman

unread,
Nov 3, 2021, 2:44:26 PM11/3/21
to Luke Mauldin, Subversion
On Tue, Nov 2, 2021 at 5:09 PM Luke Mauldin <lukem...@icloud.com> wrote:
>
> Can anyone tell me the details of the svnadmin verify command? Does subversion store any internal hash of each commit to verify its correctness and that it has not changed over time due to disk/memory errors or software bugs?
>
> Luke Mauldin

Yes. The purpose of 'svnadmin verify' is to check for exactly those
kinds of errors.

By default it runs through each revision one-by-one and stops/reports
if it finds a problem. There's also a --keep-going option since SVN
1.9.

It is a good idea to run 'svnadmin verify' periodically on
repositories to ensure their integrity.

It is also crucial to have a good backup process in place, i.e., keep
multiple good up-to-date backups of repositories in different physical
locations and make sure you can restore from them before disaster
strikes. Obviously it's of no use to detect corruption if you don't
have backups to restore from.

Hope this helps,
Nathan

Luke Mauldin

unread,
Nov 3, 2021, 2:45:24 PM11/3/21
to Nathan Hartman, Subversion
Does the Svnadmin verify do checksum checks? How does it verify validity?
Reply all
Reply to author
Forward
0 new messages