Name

svnadmin recover — Recovers any lost state in a repository.

Synopsis

svnadmin recover REPOS_PATH

Description

Run this command if you get an error indicating that your repository needs to be recovered.

Warning

Only run this when you are absolutely certain you're the only process accessing the repository—it requires exclusive access. See the section called “Repository Recovery” for a detailed explanation of repository recovery.

Examples

Recover a hung repository:

$ svnadmin recover /usr/local/svn/repos/ 
Acquiring exclusive lock on repository db.
Recovery is running, please stand by...
Recovery completed.
The latest repos revision is 34.