2nd USB in 6 months.... No, that's not my question...

rstone

Cadet
Joined
Sep 23, 2020
Messages
3
So, yes, I've lost my 2nd USB root drive in 6mos. I've read up on it and have an SSD on the way to replace it.

My problem is this...

I screwed up, didn't back up my config... is there any way to save/keep the data that's currently on the storage drives now, after reinstalling FreeNAS?
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
No it will all be lost :smile:

/sarc off

The data will be safe. It is actually quite hard to lose it all.
 

rstone

Cadet
Joined
Sep 23, 2020
Messages
3
No it will all be lost :smile:

/sarc off

The data will be safe. It is actually quite hard to lose it all.

Forgive my noob-ness... When I re-install Freenas on the new drive, if i don't have the config or any of the settings backed up, how can I get back to the same pool I had without losing the data?
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
You can import it via the GUI.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Your config is actually backed up on the zfs pool already. it's in the system dataset which gets mounted to /var/db/system/configs-*** so if you do a reinstall you can just go to that directory and i think you should see a bunch of old configs that you can just cp to your pool and then upload via the gui.
 

rstone

Cadet
Joined
Sep 23, 2020
Messages
3
Thank you all! Definately took a lot of worry away. I'll be giving it a shot tonight when I get home.
 

MalVeauX

Contributor
Joined
Aug 6, 2020
Messages
110
Thank you all! Definately took a lot of worry away. I'll be giving it a shot tonight when I get home.

Just to help with the idea, I recently tested it for myself. I installed on a USB first. Got my SSD. I backed up the config just in case. I took out the USB and put in the SSD and did a fresh install. I did not load my config. To my delight, the pools were found and ready for use, data intact. The OS config does not obliterate your pools, that information is written to the pool drives themselves. You can take them out, put them back in on different SATA ports in a separate PC with a different FreeNAS installation and it will see that pool and be able to use it.

After you get your SSD installed and up and running, you can put a flash stick in and set it to mirror your SSD so that if anything changes, it's backed up to that flash stick while your SSD is your primary operating disc for the OS. Cheap downtime insurance. To do it, just go to System -> Boot -> you'll see your boot pool -> click the actions tab and select "boot pool status" and then you'll see the structure and disc name and status -> now select the 3 vertical dots on the far right and select "attach." This is where you choose your flash stick (or another SSD, whatever you want) and follow the prompts to have a mirrored boot pool for redundancy.

Periodically save your system config of course for not having to rebuild all your other stuff that takes way more time than simple pools, like your plugins, jails, reporting, etc.

Very best,
 
Top