Updates and backups
Keep your server up to date and your data safe.
Updates
Under Settings → Licence & updates, Sopblox shows when a new version is available. To install it:
sudo sopblox update
It backs up first, downloads the latest release, and checks its signature before installing anything. Your data and settings are kept.
Backups
Sopblox makes an encrypted backup every night to /var/backups/sopblox and keeps 14 days. To back up now:
sudo sopblox backup
Backups are encrypted with the key in /etc/sopblox/backup.key. Store a copy of that key, and of /opt/sopblox/.env, in your password manager. Copy backups off the server regularly too.
Restore
sudo sopblox restore /var/backups/sopblox/sopblox-YYYYMMDD-HHMMSS.sql.gz.gpg
This replaces all current data, so it asks you to type RESTORE first. It backs up the current data before restoring.
To restore a backup from another server, give it that server's backup key:
BACKUP_KEY_FILE=/path/to/old/backup.key sudo -E sopblox restore FILE
Then also restore that server's .env settings from the matching env-*.gpg backup, because it holds the vault key.
Still need help?
Email signup@sopblox.com. If you run Sopblox on your own server, attach a support bundle so we can help faster.