Author Topic: Registry Backup Beta  (Read 17514 times)

0 Members and 1 Guest are viewing this topic.

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 3489
  • Location: USA
  • Karma: 71
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #90 on: May 27, 2012, 02:41:23 PM »
You could add another line to backupinfo.txt which is the full path name to the file, something like:

Marker: \windows\tweakBack_yyyymmdd-hhmmss

where tweakBack_yyyymmdd-hhmmss (or any unique name) is generated by your backup program during the backup process. Then dos_restore.cmd could read that info from the backupinfo.txt file to know what to look for with this backup.

For now, and in the next update I will have it do the file name like this for now

C:\Windows\tweaking.com-regbackup-SMC-Microsoft-Windows-7-Ultimate-(64-bit).dat

That should be unique enough for systems that have dual booting :-)

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 3489
  • Location: USA
  • Karma: 71
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #91 on: May 27, 2012, 08:04:31 PM »
Quick question.

Do any of you use Erunt's optimize registry?

Here is what it does. It calls the regsavekey api which reads the output file. It reads what is in there, same way it does its backups but small and slower.

The registry is a database. And just like all databases becomes bloated with old info that never gets wiped out, overhead I believe is the correct term.

So lets say I have used a database and done a lot of adding and removing. The database becomes bloated and has overhead. You optimize it and it reduces it size getting rid of the over head. You get a smaller faster database.

No different for the registry. I have the code to do this. Should this be something I should add or make another program for, or not worry about it at all?

Just a thought. I figured since I got the code to do it why not ask :-)

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com


Offline Ztruker

  • Jr. Member
  • **
  • Join Date: May 2012
  • Posts: 76
  • Location: Space Coast of Florida
  • Karma: 1
    • View Profile
Re: Registry Backup Beta
« Reply #92 on: May 28, 2012, 07:04:53 AM »
I would say no. Registry optimization is a waste of time as are Registry cleaners. Both are basically "feel good" operations. By that I mean they make you feel good but have no measurable impact on performance.

If you want to do it, a separate program would be better.

Just my $.02 worth.
Rich
The only thing that is certain is that nothing is certain - Heraclitus.

Offline chris635

  • Sr. Member
  • ****
  • Join Date: Nov 2011
  • Posts: 353
  • Location: USA
  • Karma: 7
    • View Profile
Re: Registry Backup Beta
« Reply #93 on: May 28, 2012, 07:36:46 AM »
Hi Shane
    I agree with ztruker. Now if your one of those guys who is crazy about an oderly kept machine even if there is no gain in speed, then a program like that would most likely get used. I have used the erunt optimizer, but not a whole lot. The times I have used it, it only optimized my registry by about 3% to 7%. Not that big of a difference. I say 6 of 1, half a dozen of the other.


Chris
Physical Science Technician
Avid Motorcyclist

Have a nice day - Chris

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 3489
  • Location: USA
  • Karma: 71
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #94 on: May 28, 2012, 10:37:16 AM »
Yeah I will just skip it then.

It doesn't change anything in the reg. It just reads out the registry to a new file. Same as compacting a database file.

I one of my machines that hadn't been reinstalled in over a year, I had so many registry keys added and removed the the software section was 158 MB in size. Did erunt on it and got back down to 67 MB.

But I really didn't notice any speed increase. Really the only speed benefit you will get with the registry as with any file, is file fragmentation. But you cant defrag files in use.

Oh well. Lets just focus on the backup :-)

The program has come a long way in a short time and is looking really good. I am itching to get the help files and videos done. But I dont want to do them till the program is done in case there is more interface changes.

So the question is, how much longer till I take it out of beta?

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline peterr

  • Sr. Member
  • ****
  • Join Date: Apr 2012
  • Posts: 267
  • Location: MD
  • Karma: 3
    • View Profile
Re: Registry Backup Beta
« Reply #95 on: May 28, 2012, 10:56:27 AM »
Shane
This is a response to your program that I found in WTT;because I do not understand it, but because it sounded like there was an issue, I though I would bring it to your attention so you can address it if you wish to.
"Has to be restored from the recovery console? Bad luck If you haven't got one installed or an OS install disk handy.

I'll stick with the simple and faithful ERUNT until the reg. restore on that app. is just a click away ... like with ERUNT.

I do like the idea of the portable version though as that would be very handy, if the restore could be simplified and included in the program. Backup and restore both portable."
Peter

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 3489
  • Location: USA
  • Karma: 71
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #96 on: May 28, 2012, 11:08:54 AM »
When I make the help and videos I will show where people can download free tools to boot up their system with in case they don't have the recovery console.

