-
Notifications
You must be signed in to change notification settings - Fork 0
Backup Restore
github-actions edited this page Jul 6, 2026
·
2 revisions
# Full backup
./scripts/backup.sh
# Backup with custom output
./scripts/backup.sh --output /mnt/nfs/backups
# Pre-update backup (creates rollback point)
./scripts/backup.sh --pre-updateBackups include:
- All configuration files
- MariaDB database dump
- Grafana dashboards and settings
- Prometheus TSDB data
- Loki log data
- LibreNMS RRD files
- OpenSearch snapshot
# List available backups
ls -la backups/*.tar.gz
# Restore from backup
./scripts/restore.sh 20260101_120000
# Rollback after failed update
./scripts/restore.sh rollbackAdd to crontab:
0 2 * * * /opt/OpenHostingNOC/scripts/backup.shEnable in .env:
BACKUP_S3_ENABLED=true
BACKUP_S3_BUCKET=opennoc-backups
BACKUP_S3_ACCESS_KEY=xxx
BACKUP_S3_SECRET_KEY=xxx
OpenHostingNOC — Self-hosted Network Operations Center Questions? Open an issue or start a discussion. Support the project: donate.samsesh.net
OpenHostingNOC
Operations
Networking
Security
Advanced
CI/CD