Re: How to restore repositories from backup server
Johan Corveleyn <[email protected]> Thu, 9 Jan 2025 15:20:46 +0100
| Newsgroups | gmane.comp.version-control.subversion.user |
|---|---|
| Message-ID | <CAB84uBVt0qToBBx6K2VnbT_4SaFm1-_YiiYMYRFy1WkfK5UboA@mail.gmail.com> |
On Thu, Jan 9, 2025 at 1:26 PM Daniel Sahlberg <[email protected]> wrote: ... > The only solution that will make sure you actually have a working sync is to monitor that the sync script completes without errors. Maybe you could have a script that looks for the svn:sync-lock property (something like svn proplist -v --revprop -r0 http://remote.server.tld/svn/repo) at a time when the sync SHOULD have completed? Or perhaps try to run some daily / weekly "verification" script that runs "svnlook youngest %PATH_TO_REPO%" or "svnadmin info %PATH_TO_REPO%" on both sides and compares the results (or simply mails them to you as a first step). Adding an "svnadmin verify" and an "svnadmin pack" might be useful too. -- Johan