ファイルシステムをダンプと比較する

ファイルシステムをダンプと比較する

ファイルシステムの現在の状態を作成されたバックアップに保存されている状態と比較する方法はありますかdump

最近、深刻なファイルシステムの破損が発生し、最新のバックアップは数ヶ月前のものでした。 2つを比較して被害の規模を把握し、バックアップ後どのくらい変わったかを確認したいと思います。

ベストアンサー1

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.

おすすめ記事