Linux 文件恢复(XFS EXT4)(3)

7.恢复文件丢失的文件。

[root@localhost ~]# xfsrestore -f /opt/dump_sdb1 /mnt/xfs/ xfsrestore: using file dump (drive_simple) strategy xfsrestore: version 3.1.4 (dump format 3.0) - type ^C for status and control xfsrestore: searching media for dump xfsrestore: examining media file 0 xfsrestore: dump description: xfsrestore: hostname: localhost.localdomain xfsrestore: mount point: /mnt/xfs xfsrestore: volume: /dev/sdb1 xfsrestore: session time: Fri Sep 6 13:36:12 2019 xfsrestore: level: 0 xfsrestore: session label: "dump_sdb1" xfsrestore: media label: "sdb1" xfsrestore: file system id: f8805a3e-089e-4875-ad54-d31e5dc98835 xfsrestore: session id: 74232f85-124c-4486-8d91-f35208534f74 xfsrestore: media id: cc32446f-42e8-489b-867f-84a55949c1fa xfsrestore: using online session inventory xfsrestore: searching media for directory dump xfsrestore: reading directories xfsrestore: 2 directories and 3 entries processed xfsrestore: directory post-processing xfsrestore: restoring non-directory files xfsrestore: restore complete: 0 seconds elapsed xfsrestore: Restore Summary: xfsrestore: stream 0 /opt/dump_sdb1 OK (success) xfsrestore: Restore Status: SUCCESS [root@localhost ~]# tree /mnt/xfs/ /mnt/xfs/ ├── a.txt └── test └── b.txt 1 directory, 2 files

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/11691.html