Author Topic: Error message From Registery Backup on a UEFI system.  (Read 51843 times)

0 Members and 1 Guest are viewing this topic.

Offline streetwolf

  • Jr. Member
  • **
  • Join Date: Aug 2012
  • Posts: 99
  • Location: New Jersey, USA
  • Karma: 1
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #25 on: December 20, 2012, 05:22:13 pm »
Yes I do have it setup to remove old backups.  I'll turn it off and get back to you with my findings.
Intel Core [email protected] | Gigabyte Z390 AORUS MASTER | Corsair 1000W PSU | Corsair H115i CPU Cooler | Corsair 32GB RAM | EVGA GTX 1080 Ti FTW3 11GB | BenQ PD3200U 32" 4K LCD | 4-512GB Samsung 970 PRO M.2 | 2TB Samsung 860 EVO | 480GB  SanDisk USB Extreme900 | Windows 10 Pro | FIOS 1Gb

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #26 on: December 20, 2012, 05:29:34 pm »
I noticed it after a huge mistake on my part lol

I was adding the new code to clearing old backups while keeping a minimum amount of backups. Well I messed up on one part and the code started deleteing everything on my work drive lol

Out of 368GB I only had 171GB left. Thankfully I have nightly backups and I am restoring it now.

This was a blessing in disguise though. What had happened is I had caused it to send the delete path to the root of the drive because the loop error out on me. So I redid how it does it now and put in a ton of safe guards. It now does it better than ever. One of the safe guards is if the path to delete doesn't match the backup location in the drive it stops.

This was never a problem before, it was my own mistake.

I also redid the shutdown to wait and let the clearing of old backups finish before it closes. So far working great. New version will be 1.5.0.

I will have it done here shortly :-)

Shane

Offline streetwolf

  • Jr. Member
  • **
  • Join Date: Aug 2012
  • Posts: 99
  • Location: New Jersey, USA
  • Karma: 1
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #27 on: December 20, 2012, 05:38:02 pm »
One thing I don't understand about the error.  I've had the error restarting my machine after I already took my first and only auto backup of the day.  I realize the task get's fired off everytime I log on but why after RB sees that I already ran my auto backup would it try to erase old files?
Intel Core [email protected] | Gigabyte Z390 AORUS MASTER | Corsair 1000W PSU | Corsair H115i CPU Cooler | Corsair 32GB RAM | EVGA GTX 1080 Ti FTW3 11GB | BenQ PD3200U 32" 4K LCD | 4-512GB Samsung 970 PRO M.2 | 2TB Samsung 860 EVO | 480GB  SanDisk USB Extreme900 | Windows 10 Pro | FIOS 1Gb

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #28 on: December 20, 2012, 05:41:08 pm »
It shouldn't. So perhaps that isnt the problem. I did change how it shuts down though. So this might fix it. Here is v1.5.0 ready to go. Lets see if it still crashes for you.

Replace your exe with this one and lets see how it does.

Shane

Offline streetwolf

  • Jr. Member
  • **
  • Join Date: Aug 2012
  • Posts: 99
  • Location: New Jersey, USA
  • Karma: 1
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #29 on: December 20, 2012, 05:58:56 pm »
What does the 'Keep n Backups' do in conjunction with the 'Delete backups that are n Days or older' setting?  I'm not clear on this.

I ran one test and I had no error.  Not really any indication since RB would work at times.  When I fire up my machine tomorrow it will make a new backup and delete backups older than 7 days.  We'll see what happens but I think it might take awhile before we can confirm it is fixed unless I get an error then we know it isn't.
« Last Edit: December 20, 2012, 06:01:58 pm by streetwolf »
Intel Core [email protected] | Gigabyte Z390 AORUS MASTER | Corsair 1000W PSU | Corsair H115i CPU Cooler | Corsair 32GB RAM | EVGA GTX 1080 Ti FTW3 11GB | BenQ PD3200U 32" 4K LCD | 4-512GB Samsung 970 PRO M.2 | 2TB Samsung 860 EVO | 480GB  SanDisk USB Extreme900 | Windows 10 Pro | FIOS 1Gb

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #30 on: December 20, 2012, 06:00:52 pm »
Here is the change log, see if it explains it, if not I need to word it better :-)

v1.5.0
Per user request I added a new option to the auto delete old backups. You can now set it to always keep a minimum amount of backups. Example: A user has their system off and is gone for a while, when they come back and run the reg backup it would remove all the old backups, since the user was gone for a while all old backups where removed. With this new option it wont remove all the backups.
Fix bug where if the program had trouble pulling the system info it would load the tree view incorrectly and thus not backup those files. This is now fixed.
Changed the way the program closes itself. On a few systems after the backup was complete and the program closes itself it would randomly crash. Hopefully this new close down process will fix that.
Multiple code changes and improvements.

I will wait till tomorrow to put out the new version when I here back from you. Hopefully thomas will try the new version on his brothers machine and see if it still crashes or not.

Shane

Offline streetwolf

  • Jr. Member
  • **
  • Join Date: Aug 2012
  • Posts: 99
  • Location: New Jersey, USA
  • Karma: 1
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #31 on: December 20, 2012, 06:11:19 pm »
Keeping a minimum number of backups is a great idea.  I've run into this situation a few times where my backups were deleted because I was out of town.  Nice addition.
Intel Core [email protected] | Gigabyte Z390 AORUS MASTER | Corsair 1000W PSU | Corsair H115i CPU Cooler | Corsair 32GB RAM | EVGA GTX 1080 Ti FTW3 11GB | BenQ PD3200U 32" 4K LCD | 4-512GB Samsung 970 PRO M.2 | 2TB Samsung 860 EVO | 480GB  SanDisk USB Extreme900 | Windows 10 Pro | FIOS 1Gb

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #32 on: December 20, 2012, 06:14:39 pm »
Thanks :-)

Let me know how tomorrow goes.

Night!

Shane

Offline streetwolf

  • Jr. Member
  • **
  • Join Date: Aug 2012
  • Posts: 99
  • Location: New Jersey, USA
  • Karma: 1
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #33 on: December 20, 2012, 06:23:38 pm »
Will do.  If you don't hear from me then the Mayans were right.  :rolleyes:
Intel Core [email protected] | Gigabyte Z390 AORUS MASTER | Corsair 1000W PSU | Corsair H115i CPU Cooler | Corsair 32GB RAM | EVGA GTX 1080 Ti FTW3 11GB | BenQ PD3200U 32" 4K LCD | 4-512GB Samsung 970 PRO M.2 | 2TB Samsung 860 EVO | 480GB  SanDisk USB Extreme900 | Windows 10 Pro | FIOS 1Gb

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #34 on: December 20, 2012, 06:25:32 pm »
Already the 21st on almost half the world lol

Shane

Offline streetwolf

  • Jr. Member
  • **
  • Join Date: Aug 2012
  • Posts: 99
  • Location: New Jersey, USA
  • Karma: 1
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #35 on: December 20, 2012, 06:39:37 pm »
But it's the Mayan timezone which is CST.
« Last Edit: December 20, 2012, 06:48:46 pm by streetwolf »
Intel Core [email protected] | Gigabyte Z390 AORUS MASTER | Corsair 1000W PSU | Corsair H115i CPU Cooler | Corsair 32GB RAM | EVGA GTX 1080 Ti FTW3 11GB | BenQ PD3200U 32" 4K LCD | 4-512GB Samsung 970 PRO M.2 | 2TB Samsung 860 EVO | 480GB  SanDisk USB Extreme900 | Windows 10 Pro | FIOS 1Gb

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #36 on: December 20, 2012, 06:54:09 pm »
lol I am not worried. The Mayans didnt do leap years. Their calender ended in Aug 2011 :wink:

Shane

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #37 on: December 21, 2012, 01:09:48 am »
Ok I have tried the new version now on my brothers xp computer, so far so good!  :smiley:

First I had "Auto Delete Old Backups" set to delete 7 days and keep 7 backups, but it didn't delete any backups so I changed the settings and restarted several times, now I have it set to "delete" 1 days and keep 0 backups, I will try this for some time so I know that it all works.

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 streetwolf

  • Jr. Member
  • **
  • Join Date: Aug 2012
  • Posts: 99
  • Location: New Jersey, USA
  • Karma: 1
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #38 on: December 21, 2012, 03:57:52 am »
RB fired up this morning and got the error message.  Also, it did not delete my oldest files as Tomas_Sweden mentioned. 

I ran the task manually from the task scheduler 3 times.  The first one got the error, the next two were clean.

FWIW, I've never gotten the error when I run RB via it's GUI.  I only get the error, intermittently, when I run it through the Task Scheduler.
« Last Edit: December 21, 2012, 05:40:57 am by streetwolf »
Intel Core [email protected] | Gigabyte Z390 AORUS MASTER | Corsair 1000W PSU | Corsair H115i CPU Cooler | Corsair 32GB RAM | EVGA GTX 1080 Ti FTW3 11GB | BenQ PD3200U 32" 4K LCD | 4-512GB Samsung 970 PRO M.2 | 2TB Samsung 860 EVO | 480GB  SanDisk USB Extreme900 | Windows 10 Pro | FIOS 1Gb

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #39 on: December 21, 2012, 10:56:04 am »
The auto delete old backups with the new keep # of backups works like this.

The program loads all the backups into a list. The list is sorted from newest to oldest. The program looks at how many backups to keep.

For example, I have it set for 5 backups to keep. The backup list shows 10. So the program skips the first 5 in the list and then checks the rest of the list and if they are old enough to delete.

Even if you have only 4 backups and they are very old they wont get deleted. The goal of the new setting is to always keep a min amount of backups from being deleted by the auto delete.

Tomas_Sweden, how goes the program so far on the crashing? And from what streetwolf said I think I am making headway on the crashing. Seems to be happening less.

