1.2 KiB
1.2 KiB
title
| title |
|---|
| Backups and Restore |
This guide covers backup strategy, schedules, retention, and restores.
Backup types
- Admin backups: system-wide backups managed by administrators.
- User backups: per-account backups for self-service restore.
Recommended strategy
- Keep at least one offsite destination.
- Use multiple retention windows (daily/weekly/monthly).
- Test restores regularly on a staging account.
Configure schedules (admin)
- Open Admin → Backups.
- Add destinations (local and/or remote).
- Create schedules and set retention.
- Validate the first run completes successfully.
User backups
Users can trigger and manage their own backups under User → Backups.
Restore workflow
- Choose a backup snapshot.
- Select a restore scope (full account, database, or files).
- Confirm the target account and overwrite options.
- Review the restore logs and verify services.
CLI examples
Create a backup for a user:
jabali backup create <user>
Restore a backup to a user:
jabali backup restore <path> --user=<user>
Troubleshooting
- If restores fail, check
jabali-agentandjabali-queuestatus. - Review logs in
/var/www/jabali/storage/logsand systemd logs.