Bareos-FD Errors on Windows: The process cannot access the file because it is being used by another process

22 views
Skip to first unread message

Joshua ODonnell

unread,
Nov 21, 2022, 5:24:05 PM11/21/22
to bareos-users
Hi All,
 I've been using Bareos to backup about 15 different machines including FreeBSD, Ubuntu, Ubuntu on VirtualBox VM, and Windows. They've run pretty flawlessly but I've run into an issue backing up one of the Windows laptops that within the last two months have started spewing out FD errors. It worked fine the prior 8 months so I'm asking for your collective help on how to fix it.

VSS is turned on. Here is a dump of my client, job, jobdefs, and fileset configs.

Also included some sample error messages and then a completed job message.

Thank you for your time,
Joshua


Client {
  Name = "desktop-712pcl2-fd"
  Address = "desktop-712pcl2.office.novasolix.com"
  Password = redacted
  Connection From Client To Director = yes
  Heartbeat Interval = 60
}


Job {
  Name = "desktop-712pcl2"
  Client = "desktop-712pcl2-fd"
  JobDefs = "desktop-712pcl2"
  Accurate = yes
}

JobDefs {
  Name = "desktop-712pcl2"
  Type = Backup
  Level = Incremental
  Client = desktop-712pcl2-fd
  FileSet = "JoshuaWindowsAllDrives"                     # selftest fileset
  Schedule = "WeeklyCycle"
  Storage = File
  Messages = Standard
  Pool = Incremental
  Priority = 10
  Write Bootstrap = "/var/lib/bareos/%c.bsr"
  Full Backup Pool = Full                  # write Full Backups into "Full" Pool
  Differential Backup Pool = Differential  # write Diff Backups into "Differential" Pool
  Incremental Backup Pool = Incremental    # write Incr Backups into "Incremental" Pool
}


FileSet {
  Name = "JoshuaWindowsAllDrives"
  Enable VSS = yes
  Include {
    Options {
      Signature = MD5
      Drive Type = fixed
      Compression = GZIP
      IgnoreCase = yes
      WildFile = "[A-Z]:/hiberfil.sys"
      WildFile = "[A-Z]:/pagefile.sys"
      WildFile = "[A-Z]:/swapfile.sys"
      WildDir = "[A-Z]:/RECYCLER"
      WildDir = "[A-Z]:/$RECYCLE.BIN"
      WildDir = "[A-Z]:/System Volume Information"
      Exclude = yes
    }
    File =/
  }
 Exclude {
    File= "C:/Users/*/AppData/Local/Google/DriveFS"

    File= "C:/Users/*/VirtualBox*"

    File= "C:/Users/*/AppData/Local/Expan*"

    File= "C:/Recovery/*"

    File= "C:/Program Files/Roberts Space Industries/*"
 }

}

Here is a sample of error messages


21-Nov 21:50 desktop-712pcl2-fd JobId 2167:      Cannot open "C:/ProgramData/Microsoft/Search/Data/Applications/Windows/edb.jtx": ERR=The process cannot access the file because it is being used by another process.
.
21-Nov 21:50 desktop-712pcl2-fd JobId 2167:      Cannot open "C:/ProgramData/Microsoft/Search/Data/Applications/Windows/edbtmp.jtx": ERR=The process cannot access the file because it is being used by another process.
.
21-Nov 21:50 desktop-712pcl2-fd JobId 2167:      Cannot open "C:/ProgramData/Microsoft/Search/Data/Applications/Windows/Windows.edb": ERR=The process cannot access the file because it is being used by another process.
.
21-Nov 21:50 desktop-712pcl2-fd JobId 2167:      Cannot open "C:/ProgramData/Microsoft/Search/Data/Applications/Windows/Windows.jfm": ERR=The process cannot access the file because it is being used by another process.
.
21-Nov 21:50 desktop-712pcl2-fd JobId 2167:      Cannot open "C:/ProgramData/Microsoft/Windows Defender/IMpService77BDAF73-B396-481F-9042-AD358843EC24.lock": ERR=The process cannot access the file because it is being used by another process.


21-Nov 21:51 desktop-712pcl2-fd JobId 2167:      Cannot open "C:/ProgramData/Microsoft/Windows Defender/Scans/MpDiag.bin": ERR=The process cannot access the file because it is being used by another process.
.
21-Nov 21:51 desktop-712pcl2-fd JobId 2167:      Cannot open "C:/Users/fireb/AppData/Local/Comms/UnistoreDB/store.jfm": ERR=The process cannot access the file because it is being used by another process.
.
21-Nov 21:51 desktop-712pcl2-fd JobId 2167:      Cannot open "C:/Users/fireb/AppData/Local/Comms/UnistoreDB/store.vol": ERR=The process cannot access the file because it is being used by another process.
.
21-Nov 21:51 desktop-712pcl2-fd JobId 2167:      Cannot open "C:/Users/fireb/AppData/Local/Comms/UnistoreDB/tmp.edb": ERR=The process cannot access the file because it is being used by another process.
.
21-Nov 21:51 desktop-712pcl2-fd JobId 2167:      Cannot open "C:/Users/fireb/AppData/Local/Comms/UnistoreDB/USS.jtx": ERR=The process cannot access the file because it is being used by another process.





  Build OS:               Ubuntu 20.04.3 LTS
  JobId:                  2167
  Job:                    desktop-712pcl2.2022-11-21_21.00.01_21
  Backup Level:           Incremental, since=2022-11-19 21:50:51
  Client:                 "desktop-712pcl2-fd" 21.0.0 (21Dec21) Microsoft Windows 8  (build 9200), 64-bit,Cross-compile
  FileSet:                "JoshuaWindowsAllDrives" 2022-11-11 22:32:03
  Pool:                   "Incremental" (From Job IncPool override)
  Catalog:                "MyCatalog" (From Client resource)
  Storage:                "File" (From Job resource)
  Scheduled time:         21-Nov-2022 21:00:01
  Start time:             21-Nov-2022 21:26:14
  End time:               21-Nov-2022 22:13:04
  Elapsed time:           46 mins 50 secs
  Priority:               10
  FD Files Written:       13,948
  SD Files Written:       13,948
  FD Bytes Written:       2,245,381,494 (2.245 GB)
  SD Bytes Written:       2,248,138,040 (2.248 GB)
  Rate:                   799.1 KB/s
  Software Compression:   52.0 % (gzip)
  VSS:                    yes
  Encryption:             no
  Accurate:               yes
  Volume name(s):         Incremental-0113|Incremental-0114|Incremental-0115
  Volume Session Id:      19
  Volume Session Time:    1669064060
  Last Volume Bytes:      826,317,348 (826.3 MB)
  Non-fatal FD errors:    74
  SD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Bareos binary info:     bareos.org build: Get official binaries and vendor support on bareos.com
  Job triggered by:       Scheduler
  Termination:            Backup OK -- with warnings


Reply all
Reply to author
Forward
0 new messages