Command line tool to create a configuration backup?

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Hi all,

is there a command line tool in FreeNAS to create and restore a config backup? I'd love to set up a cron job that archives the config on my RAIDZ2 data pool. In case anything happens to my boot device(s) I can do a clean install, import the data pool ... easy.

Thanks!
Patrick
 

Spearfoot

He of the long foot
Moderator
Joined
May 13, 2015
Messages
2,478
Hi all,

is there a command line tool in FreeNAS to create and restore a config backup? I'd love to set up a cron job that archives the config on my RAIDZ2 data pool. In case anything happens to my boot device(s) I can do a clean install, import the data pool ... easy.

Thanks!
Patrick
I have a configuration backup script ( save_config.sh) in this GitHub repository:

 
Top