I've been looking into ways in which I could schedule a backup of the TrueNAS config with a script. Looking into the tar file I got manually from the server (including the secret seed) I see the files in question, which I discovered are stored in the /data directory in TrueNAS. At first I thought, in theory, I could just use the tar command to create a new archive containing both files and use some of the steps here to upload it to Google Drive. However, on closer inspection of the tar file in 7-Zip, I noticed there's a couple of directories called "." with files inside called "@PaxHeader".
What are these? Where do they come from? Are these essential for TrueNAS to recognise the tar file as a proper config to be restored via the GUI, or will it work without them?
What are these? Where do they come from? Are these essential for TrueNAS to recognise the tar file as a proper config to be restored via the GUI, or will it work without them?