You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by sv...@trodman.com on 2010/09/09 00:12:01 UTC

value in 'svnadmin verify' cron job? (or is 'svnadmin hotcopy' enough?)

Assuming a nightly 'svnadmin hotcopy' is run w/o errors, is
there value in periodically running one or both of?:

  svnadmin verify REPO-PATHNAME 2>&1 |egrep -v '^\* Verified revision [0-9]+\.'

  svnadmin dump -q --deltas REPO-PATHNAME >/dev/null

Goal of grep and redirects is to only display errors or warnings.

--
Does a successful 'svnadmin hotcopy' indicate a clean bill of
health for the repository, or might 'svnadmin verify' still
locate problems?

Would like to detect corruption in repository as soon as possible.

--
thanks
Tom

Re: value in 'svnadmin verify' cron job? (or is 'svnadmin hotcopy' enough?)

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
svn@trodman.com wrote on Wed, Sep 08, 2010 at 19:12:01 -0500:
> Assuming a nightly 'svnadmin hotcopy' is run w/o errors, is
> there value in periodically running one or both of?:
> 
>   svnadmin verify REPO-PATHNAME 2>&1 |egrep -v '^\* Verified revision [0-9]+\.'
> 
>   svnadmin dump -q --deltas REPO-PATHNAME >/dev/null
> 

YES.

> Goal of grep and redirects is to only display errors or warnings.
> 
> --
> Does a successful 'svnadmin hotcopy' indicate a clean bill of
> health for the repository, or might 'svnadmin verify' still
> locate problems?
> 

The latter.

> Would like to detect corruption in repository as soon as possible.
> 

+1

> --
> thanks
> Tom