Restore Semaphore
Manual Restore
We haven't included a playbook in Semaphore to restore itself, because it's a bit like sawing the branch off that you're hanging from. To restore from your Semaphore backup, you can follow this process.
- Start with a fresh install following the Deploy Semaphore Guide, except CTRL-C and exit the installation.
- Search and replace the
semaphore-netos-netops.sql
file in the/netos/netos-netops/roles/semaphore-install/files
with your SQL backup and restart the install usingdeploy.sh
- Restore the tar.gz file to
/netos/
- Restore the tar.gz file to
/etc/nginx
- Restart the server and connect to Semaphore
Decrypting Backup Files
If you want to manually decrypt the enc
files on your local workstation, use the following commands.
openssl enc -aes-256-cbc -d -in BACKUP_FILE.enc -out OUTPUT.sql.gz/.tar.gz
You will need the password set in the Semaphore Backup Settings Semaphore environment variable ENCRYPTION_KEY
.