Backup Troubleshooting Checklist
Who this is for
Users who have encountered a backup error, a failed backup, a failed restore, or are unsure why backups are not running.
Quick Diagnostic Checklist
Before diving into specific errors, check these basics:
- [ ] Server status is running (not stopped, error, or provisioning).
- ] SSH connectivity is working — see [KB-02-08: SSH Setup and Repair.
- [ ] Server has sufficient free disk space for the backup type.
- [ ] The cloud account is connected and active (for snapshots and offsite uploads).
Error Code Reference
Backup Creation Errors
| Error code | Meaning | Fix |
|---|---|---|
SSH_NOT_CONFIGURED | No SSH key is set for this server | Add an SSH key — see KB-02-08 |
INVALID_TYPE | Unknown backup type specified | Use snapshot, files, database, or full only |
INVALID_SITE | The selected site does not belong to this server | Select a site that exists on this server |
INVALID_CONFIG | The offsite config ID does not exist or does not belong to this org | Verify the storage vault configuration |
BACKUP_IN_PROGRESS | Trying to delete a backup that is currently running | Wait for it to complete first |
Restore Errors
| Error code | Meaning | Fix |
|---|---|---|
INVALID_STATE | Backup is not completed | Only completed backups can be restored |
SNAPSHOT_RESTORE | Trying to restore a snapshot via CloudAIPilot | Use the cloud provider console — see KB-05-05 |
RESTORE_IN_PROGRESS | Another restore is already running on this server | Wait for it to finish, or cancel it — see KB-05-06 |
Download Errors
| Error code | Meaning | Fix |
|---|---|---|
NOT_COMPLETED | Backup is not in completed state | Wait for backup to finish |
SNAPSHOT_NOT_DOWNLOADABLE | Snapshot backups cannot be downloaded | Use cloud provider console |
NO_BACKUP_DIR | Backup directory not found on server | Server may have been rebuilt; use offsite copy if available |
INVALID_PATH | Attempted to access a file outside the backup directory | Use only paths shown in the File Browser |
DOWNLOAD_FAILED | SSH/stream error while downloading | Retry. Check SSH connectivity. |
Offsite Upload Errors
| Error code | Meaning | Fix |
|---|---|---|
NOT_COMPLETED | Backup not yet completed | Wait for backup to complete first |
SNAPSHOT | Snapshot type cannot be pushed offsite | Use file/database/full backups for offsite storage |
MISSING_CONFIG | No cloud storage config ID provided | Select a storage vault |
NO_DIR | Backup directory missing on server | Run a new backup |
INVALID_CONFIG | Cloud storage config not found or inaccessible | Verify the storage vault settings |
Backup Stuck in "running" or "pending"
If a backup has been running for more than 30 minutes:
- Check the Activity Center for error output.
- SSH into the server and check:
ls /tmp/cloudpilot-backups/ - Check if the server has disk space:
df -h - Check if a backup script process is running:
ps aux | grep cloudpilot
If the process is stuck:
- Kill the stuck process on the server.
- Delete the failed backup record in CloudAIPilot.
- Create a new backup.
Backup Completed but File is Unexpectedly Small
Possible causes:
- Site backup targeted a site with no files in its document root.
- Database backup found no tables or the database is empty.
- Incremental backup found no changes since the last backup (this is normal — the file will be very small).
Scheduled Backups Not Running
- Verify the schedule is active (not paused).
- Verify the cron expression is correct using a cron validator tool (e.g., https://crontab.guru).
- Check if the server was offline during the scheduled time — missed runs are not retried.
- Check the last run time and next run time shown in the schedule list.
Offsite Upload Stuck at "uploading"
- Check if the cloud account credentials are still valid.
- Check bucket permissions — CloudAIPilot needs
s3:PutObject(AWS),storage.objects.create(GCP), or equivalent write permissions. - Delete the stuck backup record and create a new backup with offsite upload enabled.
Related Articles
- KB-05-01: Backup Architecture
- KB-05-02: Create an On-Demand Backup
- KB-05-05: Restore from Backup
- KB-05-07: Cloud Storage Vault Setup
- KB-02-08: SSH Setup and Repair