Sorry to bring up an old dead thread. However, I too was looking into this and I was referred to the best solution on Discord and wanted to state it here for anyone finding via Google:
1. Install
TegraExplorer.
2. Put your prodinfo.bin file (about 4 MB size) as exactly `prodinfo.bin` on the root of your SD card.
3. Download
this te script and place it on the root of your SD card.
4. Open TegraExplorer through Hekate or Directly
5. Select Browse SD, then the Script file, then Launch Script.
6. Select where you want to restore it, and which file (the file on root of SD).
You also have the choice to restore the automatic atmosphere backup, however, be careful with that and verify its actually the right one you want as the auto backup is likely the 000000'd one.
If you don't have a PRODINFO.bin file, but have a NAND backup that likely has a valid prodinfo, then run
BisKeyDumper, Run
HacDiskMount and open your rawnand.bin with it, then select the PRODINFO, enter your BIS Key data as it asks, and click backup. You now have the bin file!