Version Control with Subversion, 2nd Edition
by C. Michael Pilato, Ben Collins-Sussman, Brian W. Fitzpatrick
Name
svnadmin hotcopy — Make a hot copy of a repository.
Synopsis
svnadmin hotcopyREPOS_PATHNEW_REPOS_PATH
Description
This subcommand makes a full “hot” backup
of your repository, including all hooks, configuration files, and, of course,
database files. If you pass the --clean-logs
option, svnadmin will perform a hot copy of
your repository and will then remove unused Berkeley DB logs from
the original repository. You can run this command at any time and
make a safe copy of the repository, regardless of whether other
processes are using the repository.
Options
--clean-logs
Warning
As described in Berkeley DB, hot-copied Berkeley DB repositories are not portable across operating systems, nor will they work on machines with a different “endianness” than the machine where they were created.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access