有没有一种方法可以将文件系统的当前状态与存储在创建的备份中的文件系统进行比较dump
?
我最近在文件系统中遇到了一些重大损坏,而我最近的备份是几个月前的事。我想将两者进行比较,以了解损坏的程度,并希望看到自备份以来发生了多少更改。
看一下restore
命令。它有一个开关,-C
看起来像您想要的。
摘录自还原手册页
-C This mode allows comparison of files from a dump. Restore reads the
backup and compares its contents with files present on the disk. It
first changes its working directory to the root of the filesystem that
was dumped and compares the tape with the files in its new current
directory. See also the -L flag described below.
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句