Best way to backup and re-install after a system format?

Technical support and discussion of Newsbin Version 6 series.

Best way to backup and re-install after a system format?

Postby KCCraash » Thu Oct 19, 2017 11:43 am

I don't want to say I format my system a lot, but I kinda do.

I'm constantly upgrading hardware, or making changes to my system and I love that "just freshly installed OS" smell. :)

Using nextcloud and several other utilities I have the process down to a fairly painless, repeatable, set of steps.

The only issue I run into is my Newsbin install.

When I install Newsbin, the data folder goes to a dedicated folder on a NVME drive other than the system drive. This folder of course survives the format.

After windows is back up and tweaked, I'll reinstall Newsbin pointing the data folder to the above mentioned folder. It usually see's itself as a new install and I have to go through all the setup again. I've tried copying the original data folder (and newsbin.ini) over after installing Newsbin, but my results are still mixed.

Besides having to re setup my usenet server information, the big pain for me is that my watch lists and filters aren't restored no matter what I try. If I could overcome this, I would be very please.

What process should I be using? In a perfect world, a newsbin install would recognize when the data folder existed and all previous settings would be restored. I'm pretty savvy, so a little bit of work won't bother me if I get to keep all my Newsbin tweaks.

I've delt with this for a couple of years now, but I figured I'd ask today because I have a new 10GbE Fiber card showing up tomorrow and I'm going to do a fresh install with the Win10 1709, since it's freshly released.

Thanks for the help.
KCCraash
Occasional Contributor
Occasional Contributor
 
Posts: 16
Joined: Fri Nov 18, 2016 3:27 pm

Registered Newsbin User since: 08/16/08

Re: Best way to backup and re-install after a system format?

Postby itimpi » Thu Oct 19, 2017 7:06 pm

Make sure that the Newsbin .nbi File is saved somewhere that survives a restart.

If you then start Newsbin by double-clicking on the .nbi File it will bring all your settings forward!
The Newsbin Online documentation
The Usenettools for tutorials, useful information and links
User avatar
itimpi
Elite NewsBin User
Elite NewsBin User
 
Posts: 12553
Joined: Sat Mar 16, 2002 7:11 am
Location: UK

Registered Newsbin User since: 03/28/03

Re: Best way to backup and re-install after a system format?

Postby KCCraash » Fri Oct 20, 2017 1:02 am

itimpi wrote:Make sure that the Newsbin .nbi File is saved somewhere that survives a restart.

If you then start Newsbin by double-clicking on the .nbi File it will bring all your settings forward!


I wish it was that easy. My filters and watch lists have yet to survive using that method. They aren't kept in Newsbin.ini. Not to mention Newsbin wants you to re-setup all your usenet servers during the install.

Surely I can't be the only one that has had to deal with this?
KCCraash
Occasional Contributor
Occasional Contributor
 
Posts: 16
Joined: Fri Nov 18, 2016 3:27 pm

Registered Newsbin User since: 08/16/08

Re: Best way to backup and re-install after a system format?

Postby Quade » Fri Oct 20, 2017 5:21 am

Watch list options are in the NBI. Filters are in filters.db3.

1 - I think you should save the entire data folder if you use headers.

2 - If you don't care about headers or don't mind re-downloading some, just take the main part of the data folder but not the folders under the data folder.

If you're losing watch lists, you're probably not using the correct NBI. You can look in the NBI with wordpad and see the watch lists.

The watch names are listed in [GROUPS]

and if you have a watch named "Trains" the details for the watch are listed in [TRAINS]

If you're trying to save the contents of the watch lists. The actual posts, you'll have to pull them out of spool_v6. You might want to delete everyting in this folder except your watch lists before you backup. Basically wipe out all the other groups.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 42520
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Best way to backup and re-install after a system format?

Postby KCCraash » Fri Oct 20, 2017 9:17 am

Quade wrote:Watch list options are in the NBI. Filters are in filters.db3.

1 - I think you should save the entire data folder if you use headers.

2 - If you don't care about headers or don't mind re-downloading some, just take the main part of the data folder but not the folders under the data folder.

If you're losing watch lists, you're probably not using the correct NBI. You can look in the NBI with wordpad and see the watch lists.

The watch names are listed in [GROUPS]

and if you have a watch named "Trains" the details for the watch are listed in [TRAINS]

If you're trying to save the contents of the watch lists. The actual posts, you'll have to pull them out of spool_v6. You might want to delete everyting in this folder except your watch lists before you backup. Basically wipe out all the other groups.


Thanks Quade,

The posts are nice, but I don't really care about them alot.

Saving the data file is no big deal at all. As I mentioned I keep it on a different drive anyway.

So, should I:

Option A:
1. Install Newsbin
2. Copy complete saved data folder over to newly installed data folder location?

Option B:
1. Install Newsbin INTO saved data folder?

Anyway to get around having to do the initial setup (specifying news servers, etc)?
KCCraash
Occasional Contributor
Occasional Contributor
 
Posts: 16
Joined: Fri Nov 18, 2016 3:27 pm

Registered Newsbin User since: 08/16/08

My new process . . .

Postby KCCraash » Fri Oct 20, 2017 10:54 am

For those who might stumble across this post, I spend a couple hours in a VM this morning testing different scenarios. This is what I found.


1. Tweak Newsbin to desired format.
2. Export the following key from the window registry: [HKEY_CURRENT_USER\Software\DJI Interprises]
a. This key contains the path to your last Newsbin.ini, AND your registration information.
3. Make a copy of your "Data" folder.
a. You can remove all the subfolders under Data, unless you wish to keep the actual post content.
4. Install Newsbin - DO NOT CHOOSE TO RUN NOW AFTER INSTALL
a. You can put gibberish in for the requests Newsbin makes during the install.
b. it will be corrected by the Newsbin.ini and the Reg file
c. Make SURE your Data path is the same data path as the backup copy.
d. Either use the default, or standardize on a location for the data folder.
5. After install, copy your backup Data folder to the installed Newsbin location overwriting all existing files.
6. Double click the registry file you exported in step 2 to update the registry.
7. You can now start Newsbin with the shortcut. It will use the Newsbin.ini in the backup data folder, as specified in the registry file.
KCCraash
Occasional Contributor
Occasional Contributor
 
Posts: 16
Joined: Fri Nov 18, 2016 3:27 pm

Registered Newsbin User since: 08/16/08


Return to V6 Technical Support

Who is online

Users browsing this forum: No registered users and 3 guests