@dutsnekcirf said in Can the "Auto Configuration Backup" Device Key be recovered from the CLI?:
how should I copy that directory back onto the box from my usb drive?
Install pfSense using the installer.
Accept all values 'by default', so you can go as fast as possible.
As soon as the GUI becomes alive, login, and import the latest backed up config.
Have it reboot - and during reboot it will set up your LAN 'as before' a,d your WAN 'as before' - and all interface if you had any.
Because WAN is now fully operational and you had probably some packages installed, it will fetch them, and set them up. This can take a minute or two.
When that's done, for good manner, from the GUI, do a fill reboot again.
If you really want to, you an now insert the USB drive with all the files have kept on it, mount the USB drive, and copy (/cf/conf/backup - see below) them in place.
Just keep in mind : check what happens afterwards. Normally, the files located in /cf/conf/backup/ are maintained by pfSense. Dono what happens when you copy files in there.
The content of /cf/conf/ : don't touch / add / remove anything from that place, let pfSense handle it.
Or create a new folder below the /root/ folder, and put them there.
Or don't copy anything, keep the saved files on another place, like the USB drive, as that will be the best place : not on pfSense itself, but another device.