svnadmin is the administrative tool for monitoring and repairing your Subversion repository. For detailed information on repository administration, see the maintenance section for the section called “svnadmin”.
Since svnadmin works via direct repository access (and thus can only be used on the machine that holds the repository), it refers to the repository with a path, not a URL.
Options in svmadin are global, just as they are in svn:
--bdb-log-keep(Berkeley DB-specific.) Disable automatic log removal of database logfiles. Having these logfiles around can be convenient if you need to restore from a catastrophic repository failure.
--bdb-txn-nosync(Berkeley DB-specific.) Disables fsync when committing database transactions. Used with the svnadmin create command to create a Berkeley DB-backed repository with
DB_TXN_NOSYNCenabled (which improves speed but has some risks associated with it).--bypass-hooksBypass the repository hook system.
--clean-logsRemove unused Berkeley DB logs.
--force-uuidBy default, when loading data into repository that already contains revisions, svnadmin will ignore the
UUIDfrom the dump stream. This option will cause the repository'sUUIDto be set to theUUIDfrom the stream.--ignore-uuidBy default, when loading an empty repository, svnadmin will ignore the
UUIDfrom the dump stream. This option will force that UUID to be ignored (useful for overriding your configuration file if it has--force-uuidset).--incrementalDump a revision only as a diff against the previous revision, instead of the usual fulltext.
--parent-dirDIRWhen loading a dump file, root paths at
DIRinstead of/.--pre-1.4-compatibleWhen creating a new repository, use a format that is compatible with versions of Subversion earlier than Subversion 1.4.
--pre-1.5-compatibleWhen creating a new repository, use a format that is compatible with versions of Subversion earlier than Subversion 1.5.
--revision(-r)ARGSpecify a particular revision to operate on.
--quietDo not show normal progress—show only errors.
--use-post-commit-hookWhen loading a dump file, runs the repository's
post-commithook after finalizing each newly loaded revision.--use-post-revprop-change-hookWhen changing a revision property, runs the repository's
post-revprop-changehook after changing the revision property.--use-pre-commit-hookWhen loading a dump file, runs the repository's
pre-commithook before finalizing each newly loaded revision. If the hook fails, aborts the commit and terminates the load process.--use-pre-revprop-change-hookWhen changing a revision property, runs the repository's
pre-revprop-changehook before changing the revision property. If the hook fails, aborts the modification and terminates.
Here are the various subcommands for the svnadmin program.
- svnadmin crashtest
- svnadmin create
- svnadmin deltify
- svnadmin dump
- svnadmin help
- svnadmin hotcopy
- svnadmin list-dblogs
- svnadmin list-unused-dblogs
- svnadmin load
- svnadmin lslocks
- svnadmin lstxns
- svnadmin recover
- svnadmin rmlocks
- svnadmin rmtxns
- svnadmin setlog
- svnadmin setrevprop
- svnadmin setuuid
- svnadmin upgrade
- svnadmin verify



