名称

svnadmin hotcopy — 制作一个版本库的热备份。

概要

svnadmin hotcopy REPOS_PATH NEW_REPOS_PATH

描述

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 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.

选项

--clean-logs
[警告] 警告

就像第 2.3.1 节 “Berkeley DB”描述的,热拷贝的Berkeley DB版本库不能跨操作系统移植,也不能在不同字节续的主机上工作。