CLI backup

sophware

Dabbler
Joined
Oct 16, 2020
Messages
37
Background: I changed out my NICs and networking isn't working (nor are working my attempts to fix things from the console). What I'm trying next is resetting the configuration, backing it up, first.

Question: How do I use the "system config save" command of the TrueNAS CLI shell?
 

gnefarious

Cadet
Joined
Dec 16, 2013
Messages
2
Hope you worked it out @sophware - if so can you share your solution? "man save" is pretty useless to my mind:
Code:
Create a bundle of security-sensitive information. These options select which information
is included in the bundle:

`secretseed`: include password secret seed.

`pool_keys`: include GELI encryption keys.

`root_authorized_keys`: include "authorized_keys" file for the root user.

If none of these options are set, the bundle is not generated and the database file is provided.


And the autocompletion suggests 'configsave' but if you try to use it you get "Expected end of text, found 'c'". Is it just me (it's OK if it is, I'm used to being slow on the uptake).
 

sophware

Dabbler
Joined
Oct 16, 2020
Messages
37
I'm so sorry--I don't remember what I did. It is terrible to not come back and post the solution. Never again.

From what I recall, the interface was showing NICs that were no longer there, which was confusing me.
 
Top