Skip to content

recover breaks when custom properties appear as nodes #123

@senpro-ingwersenk

Description

@senpro-ingwersenk

Hello!

One of our customers has experienced a massive data crash due to a blackout. While restoring (restore 2 5), the following error appears:

INFO:root:Restoring #1106279:OECustomProperty Root/Restore_Test/RESTORED-alt/2012_Jan/Docs_CT.eml:OECustomProperty
ERROR:root:IOError when trying to create /mnt/transfer/Partition2/Root/Restore_Test/RESTORED-alt/2012_Jan/Docs_CT.eml:OECustomProperty
Traceback (most recent call last):
  File "/root/RecuperaBit/main.py", line 374, in <module>
    main()
  File "/root/RecuperaBit/main.py", line 371, in main
    interpret(cmd, arguments, parts, shorthands, args.outputdir)
  File "/root/RecuperaBit/main.py", line 181, in interpret
    logic.recursive_restore(myfile, part, partition_dir)
  File "/root/RecuperaBit/recuperabit/logic.py", line 267, in recursive_restore
    recursive_restore(child, part, outputdir, make_dirs=False)
  File "/root/RecuperaBit/recuperabit/logic.py", line 267, in recursive_restore
    recursive_restore(child, part, outputdir, make_dirs=False)
  File "/root/RecuperaBit/recuperabit/logic.py", line 267, in recursive_restore
    recursive_restore(child, part, outputdir, make_dirs=False)
  [Previous line repeated 1 more time]
  File "/root/RecuperaBit/recuperabit/logic.py", line 262, in recursive_restore
    os.utime(restore_path, (atime, mtime))
FileNotFoundError: [Errno 2] No such file or directory

Those are custom props. Can I skip them, somehow?
This is from a HyperV VHDX mounted on a Debian VM.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions