Configuration file for TrueNAS-13.0-U3

jerrywmalone

Cadet
Joined
Nov 17, 2022
Messages
4
I am trying to restore my Truenas system. I found where you upload the file, but I do not where that file is stored. Can you tell where it is. It is written at 3:45 AM.
 
Joined
Jun 2, 2019
Messages
591
Welcome.

1. You have been periodically saving the config file on some off-board media, right?

Code:
System -> General -> Save Config > Check Export Secret Seed -> Enter root PW -> Save



2. If not, then I think the process is to re-import your data pool and hope there is a config backup on the system data set

Example:

Code:
cd /var/db/system/configs-{string}/TrueNAS-13.0-U3
ls -lart *.db
 
Last edited:

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
The config backup is just a TAR archive of the contents of your TrueNAS /data directory. Uploading the config extracts the contents of the TAR and writes them back into /data. At a minimum, the config backup contains /data/freenas-v1.db, which is the complete configuration database being restored. It may also contain /data/pwenc_secret, which are the secret keys for the password database, and /data/geli/*, which are the GELI encryption keys for your pool, depending on the options selected during the backup.
 

jerrywmalone

Cadet
Joined
Nov 17, 2022
Messages
4
I found a file on an external drive and it is: truenas-TrueNAS-13.0-U3-20221111215442
I tried to use this file to restore my configuration under General and on the page that comes up that is called GUI at the top. I then pointed at that file and told to upload it. When I point to the file and click 'upload' the system just keeps saying uploading and then does anything else.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
@jerrywmalone, did you check if your file was a valid TAR file by opening it in WinZip?
 

jerrywmalone

Cadet
Joined
Nov 17, 2022
Messages
4
Welcome.

1. You have been periodically saving the config file on some off-board media, right?

Code:
System -> General -> Save Config > Check Export Secret Seed -> Enter root PW -> Save



2. If not, then I think the process is to re-import your data pool and hope there is a config backup on the system data set

Example:

Code:
cd /var/db/system/configs-{string}/TrueNAS-13.0-U3
ls -lart *.db
Yes, it was saved on an external drive
 
Top