找不到 DUMPed 文件系统的位置

找不到 DUMPed 文件系统的位置

我转储了一个文件系统,选择了转储的名称(“ ”),转储被声明成功,但我在系统中的任何地方home_fs_dump都找不到这个名称。 locate(最后我测试了是否locate给了我任何文件,或者我是否错误地使用了它。)

转储是否可以通过其他命令定位locate?如果是的话,那又怎样呢?或者我在某个地方犯了某种其他错误?

(我需要知道这一点restore。)

[root@12345 /]# dump -0uf home_fs_dump /dev/mapper/fedora_12345-home
  DUMP: Date of this level 0 dump: Sat Apr 25 21:08:02 2015
  DUMP: Dumping /dev/mapper/fedora_12345-home (/home) to home_fs_dump
  DUMP: Label: none
  DUMP: Writing 10 Kilobyte records
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 22551 blocks.
  DUMP: Volume 1 started with block 1 at: Sat Apr 25 21:08:02 2015
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: Closing home_fs_dump
  DUMP: Volume 1 completed at: Sat Apr 25 21:08:04 2015
  DUMP: Volume 1 23010 blocks (22.47MB)
  DUMP: Volume 1 took 0:00:02
  DUMP: Volume 1 transfer rate: 11505 kB/s
  DUMP: 23010 blocks (22.47MB) on 1 volume(s)
  DUMP: finished in 2 seconds, throughput 11505 kBytes/sec
  DUMP: Date of this level 0 dump: Sat Apr 25 21:08:02 2015
  DUMP: Date this dump completed:  Sat Apr 25 21:08:04 2015
  DUMP: Average transfer rate: 11505 kB/s
  DUMP: DUMP IS DONE
[root@12345 /]# locate home_fs_*
[root@12345 /]# locate *fs_dump
[root@12345 /]# locate *_fs_*
[root@12345 /]# locate home_*
[root@12345 /]# locate home*
/home
/etc/selinux/targeted/contexts/files/file_contexts.homedirs
/etc/selinux/targeted/contexts/files/file_contexts.homedirs.bin
/etc/selinux/targeted/modules/active/file_contexts.homedirs
/etc/selinux/targeted/modules/active/homedir_template
/etc/selinux/targeted/modules/tmp/file_contexts.homedirs
/etc/selinux/targeted/modules/tmp/homedir_template
(...)

答案1

按照建议将其作为答案

find / -name "home_f_dump"

相关内容