Add -B to freenas-debug to dump the configuration database to a text file
With the x-series, there is only 1 boot device on which the OS is installed. This poses a significant problem in the event of the drive failing. When this happens, the system has to be, basically, re-deployed as a new unit. While it's, ultimately, up to the customer to backup their configuration database, it would be incredibly useful to include the database dump in the output of the freenas-debug script.
The likelihood of the support department having a debug of the customers system is quite high. This would allow us to better server the customer by being able to rebuild their database to a known working copy.
I have added a new module to the freenas-debug script to do this.
#11 Updated by Dru Lavigne almost 3 years ago
- Subject changed from capture freenas-v1.db file in the freenas-debug script to Add -B to freenas-debug to dump the configuration database to a text file
- Needs Merging changed from Yes to No
Notes that the stable merge is at https://github.com/freenas/freenas/commit/02a9e7d507e8f1ab4859d17951e94b2399b6eb2e.
#17 Updated by Warren Block almost 3 years ago
- Status changed from Done to In Progress
The name of the menu entry is (currently) just
-B Dump freenas-v1.db
This does not give the user any idea about what it actually does. It should be:
-B Dump System Configuration Database
It should not say "freenas", since this applies to both FreeNAS and TrueNAS.