none
Cannot backup D:\System Volume Information\SRM\quota.md

    Question

  • Hello,

    from previous Windows Server Backup the backup is completed with warning - cannot backup D:\System Volume Information\SRM\quota.md, Error [0x80070020] The process can not access the file because it is used by another process.

    I made two changes to server.
    1/ I installed WSUS with Windows Internal Database
    2/ I changed backup script - I excluded WSUS folder from backup

    Here is my new backup script: WBADMIN START BACKUP -include:c:,d: -allcritical -exclude:d:\WSUS -vssFull -backupTarget:g: -quiet
    And yes, we use File Server Resources Manager for quotas but for more than year and there was no problem with backup

    Do you know, how can I solve problem with backing up this file or simply exclude it?

    Saturday, August 25, 2012 7:53 AM

Answers

  • Hi,

    If conditions permits, please temporarily shut down Antivirus applications and see if it still has the warnings.

    Have you tried the command-line? Can it back up successfully?

    If you have any additional questions, please feel free to let me know.

    Thanks,


    Monday, August 27, 2012 7:31 AM
  • I made a few backups with disabled antivirus and uninstalled WSUS but the -exclude switch made the problem. If I run backup without exclusion, it is successfull, so I will install WSUS again and see if it still works.
    Sunday, September 02, 2012 2:46 PM

All replies

  • I would have ask here.
    http://social.technet.microsoft.com/Forums/en/windowsbackup/threads


    Thanks
    Saturday, August 25, 2012 7:59 AM
  • Hi,

    I would like to confirm that if you have installed the third-party backup software or applications on your server?

    The above mentioned problem can be your machine and scenario specific. Generally such failures occur because some application is causing sharing violation on files and since backup can not access those files, it fails. We have generally seen Antivirus program causing such problems.

    Try to backup and shut down any such Antivirus\possible applications which can cause such problem.

    If the problem still persists, you can use these workarounds to take backup:

    1.You can perform the backup in safe mode. Safe mode releases all handles. Here is the link for doing operations in safe mode.

    http://windows.microsoft.com/en-US/windows7/Advanced-startup-options-including-safe-mode

    2.If you are trying to back up the whole drive, you can use this command from admin prompt.

    Wbadmin start backup -backuptarget:<Target Drive>  -include:<The Drive To backup> -quiet

    Or check the following article for further troubleshooting.

    http://support.microsoft.com/kb/883825

    If you want to exclude WSUS folder, please try the following command-line and see if it can works.

    wbadmin start backup –backupTarget:g: -include:c:,d: -exclude:d:\WSUS -vssfull  -quiet

    Thanks,

    Monday, August 27, 2012 3:13 AM
  • I have not the third-party backup software. I use System Center 2012 Endpoint Protection as antivirus program.

    I made many backups without problem before. The problem started two weeks ago and I made only that two changes.

    If I backup the whole D:\System Volume Information folder manually, backup is successfull.

    Monday, August 27, 2012 5:15 AM
  • Hi,

    If conditions permits, please temporarily shut down Antivirus applications and see if it still has the warnings.

    Have you tried the command-line? Can it back up successfully?

    If you have any additional questions, please feel free to let me know.

    Thanks,


    Monday, August 27, 2012 7:31 AM
  • If Task Scheduler runs this command: WBADMIN START BACKUP -include:"d:\System Volume Information" -vssFull -backupTarget:c: -quiet, the backup is successfull.

    Monday, August 27, 2012 9:44 AM
  • Hi,

    Yeah, it means that you have a solution for your issue.

    please free to let me know if you have any other questions.

    Regards,

    Tuesday, August 28, 2012 2:02 AM
  • I do not have a solution. The command WBADMIN START BACKUP -include:c:,d: -allcritical -exclude:d:\WSUS -vssFull -backupTarget:g: -quiet cannot backup D:\System Volume Information\SRM\quota.md. I run this command on Saturday morning with Task Scheduler too. I will try to delete existing task and create a new one.
    Tuesday, August 28, 2012 5:25 AM
  • Hi,

    yeah, have you tried this command-line?

    wbadmin start backup –backupTarget:g: -include:c:,d: -exclude:d:\WSUS -vssfull  -quiet

    Regards,

    Tuesday, August 28, 2012 5:27 AM
  • I will try it and let you know on Saturday.
    Tuesday, August 28, 2012 5:31 AM
  • Hi,

    Hope your issue is solved as soon as possible, please let me know if you have any additional questions.

    Regards,

    Tuesday, August 28, 2012 5:34 AM
  • How are things going? any findings ,please let me know, I will be happy to help you.
    Friday, August 31, 2012 11:28 PM
  • I made a few backups with disabled antivirus and uninstalled WSUS but the -exclude switch made the problem. If I run backup without exclusion, it is successfull, so I will install WSUS again and see if it still works.
    Sunday, September 02, 2012 2:46 PM
  • I installed WSUS and MSSQL. Next backup was successfull so the -exclude switch really made the problem.
    Saturday, September 08, 2012 5:55 AM
  • We have the same problem here. Very easy to recreate as we are getting it on several customer servers after we implemented a new policy to excluded WSUS. All backups complete with warning:

    Cannot backup D:\System Volume Information\SRM\quota.md, Error [0x80070020] The process can not access the file because it is used by another process.

    The -exclude D:\WSUS causes the problem

    Ales, are you saying we have to reinstall WSUS on all customer servers to fix this?

    Saturday, November 10, 2012 8:16 PM
  • Hi,

    I am currently experiencing this at one of our customers sites.

    I noticed that nothing has been said in a while on this... What was the resolution?

    Thanks,

    Monday, December 24, 2012 11:30 AM
  • I never found a solution but it is on my todo list to investigate. According to Aleš, you need to uninstall and reinstall WSUS. I didn't try that myself as it was too much hassle. For now I've simply removed the exclusion of the WSUS folder from the backup and we are back to backing up the entire drive again...
    Wednesday, January 09, 2013 10:00 AM