On FreeNAS, the config file includes all the default and custom configurations you make to the storage server, including networking and system settings, users, datasets, pools, shared folders, and more.
If the Network Attached Storage (NAS) box breaks or fails to boot, the config file can help to recover the system or quickly get up and running on another device, which is why it’s important to backup this information.
In this guide, you’ll learn the steps to backup and restore the config file on your FreeNAS server. In addition, we’ll look at the steps to reset the database containing the entire system configuration.
- How to backup config file on FreeNAS
- How to restore config file on FreeNAS
- How to reset config file on FreeNAS
How to backup config file on FreeNAS
Use these steps to backup the config file on FreeNAS:
-
Open FreeNAS in your web browser.
-
Sign into your root account.
-
Click on System from the left pane.
-
Click on General.
-
Click the Save Config button.
-
(Optional) Check the Export Password Secret Seed option.
-
Click the Save button.
Once you complete the steps, the configuration file will download in a “.tar” file. (You can open a .tar file on Windows 10 with these steps.)
After the download, make sure to save the file in a secure location, as it’ll not only help you to recover your original configuration if you need to rebuild the NAS or move to another server, but it’s also a file that may contain the password secret seed to allow to decrypt system passwords.
You should export a new configuration file every time you make changes to your NAS.
How to restore config file on FreeNAS
Use these steps to restore a config file on FreeNAS:
-
Open FreeNAS in your web browser.
-
Sign into your root account.
-
Click on System from the left pane.
-
Click on General.
-
Click the Upload Config button.
-
Click the Choose file button.
-
Select the .tar configuration file.
-
Click the Upload button.
After you complete the steps, the file will upload and replace any system configuration previously available on the FreeNAS box.
How to reset config file on FreeNAS
Use these steps to rest the current configuration database on FreeNAS:
-
Open FreeNAS in your web browser.
-
Sign into your root account.
-
Click on System from the left pane.
-
Click on General.
-
Click the Reset Config button.
-
Click the Confirm button.
Once you complete the steps, all the system settings will reset to default state after the reboot. It’s like starting with FreeNAS from scratch. After resetting the configurations, you can re-apply the settings manually, or you can restore settings from a config backup file.