When you guys have it run through the Task Scheduler do you have the program set to be hidden, minimized or showing and with what account?

Shane

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #40 on: December 21, 2012, 11:48:34 am »
Quote
Tomas_Sweden, how goes the program so far on the crashing?
I will go to my brother tomorrow and check.
Quote
When you guys have it run through the Task Scheduler do you have the program set to be hidden, minimized or showing and with what account?
I have it set to be hidden!

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 streetwolf

  • Jr. Member
  • **
  • Join Date: Aug 2012
  • Posts: 99
  • Location: New Jersey, USA
  • Karma: 1
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #41 on: December 21, 2012, 11:51:42 am »
I also have it hidden.  I tried both type of accounts.
« Last Edit: December 21, 2012, 11:53:54 am by streetwolf »
Intel Core [email protected] | Gigabyte Z390 AORUS MASTER | Corsair 1000W PSU | Corsair H115i CPU Cooler | Corsair 32GB RAM | EVGA GTX 1080 Ti FTW3 11GB | BenQ PD3200U 32" 4K LCD | 4-512GB Samsung 970 PRO M.2 | 2TB Samsung 860 EVO | 480GB  SanDisk USB Extreme900 | Windows 10 Pro | FIOS 1Gb

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #42 on: December 21, 2012, 11:55:25 am »
And the crashes only seem to happen when they are ran from the schedule. So when the program finishes the backup it then closes itself. When you run it normally and close it the crash isnt happening.

And with the new version it has gotten better but not fixed. That is pointing me to think I may have a timing problem. Something in the program isnt finished when it closes itself. I redid the shutdown and it helped. I think I will tweak the shutdown some more and post an new exe for you to test :-)

Shane

Offline streetwolf

  • Jr. Member
  • **
  • Join Date: Aug 2012
  • Posts: 99
  • Location: New Jersey, USA
  • Karma: 1
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #43 on: December 21, 2012, 12:04:52 pm »
Since I never have the error when I run RB from the GUI what makes running it from the task scheduler different?  I even ran it as a shortcut in my start up folder and I would get the error at times.

I really can't say if the new version is better.  It was intermittent before and it still is.
Intel Core [email protected] | Gigabyte Z390 AORUS MASTER | Corsair 1000W PSU | Corsair H115i CPU Cooler | Corsair 32GB RAM | EVGA GTX 1080 Ti FTW3 11GB | BenQ PD3200U 32" 4K LCD | 4-512GB Samsung 970 PRO M.2 | 2TB Samsung 860 EVO | 480GB  SanDisk USB Extreme900 | Windows 10 Pro | FIOS 1Gb

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #44 on: December 21, 2012, 12:13:56 pm »
Because when it runs automatically it calls the closedown the instant the backup is done, where when you run it manually there is a few sec before you close the program. So I think something isnt always finished when it closes.

This new exe now calls a timer at close down. The timer is set for 2.5 sec and then calls the closedown.

I just tried it on my system repeatedly from the task scheduler and have 0 crashes. Lets see how it goes for you guys as well.

Shane

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #45 on: December 21, 2012, 12:24:25 pm »
Does RB crashes because it uses Task Scheduler as hidden or does it crash because it uses Task scheduler as hidden and at the same time use "auto delete old backups"?

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: Error message From Registery Backup on a UEFI system.
« Reply #46 on: December 21, 2012, 12:26:15 pm »
No I think it is just calling the close down to quickly after the backup. Try the exe I just posted and see how it does :-)

After a auto backup it will now wait 2.5 sec before closing.

Shane

Offline streetwolf

  • Jr. Member
  • **
  • Join Date: Aug 2012
  • Posts: 99
  • Location: New Jersey, USA
  • Karma: 1
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #47 on: December 21, 2012, 01:10:41 pm »
Looking good Shane.  Ran it from the TS, logged off/on, restarted Windows, all worked fine.
Intel Core [email protected] | Gigabyte Z390 AORUS MASTER | Corsair 1000W PSU | Corsair H115i CPU Cooler | Corsair 32GB RAM | EVGA GTX 1080 Ti FTW3 11GB | BenQ PD3200U 32" 4K LCD | 4-512GB Samsung 970 PRO M.2 | 2TB Samsung 860 EVO | 480GB  SanDisk USB Extreme900 | Windows 10 Pro | FIOS 1Gb

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #48 on: December 21, 2012, 01:13:41 pm »
Outstanding :-)

Looks like I will be putting out the new version later today or tonight :-)

Shane

Offline Tomas_Sweden

  • Sr. Member
  • ****
  • Join Date: Oct 2011
  • Posts: 260
  • Location: Falköping
  • Karma: 7
    • View Profile
Re: Error message From Registery Backup on a UEFI system.
« Reply #49 on: December 22, 2012, 03:51:51 am »
Ok I have tried the latest RB 1.5.0 on my brothers computer and I ran it from Task Scheduler, logged off and on, restarted windows and it worked as it should all the time!  :cheesy:

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.