Tweaking.com Support Forums

Main Forum => Tweaking.com Support & Help => Topic started by: Yoda on February 07, 2015, 11:01:14 am

Title: Can't use Volume Shadow Copy option for backups
Post by: Yoda 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
Title: Re: Can't use Volume Shadow Copy option for backups
Post by: Shane 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
Title: Re: Can't use Volume Shadow Copy option for backups
Post by: Yoda on February 09, 2015, 02:44:55 pm
My antivirus is ESET's NOD32. I did try disabling it.
Title: Re: Can't use Volume Shadow Copy option for backups
Post by: Shane 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
Title: Re: Can't use Volume Shadow Copy option for backups
Post by: Yoda 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!
Title: Re: Can't use Volume Shadow Copy option for backups
Post by: Yoda 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?
Title: Re: Can't use Volume Shadow Copy option for backups
Post by: Yoda on February 10, 2015, 07:15:53 am
Just tried adding C:\WINDOWS\Temp to ESET's Exclusions' list. Still a no go. :(
Title: Re: Can't use Volume Shadow Copy option for backups
Post by: Shane 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
Title: Re: Can't use Volume Shadow Copy option for backups
Post by: Yoda 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?
Title: Re: Can't use Volume Shadow Copy option for backups
Post by: Shane 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
Title: Re: Can't use Volume Shadow Copy option for backups
Post by: Yoda on February 11, 2015, 12:22:45 pm
(https://www.tweaking.com/forums/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FHR7atdc.png&hash=492b8f89b4d697824b4fc660fbb9f18511474dd2)

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:

Title: Re: Can't use Volume Shadow Copy option for backups
Post by: Shane 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
Title: Re: Can't use Volume Shadow Copy option for backups
Post by: Yoda 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!
Title: Re: Can't use Volume Shadow Copy option for backups
Post by: Shane on February 11, 2015, 12:48:14 pm
Happy to help :-)

Shane
Title: Re: Can't use Volume Shadow Copy option for backups
Post by: Yoda 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.
--------------------------------------------------------------------------------
Title: Re: Can't use Volume Shadow Copy option for backups
Post by: Shane 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
Title: Re: Can't use Volume Shadow Copy option for backups
Post by: Yoda 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.