
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
92
|
Chapter 5: Repository Administration
with any of Berkeley’s database tools (you can see the documentation for these tools
at SleepyCat’s website, http://www.sleepycat.com/).
For day-to-day Subversion use, these tools are unnecessary. Most of the functional-
ity typically needed for Subversion repositories has been duplicated in the
svnadmin
tool. For example, svnadmin list-unused-dblogs and svnadmin list-dblogs perform
a subset of what is provided by Berkeley’s
db_archive command, and svnadmin
recover
reflects the common use-cases of the db_recover utility.
There are still a few Berkeley DB utilities that you mind find useful. The
db_dump and
db_load programs write and read, respectively, a custom file format which describes
the keys and values in a Berkeley DB database. Since Berkeley databases are not por-
table across machine architectures, this format is a useful way to transfer those data-
bases from machine to machine, irrespective of architecture or operating system.
Also, the
db_stat utility can provide useful information about the status of your Ber-
keley DB environment, including detailed statistics about the locking and storage
subsystems.
Repository Cleanup
Your Subversion repository will generally require very little attention once it is con-
figured to your liking. However, ...