This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Slow backups since 9.5 installed

Hi there

I've installed 9.5 over the Christmas period, and our backups are now running much more slowly, despite us still issuing a net stop savservice before running the backup.

The Sophos logs appear to show that the on-access scanning is re-starting itself during the backup window - I've read this could be to do with the automatic update.

How can I stop Sophos re-starting on-access scanning until it is clear to do so by the backup application?

Thanks

Alex

:7851


This thread was automatically locked due to age.
  • Hi,

    I wouldn't suggest turning Sophos off during the backup.  Maybe this would help you:

    The other option could be adding exclusions.

    Regards,

    Jak

    :7865
  • Hi jak

    Thanks for the reply. I'd had a look at that thread, and I appreciate the suggestions, but I'm afraid they don't work for us.

    The servers in question are large fileservers with many small files on, and so the i/o isn't the fastest for backup at the best of times, and having Sophos interfere made things even slower. We like to do a full backup here, and the suspension of Sophos worked for us previously.

    I understand your concern about disabling Sophos, but this aside, is anyone aware of how Sophos 9.5 can be made to behave like 7.5 did during updates whilst disabled?

    Thanks

    Alex

    :7953
  • Hi,

    Something basic could be done as a workaround in the short term:  E.g one script could be run before the backup, the other after.

    To Stop and Disable:

    Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")
    
    Set colServiceList = objWMIService.ExecQuery _
        ("Select * from Win32_Service where Name = 'SAVService' or Name = 'Sophos AutoUpdate Service' ")
    
    For Each objService in colServiceList
        If objService.State = "Running" Then
           objService.StopService()
           Wscript.Sleep 5000
           objService.ChangeStartMode("Disabled")
        else
          'Wasn't running
        End If
    Next

    To Enable and Start.

    Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")
    
    Set colServiceList = objWMIService.ExecQuery _
        ("Select * from Win32_Service where Name = 'SAVService' or Name = 'Sophos AutoUpdate Service' ")
    
    For Each objService in colServiceList
        If objService.State = "Running" Then
          'ok
        else
          objService.ChangeStartMode("Automatic")
          Wscript.Sleep 5000
          objService.StartService()
       End If
    Next

    They could be combined into one VBScript but you get the idea.

    I've chosen to disable AutoUpdate also, as if an update occurs during the backup it could install SAV which might start the SAV service.

    But I would suggest calling Support for a better solution.

    Regards,

    Jak

    :7955
  • Hi jak

    Thanks for the help - that's very helpful!

    I'll try it out and see how it works. Like you say, I'll get in touch with support in the long run.

    Alex

    :7957
  • Hi Jak,

    Just to let you know I have also found your scripts extremely helpful.

    I had a Backup Exec Agent running on our MS servers that put SAVservice at 99% during backup.

    We have incorporated your stop/start scripts as part of the back up job and all good!

    Thanks very much - TED

    :10219
  • Hi Ted,

    Appreciate if  you can provide steps/guide incorporated sophos stop/start scripts as part of the back up job. Thanks

    :24049