svnadmin hotcopy 无限期挂起

Posted

技术标签:

【中文标题】svnadmin hotcopy 无限期挂起【英文标题】:svnadmin hotcopy hangs indefinitely 【发布时间】:2014-02-10 15:41:21 【问题描述】:

我正在为 Subversion 存储库实施备份策略。

我选择了本地 NAS 上的增量备份。我将 NAS 安装在 Samba 上并尝试 hotcopy 我的测试存储库(提交很少,重 320KB)。

svnadmin hotcopy --incremental /path/to/original /path/to/backup

问题是程序无限期挂起!

如何解决? CTRL+C 不起作用

[编辑] 似乎只有当我推送到 Samba 存储时才会发生这种情况。如果我热复制到我的本地驱动器,它将成功完成

【问题讨论】:

“这不会发生”? 【参考方案1】:

你的测试仓库可能是在 BDB fs 上吗?

As described in the section called “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.

If you attempt to use Berkeley DB on a noncompliant remote filesystem, the results are unpredictable—you may see mysterious errors right away, or it may be months before you discover that your repository database is subtly corrupted. You should strongly consider using the FSFS data store for repositories that need to live on a network share.

【讨论】:

以上是关于svnadmin hotcopy 无限期挂起的主要内容,如果未能解决你的问题,请参考以下文章

svn全备份,用svnadmin hotcopy命令,总提示系统找不到指定路径,怎么办?

svn全备份,用svnadmin hotcopy命令,总提示系统找不到指定路径,怎么办?

UIRefreshControl 无限期挂起

AWX 所有作业都停止处理并无限期挂起——为啥

MySqlConnection.Open 无限期挂起

使用 pytest 进行测试时,石墨烯查询无限期挂起