Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找 ext4 的备份工具,它可以从运行中的 fs(如 /var)获取副本,在恢复此类 fs 后不会发生冲突。我知道 BSD 转储有一个“-L”选项,它告诉他处理快照。但是来自存储库的 dump 和 dumpe2fs 也没有这样的选项。我已经阅读了关于 ext4 提供快照支持的补丁集,但是关于它的回复非常不同,所以我在这里询问您对这个补丁的体验。
它不是转储工具,但我使用rsync它允许在正在运行的系统上的 2 个文件系统之间进行增量备份。
rsync
例如 rsync -aSXvH /srcdir /target_dir