Author Topic: Registry Backup Beta  (Read 359391 times)

0 Members and 1 Guest are viewing this topic.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #375 on: September 20, 2012, 12:55:04 pm »
The program will use the fallback if the vss fails or times out.

What does the vss log file in the backup folder show?

Shane

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Registry Backup Beta
« Reply #376 on: September 20, 2012, 11:57:46 pm »
Here is my log_vss

Tomas
« Last Edit: September 22, 2012, 10:41:23 pm by Tomas_Sweden »
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #377 on: September 21, 2012, 11:08:59 am »
That log shows everything is working fine.

When you start the program is the yellow text there saying it will use fallback method? If it isnt and you manually do a backup does it fail and then use fallback?

Right now I have the program wait 60 sec for vss, if it isnt ready by then it goes to fall back. I also noticed from the log that you have 70 shadow copies! I wonder if that might have something to do with it.

Shane

Offline neroilo

  • Full Member
  • ***
  • Join Date: Jun 2012
  • Posts: 186
  • Karma: 9
    • View Profile
Re: Registry Backup Beta
« Reply #378 on: September 21, 2012, 02:26:04 pm »
I also noticed from the log that you have 70 shadow copies! I wonder if that might have something to do with it.

This brings me to a consideration.
In my vss log I can't see the number of shadow copies handled by Microsoft Software Shadow Copy Provider, because I'm using Symantec SymSnap VSS Provider (installed by Norton Ghost).
Maybe it could be useful to report this information also in cases like this.

I suppose that for now I should create a specific cmd file to run as shortcut, because the program itself lacks an option to run a batch script before and after a registry backup.
« Last Edit: September 22, 2012, 03:02:54 pm by neroilo »

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Registry Backup Beta
« Reply #379 on: September 21, 2012, 10:59:12 pm »
Quote
When you start the program is the yellow text there saying it will use fallback method?
Yes there is usually a yellow text there saying it is using fallback method!

I also see in the Log_Backup this text:
[2012-09-20 - 16:14:47] Volume Shadow Copy Failed! vss_7_64.exe isn't running. Check the Log_VSS.txt file to view any errors.
[2012-09-20 - 16:14:47] Is vss_start.exe Running: True
[2012-09-20 - 16:14:47] Is vss_7_64.exe Running: True
[2012-09-20 - 16:14:47] Is vss_pause.exe Running: False

Quote
If it isnt and you manually do a backup does it fail and then use fallback?
And yes sometimes then I do a manual backup it uses the fallback method, but not all the times, sometimes it works at it should.
Quote
Right now I have the program wait 60 sec for vss, if it isnt ready by then it goes to fall back.
As I said earlier 1.4.0 worked for me, have you changed when the program goes to fall back method or something in 1.4.1 and 1.4.2?
Quote

I also noticed from the log that you have 70 shadow copies! I wonder if that might have something to do with it.
I have no idea. I let Task Scheduler make a "Instant Restore Point" every morning, but I don't think that have interfered with RB because I had it set to wait 30 minutes.

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #380 on: September 22, 2012, 02:15:11 pm »
Quote
In my vss log I can't see the number of shadow copies handled by Microsoft Software Shadow Copy Provider, because I'm using Symantec SymSnap VSS Provider (installed by Norton Ghost).
Maybe it could be useful to report this information also in cases like this.

It reports it on its own, they will have a number after the shadow copy, like this in his "Current definition: B: = \??\GLOBALROOT\Device\HarddiskVolumeShadowCopy70"
You see the 70 at the end.

My program auto deletes the shadow copy that it makes. When your numbers grow like that you have something else on the system making shadow copies but not cleaning them up.

Tomas_Sweden,

for your system the program is the shadow copy is taking longer than 60 sec to make the shadow copy. This was a change I made from the old versions.

Try running the commands in Windows to delete all those shadow copies and see how the reg backup does for you then :wink:
http://www.sevenforums.com/tutorials/166102-shadow-copies-delete.html

Shane

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Registry Backup Beta
« Reply #381 on: September 23, 2012, 02:14:54 am »
I dont know if I want to delete the shadow copies I might need them!
If it works then I have to delete shadow copies now and then, does not feel so smooth!

Maybe there is somebody like me, having lots of shadows copies?

Or do you mean that I should only delete old shadow copies?

What is the disadvantage of having it as before, then the shadow copy didn't close at 60 sec?

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #382 on: September 23, 2012, 03:41:59 pm »
You do not need or want old shadow copies. They would be out dated files anyways.

Most programs when done with a shadow copy is suppose to get rid of it after. You have something on your system that isnt doing that.

A shadow copy simply takes a copy of the current data of files. This way a program can read and backup a file that is normally in use.

