Accidentally Deleted Secret Key

Sooooo I accidentally rm -rf’d the secret key and now backups wont run.

Whats the best method to recreate a secret key so I can run backups again.

rerun the setup by doing

sudo mailinabox

Use the same information as before (basically do nothing but press enter at each prompt) … this should recreate a new secret_key.txt file.

You may want to remove the contents of the encrypted back up directory first. (I honestly don’t know if the directory having files will affect anything or not)

Would love an update on how you recovered.