svnadmin archive — Ask Berkeley DB which logfiles can be safely deleted.
svnadmin archive REPOS_PATH
Berkeley DB creates logs of all changes to the repository, which allow it to recover in the face of catastrophe. Over time, the logfiles accumulate, although most are no longer used and can be deleted to reclaim disk space. See the section called “Berkeley DB Utilities” for more information.
Remove all unused logfiles from a repository:
$ svnadmin archive /path/to/repos /path/to/repos/log.0000000031 /path/to/repos/log.0000000032 /path/to/repos/log.0000000033 $ svnadmin archive /path/to/repos | xargs rm ## disk space reclaimed!