Author Topic: Can't use Volume Shadow Copy option for backups  (Read 17732 times)

0 Members and 1 Guest are viewing this topic.

Offline Yoda

  • Newbie
  • *
  • Join Date: Feb 2015
  • Posts: 10
  • Karma: 0
    • View Profile
Can't use Volume Shadow Copy option for backups
« on: February 07, 2015, 11:01:14 am »
I can start the VSS manually if I wish, but the program cannot start it to perform backups. It's always failing to start "C:\WINDOWS\temp\vss_start.bat". Or it says it can't be found.

Any ideas?

Thanks

Windows Pro SP3
« Last Edit: February 07, 2015, 11:43:24 am by Yoda »

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Can't use Volume Shadow Copy option for backups
« Reply #1 on: February 09, 2015, 02:16:39 pm »
Perhaps your antivirus is deleting the bat file? I have seen them do it before, even when disabled.

What antivirus do you have installed?

Shane

Offline Yoda

  • Newbie
  • *
  • Join Date: Feb 2015
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Can't use Volume Shadow Copy option for backups
« Reply #2 on: February 09, 2015, 02:44:55 pm »
My antivirus is ESET's NOD32. I did try disabling it.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Can't use Volume Shadow Copy option for backups
« Reply #3 on: February 09, 2015, 02:47:29 pm »
Yeah that was the same one that was deleting the bat files from my Windows repair, even when disabled. Their disabled doesnt actually disable lol. Does the logs in the AV show anything?

Shane

Offline Yoda

  • Newbie
  • *
  • Join Date: Feb 2015
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Can't use Volume Shadow Copy option for backups
« Reply #4 on: February 09, 2015, 03:48:48 pm »
I'm not home right now. Will let you know as soon as I get home.

Thank you very much!

Offline Yoda

  • Newbie
  • *
  • Join Date: Feb 2015
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Can't use Volume Shadow Copy option for backups
« Reply #5 on: February 09, 2015, 05:40:48 pm »
Unfortunately, there aren't any signs in the log files.

However, perhaps I could add an exclusion? Not sure what though. Any ideas?
« Last Edit: February 10, 2015, 05:09:06 am by Yoda »

Offline Yoda

  • Newbie
  • *
  • Join Date: Feb 2015
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Can't use Volume Shadow Copy option for backups
« Reply #6 on: February 10, 2015, 07:15:53 am »
Just tried adding C:\WINDOWS\Temp to ESET's Exclusions' list. Still a no go. :(

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Can't use Volume Shadow Copy option for backups
« Reply #7 on: February 10, 2015, 02:20:30 pm »
Try watching the windows temp folder and see if you see the bat file show up at all and then disappear, that would show that the AV is killing it. :wink:

Shane

Offline Yoda

  • Newbie
  • *
  • Join Date: Feb 2015
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Can't use Volume Shadow Copy option for backups
« Reply #8 on: February 11, 2015, 09:49:49 am »
Yes, the bat files (vss.bat and vss_start.bat) do appear in the Temp folder for 30 seconds before the error message appears. Then, when shutting down the backup program, the two .bat files simply disappear a few seconds later.

If ESET is responsible, what can I do about it?
« Last Edit: February 11, 2015, 09:59:18 am by Yoda »

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Can't use Volume Shadow Copy option for backups
« Reply #9 on: February 11, 2015, 11:59:03 am »
Can you post a screen shot of the actual error message you get? And can you also post the logs from the backup.

You can also have the program use the fallback method instead and not use VSS. That is the method I use when i have it set to backup at startup, it is much faster :-)

Shane

Offline Yoda

  • Newbie
  • *
  • Join Date: Feb 2015
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Can't use Volume Shadow Copy option for backups
« Reply #10 on: February 11, 2015, 12:22:45 pm »


Log_Vss.txt :

Quote
[2015-02-11 - 15:15:28]
--------------------------------------------------------------------------------
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\tweaking.com_registry_backup_portable>
--------------------------------------------------------------------------------
[2015-02-11 - 15:15:28]
--------------------------------------------------------------------------------
CD /D C:\

C:\>
--------------------------------------------------------------------------------
[2015-02-11 - 15:15:28]
--------------------------------------------------------------------------------
"C:\WINDOWS\temp\vss_start.bat"
The system cannot execute the specified program.

C:\>
--------------------------------------------------------------------------------


The fallback method does work. However, the Volume Shadow Copy method is the one you are recommending...  :smiley:


Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Can't use Volume Shadow Copy option for backups
« Reply #11 on: February 11, 2015, 12:32:33 pm »
So far I havent found any reason not to use the fallback and I like how much faster it is. MS says to use the VSS to do it, but I think that applies more for servers since I have never seen a problem with it.

Also I checked and the error from the cmd.exe "The system cannot execute the specified program." means that the file is locked and it cant read it. So your AV may be locking the file or something else is. I would just use the fallback method :-)

Shane

Offline Yoda

  • Newbie
  • *
  • Join Date: Feb 2015
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Can't use Volume Shadow Copy option for backups
« Reply #12 on: February 11, 2015, 12:45:33 pm »
OK. I'll use the fallback method.

Thank you for your concern and especially for making these great apps!

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Can't use Volume Shadow Copy option for backups
« Reply #13 on: February 11, 2015, 12:48:14 pm »
Happy to help :-)

Shane

Offline Yoda

  • Newbie
  • *
  • Join Date: Feb 2015
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Can't use Volume Shadow Copy option for backups
« Reply #14 on: February 11, 2015, 12:52:38 pm »
Oops! Really sorry. The result is the same, but the Log_Vss.txt is different. I forgot to disable Simple Software-Restriction Policy before running the last backup.

Here is the one I'm having normally:

[2015-02-11 - 15:47:48]
--------------------------------------------------------------------------------
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\tweaking.com_registry_backup_portable>
--------------------------------------------------------------------------------
[2015-02-11 - 15:47:48]
--------------------------------------------------------------------------------
CD /D C:\

C:\>
--------------------------------------------------------------------------------
[2015-02-11 - 15:47:48]
--------------------------------------------------------------------------------
"C:\WINDOWS\temp\vss_start.bat"

C:\>set path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\tweaking.com_registry_backup_portable\files

C:\>"C:\tweaking.com_registry_backup_portable\files\vss_xp.exe" -script="C:\WINDOWS\temp\vss-setvar.bat" -exec="C:\WINDOWS\temp\vss.bat" C:

--------------------------------------------------------------------------------
[2015-02-11 - 15:47:48]
--------------------------------------------------------------------------------
The specified path was not found.

C:\>
--------------------------------------------------------------------------------
[2015-02-11 - 15:48:35]
--------------------------------------------------------------------------------
Closed. No longer reading pipes.
--------------------------------------------------------------------------------

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Can't use Volume Shadow Copy option for backups
« Reply #15 on: February 11, 2015, 12:57:47 pm »
Looks like it wasnt finding C:\WINDOWS\temp\vss-setvar.bat

The reason I made the fallback method was for when there is trouble running vss. The fallback method simply calls the Windows APi to save the registry to new files, and so is a lot faster since we dont have to wait for the VSS to make a shadow copy.

Shane

Offline Yoda

  • Newbie
  • *
  • Join Date: Feb 2015
  • Posts: 10
  • Karma: 0
    • View Profile
Re: Can't use Volume Shadow Copy option for backups
« Reply #16 on: February 11, 2015, 01:00:34 pm »
But same thing. The two bat files are indeed appearing in the Temp folder, and disappearing after closing the program.

No big deal I guess. I'll use the fallback method from now on.
« Last Edit: February 11, 2015, 01:04:17 pm by Yoda »