Repository navigation
Upgrade & Maintenance Guide
Upgrading AlphaDrive is straightforward thanks to its single-binary architecture and automated forward-only database migration system.
Always create a backup of your current database and storage before upgrading:
sudo -u alphadrive ALPHADRIVE_DATA_DIR=/var/lib/alphadrive/data /usr/local/bin/alphadrive backup --output /var/backups/alphadrive-pre-upgrade-$(date +%Y%m%d_%H%M%S).tar.gzsudo systemctl stop alphadriveDownload or compile the new release binary and replace the existing binary in /usr/local/bin:
sudo install -m 755 alphadrive-linux-amd64 /usr/local/bin/alphadriveRun alphadrive doctor to ensure the new binary recognizes the database and storage directory:
sudo -u alphadrive ALPHADRIVE_DATA_DIR=/var/lib/alphadrive/data /usr/local/bin/alphadrive doctorStart the service. Upon boot, any new schema migrations are applied atomically:
sudo systemctl start alphadrive
sudo systemctl status alphadriveCheck the health endpoint and view server logs:
curl -f http://127.0.0.1:8080/healthz
sudo journalctl -u alphadrive -n 50 --no-pagerIf an upgrade encounters unexpected issues, rollback is simple:
- Stop service:
sudo systemctl stop alphadrive
- Reinstall the previous binary version.
- If necessary, restore the pre-upgrade backup using the disaster recovery instructions in
docs/backup-restore.md. - Restart service:
sudo systemctl start alphadrive
Lightweight. Self-hosted. Yours.
Documentation · GitHub · Releases · Contribute · MIT License
Self-hosted file storage built for simplicity, speed, and control.
© 2026 AlphaDrive contributors. Built for people who want their files to stay theirs.