rustic icon indicating copy to clipboard operation
rustic copied to clipboard

rustic-rs Crash Report (windows/restore)

Open MiloszKrajewski opened this issue 7 months ago • 3 comments

While trying to to restore backup:

rustic restore latest c:/restore

I'm getting this "panic":

name = "rustic-rs"
operating_system = "Windows 10.0.19045 (Windows 10 Enterprise) [64-bit]"
crate_version = "0.9.5"
explanation = '''
Panic occurred in file 'C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustic_core-0.7.2\src\commands\restore.rs' at line 562
'''
cause = 'called `Result::unwrap()` on an `Err` value: OpeningFileFailed(Os { code: 32, kind: Uncategorized, message: "The process cannot access the file because it is being used by another process." })'
method = "Panic"
backtrace = """
   0:     0x7ff72c5b2a8a - <unresolved>
   1:     0x7ff72c5b2786 - <unresolved>
   2:     0x7ff72d3c1f90 - <unresolved>
   3:     0x7ff72d4cec41 - <unresolved>
   4:     0x7ff72d4ceae9 - <unresolved>
   5:     0x7ff72d4cea3f - <unresolved>
   6:     0x7ff72d4cea2e - <unresolved>
   7:     0x7ff72d61d881 - <unresolved>
   8:     0x7ff72d61dc90 - <unresolved>
   9:     0x7ff72d2e6eb2 - <unresolved>
  10:     0x7ff72d632ffb - <unresolved>
  11:     0x7ff72c8317d1 - <unresolved>
  12:     0x7ff72c8312e1 - <unresolved>
  13:     0x7ff72d4c7bbd - <unresolved>
  14:     0x7ffbaae67374 - BaseThreadInitThunk
  15:     0x7ffbace7cc91 - RtlUserThreadStart
"""

I guess this is due to to some virus scanner which I cannot disable. Is there a way to have a --retry flag or maybe to skip such file and return to it later?

MiloszKrajewski avatar Mar 20 '25 17:03 MiloszKrajewski