As long as you have an internet connection you will be able to get it working one way or another :-)

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 3489
  • Location: USA
  • Karma: 71
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #97 on: May 28, 2012, 11:17:52 AM »
I have a list of things to do for the help file and videos.

Here is my list as I have it. Anything you can think of that I should add to the list to do?

Quote
Registry backup help and video ideas:

Videos showing how to use the program, restoring, recovery console, unbuntu and barts pe. Use vmware in the videos to show how.

Help files should have details of everything in the program and the reason why things where done they way they were.

Make sure to show how the program can be used from a thumb drive and on multiple systems for techs.

Make sure to put the respect I have for Erunt. Also list the improvements over it and refer Erunt as a fallback option for machines that are pre-XP or the volume shadow copy service isn't working.

Make sure to have help guides for every volume shadow copy repair I can find, including my own repair tool for it.

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline chris635

  • Sr. Member
  • ****
  • Join Date: Nov 2011
  • Posts: 353
  • Location: USA
  • Karma: 7
    • View Profile
Re: Registry Backup Beta
« Reply #98 on: May 28, 2012, 05:22:51 PM »
Looks like you pretty much cover it  :wink:


Chris
Physical Science Technician
Avid Motorcyclist

Have a nice day - Chris

Offline Ztruker

  • Jr. Member
  • **
  • Join Date: May 2012
  • Posts: 76
  • Location: Space Coast of Florida
  • Karma: 1
    • View Profile
Re: Registry Backup Beta
« Reply #99 on: May 29, 2012, 02:34:20 PM »
One more update with the new marker file to test:

C:\Windows\tweaking.com-regbackup-SMC-Microsoft-Windows-7-Ultimate-(64-bit).dat

then I think it's ready for prime time.
Rich
The only thing that is certain is that nothing is certain - Heraclitus.

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 3489
  • Location: USA
  • Karma: 71
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #100 on: May 29, 2012, 02:43:42 PM »
One more update with the new marker file to test:

C:\Windows\tweaking.com-regbackup-SMC-Microsoft-Windows-7-Ultimate-(64-bit).dat

then I think it's ready for prime time.

Ok I updated the setup and portable version with the new build. I kept the same version for now, so just install over what you have :wink:
http://www.tweaking.com/content/page/registry_backup.html

Also I was updating my advanced system tweaker with a option to show how many items are in each treeview list. I did the same thing with the reg backup. See what you think and tell me yay or nay :-)

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 3489
  • Location: USA
  • Karma: 71
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #101 on: May 29, 2012, 04:24:56 PM »
I am adding another tab to the program. "Help & Support"

This tab will point people to the help, how-to and videos for the program.

I haven't done this yet because I don't have anywhere to point them to yet lol

But since the program is nearly out of beta I have got it started.

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline Shane

  • Top Geek, err uh Dog.
  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 3489
  • Location: USA
  • Karma: 71
  • "Knowledge should be shared not hidden."
    • View Profile
Re: Registry Backup Beta
« Reply #102 on: May 29, 2012, 05:30:54 PM »
Ok I went ahead and made v0.9.8

If all goes well I am hoping this will be the last beta. But this will be based on all your feedback :-)

I added the help section, see what you think. of course once final they will point to the proper pages instead of just the product page.

Let me know what you all think  :wink:

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline chris635

  • Sr. Member
  • ****
  • Join Date: Nov 2011
  • Posts: 353
  • Location: USA
  • Karma: 7
    • View Profile
Re: Registry Backup Beta
« Reply #103 on: May 29, 2012, 05:43:41 PM »
Hey Shane

     I like the new tab. Just have to get the video's now lol :tongue:

Chris
Physical Science Technician
Avid Motorcyclist

Have a nice day - Chris

Offline Ztruker

  • Jr. Member
  • **
  • Join Date: May 2012
  • Posts: 76
  • Location: Space Coast of Florida
  • Karma: 1
    • View Profile
Re: Registry Backup Beta
« Reply #104 on: May 29, 2012, 06:49:00 PM »
0.9.8 look s real good, worked perfectly. The new tracking file in \Windows is there as it should be.

A few more comments on dos_restore.cmd.

I think the first set of tests should be removed and you should only be looking for the marker file. Also, why check only from K: to C:? Windows can be installed on any drive letter from C: through Z:.

If you do not find it I think the restore should be aborted to prevent restoring the registry backup to the wrong drive. Either that or prompt the user for the drive letter to restore to with some kind of explanation why this is necessary.

I may be overly cautious but I know I would be very upset if using dos_restore.cmd destroyed a drive that should not have been touched. It would make that drive unbootable.
Rich
The only thing that is certain is that nothing is certain - Heraclitus.