Restoring ,nbi file from GuiItems.db3

Technical support and discussion of Newsbin Version 6 series.

Restoring ,nbi file from GuiItems.db3

Postby tuxlie » Thu Nov 12, 2015 5:53 pm

I had to do a manual reset of my PC and Newsbin unexpectedly exited

I have lost all the settings in my newsbin.nbi file - list of groups, data path, servers, everything. I opened it in notepad and it is blank. I can think of no way of restoring it. Load back up configuration upon restart doesn't work as it only looks for .nbi files.

I read that the GuiItems.db3 file stores old copies of the .nbi file in a compressed and encrypted form. I can restore a version of that pre-resetting my pc. I tried right clicking it and "open with" Newsbin but that didn't work
I then opened it with sqlite3.exe but I don't really know what I'm doing. I tried the ".dump" command but it was just gobbledygook

Can you please explain (in easy steps !) how to restore my .nbi file from the GuiItems.db3 file

Thanks for taking the time to read this
User avatar
tuxlie
n00b
n00b
 
Posts: 9
Joined: Fri Sep 19, 2014 3:31 am

Re: Restoring ,nbi file from GuiItems.db3

Postby Quade » Thu Nov 12, 2015 7:12 pm

Start Newsbin, Options menu "Load Backup Configuration on Restart". Then restart. You should then be given a listing of any NBI's found in the GuiItems.db3. Save the NBI file.

At that point the NBI file should load into Newsbin.

It's always a good idea to maintain a backup copy of the NBI file.

If the current guiitems is empty, you could try to restore an older one from your backup.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44972
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Restoring ,nbi file from GuiItems.db3

Postby tuxlie » Thu Nov 12, 2015 8:23 pm

How many copy of the nbi file does it store ?
I restored a copy from a back up made a week ago

When I try the load back up configuration on restart the pop up window is empty. It gives me no choices. Is there a way to browse to the db file ?
User avatar
tuxlie
n00b
n00b
 
Posts: 9
Joined: Fri Sep 19, 2014 3:31 am

Re: Restoring ,nbi file from GuiItems.db3

Postby Quade » Thu Nov 12, 2015 10:08 pm

If you can extract the blobs you can. The data is just GZ compressed.

If it's not finding any, it suggests it's not in the correct folder. You might want to see how many GUI Items you have in the C:\Users\ folder.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44972
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97


Return to V6 Technical Support

Who is online

Users browsing this forum: Google [Bot] and 2 guests