Obviously after a while these shadow copys become out data as the data has changed, so there is no reason to have them.

Shane

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Registry Backup Beta
« Reply #383 on: September 24, 2012, 12:08:40 am »
Most programs when done with a shadow copy is suppose to get rid of it after. You have something on your system that isnt doing that.
Thanks for the info!

Ok I have deleted all the shadows copies and system image copies and there is none now, but then I do a backup in RB I see this in log_Vss:
Current definition: B: = \??\GLOBALROOT\Device\HarddiskVolumeShadowCopy25.
I interpret it as there are 25 shadow copies?
But I have none then I look in system restore, how does that work?

But so far, so good, with making backup now!  :smiley:

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #384 on: September 24, 2012, 11:27:17 am »
Odd it still shows 25 on there, but as you can see the VSS is no longer taking longer than 60 sec and so the program isnt using the fall back method. :-)

Shane

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Registry Backup Beta
« Reply #385 on: October 02, 2012, 10:48:05 am »
I have seen that RB using"fallback backup method" 3 times now and I have only 2 system restore points.
Quote
for your system the program is the shadow copy is taking longer than 60 sec to make the shadow copy. This was a change I made from the old versions.
Why did you do that change? what are the advantages?

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #386 on: October 02, 2012, 11:51:50 am »
Before, the old way checked if VSS was running after 20 sec and never checked again. The problem was if VSS crashed after that 20 sec my program just sat there waiting.

So I had to change it to always keep looking and moved it from 20 sec to 60.

The reason it worked better before for you was that after that 20 sec the program waited as long as the VSS needed. Now the new update VSS isnt finished in time before the 60 sec.

Maybe I can tweak it a little better. There are 2 files it is looking for. The vss itself from the program and the vss_pause. The vss on yours is running but the vss_pause (Which runs when the vss is ready) isn't starting before the 60 sec.

I will see if I can tweak that a little and have it keep waiting if the vss is running. After all if the vss crashes the vss wont be running. So perhaps when vss is running it will wait till it isnt or keep waiting until it sees the vss_pause.

Shane

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #387 on: October 02, 2012, 12:32:40 pm »
OK try this one out for a few days.

Now it will wait forever for the vss_pause as long as the vss exe is running. SO now the timeout shouldnt affect you. If the VSS exe closes or crashes it will see that and then use the fallback method. And since it has this new way of doing it I now have it check for the vss exe every 30 sec instead of every 60 as it is no longer needed to wait that long.

I did some tests and this still works like I want when and if the vss crashes on a system. So try it for a few days and if everything works like we both want then I will put out the update :-)

Shane

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #388 on: October 05, 2012, 12:50:23 pm »
Any results?

Shane

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Registry Backup Beta
« Reply #389 on: October 05, 2012, 11:35:40 pm »
I have tried RB 1.4.3 since wedensday and so far so good  :cheesy:

I see that you have changed "Default Backup Name" to "Manual Backup" like that lol!

I had a anti-malware scan and a anti-virus scan to scan the computer at the same time I tried to do a backup, it took 12 minutes to do a backup but it did work!  :cheesy:

Very Well done Shane!  :wink:

A swedish PC-magazine have written about Registry Backup(1.4.2) again, but they could have waited a week or so, until version 1.4.3  :wink:. But they seem to like it as they wrote about it again!
http://www.pchemma.se/artiklar/programtips/20121002/registry-backup-1

Tomas
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #390 on: October 06, 2012, 08:08:10 pm »
Cool beans :-)

I am glad v1.4.3 took care of it. The program will still use the fall back and not get stuck if VSS crashes like it did before, while at the same time waiting as long as needed for VSS to finish making the snap shot :-)

New version will be put out tomorrow. :wink:

Shane

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Registry Backup Beta
« Reply #391 on: October 10, 2012, 11:54:00 am »
I have been thinking about one thing in RB, when I'm using "Task Scheduler(Auto Backup)" to do a backup and I use "Normal" option, I see that RB is doing a backup, but I can't see if the backup used "VSS" or "Fallback method".

I would like RB to wait 10 seconds or so before it closes down the program, when I have time to see the which backup method RB were using. Instead of open the RB and look there, takes time to open RB  :wink: and because I'm curious to see right away if the backup is ok. Since 1.4.3 the VSS backup have worked everytime but anyway.

Tomas
« Last Edit: October 10, 2012, 11:56:56 am by Tomas_Sweden »
Dell Laptop XPS L501X Intel i5-560M(2.66GHz), Win 7 Home Prem(SP1) 64 Bit, 4 GB RAM. Samsung SSD 850 PRO 256 GB.

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #392 on: October 10, 2012, 03:58:45 pm »
Something to look at down the road :-)

Shane