Backup Failed Playbook
Who this is for
Users whose backup has failed or whose scheduled backup has not run.
Step 1 — Check the Error Message
- Go to Server detail → Backups tab.
- Find the failed backup (status
failed). - Expand the backup entry or click it to see the error message.
The error is stored on the backup record and also visible in the Activity Center.
Step 2 — Diagnose by Error Type
SSH Errors
Error: SSH_NOT_CONFIGURED
- No SSH key is configured for this server.
- Fix: Set up SSH — see KB-12-05: SSH Unreachable Playbook and KB-02-08.
Error: Connection refused / Connection timed out
- SSH is blocked or the SSH service is down.
- Fix: See KB-12-05: SSH Unreachable Playbook.
Error: Permission denied (publickey)
- CloudAIPilot's key is not in
authorized_keys. - Fix: Re-add the public key. See KB-02-08.
Disk Space Errors
Error: No space left on device
- The server's disk is full. Backup files are written to
/tmp/cloudpilot-backups/. - Fix:
- Delete old backups from the Backups tab to free disk space.
- Or resize the server's disk — see KB-02-10.
- Reduce retention days to auto-expire old backups faster.
Configuration Errors
Error: INVALID_CONFIG
- The offsite cloud storage config does not exist or is invalid.
- Fix: Remove the offsite config from the backup and try again, or verify the storage vault — see KB-05-07.
Backup Stuck in "running"
If a backup has been running for more than 30 minutes:
- Check the Activity Center for the last logged step.
- Check server disk space: the backup job may be filling the disk and hanging.
- Check if the SSH session dropped mid-backup.
To recover:
- On the server, check for stuck processes:
ps aux | grep cloudpilot - Kill the stuck process:
sudo kill - Clean up partial backup:
sudo rm -rf /tmp/cloudpilot-backups/ - Delete the failed backup record in CloudAIPilot.
- Create a new backup.
Step 3 — Retry the Backup
After fixing the root cause:
- Go to Server detail → Backups tab.
- Click + Create Backup (or trigger a new on-demand backup with the same type).
Scheduled Backups Not Running
If you notice no new backups are appearing from your schedule:
- Go to Backups → Schedules tab.
- Verify the schedule is active (not paused/deleted).
- Check the Next run time — ensure the schedule is still valid.
- Check if the last run attempt failed — it appears in the Backups list with
trigger: scheduled. - Verify the cron expression is correct (use https://crontab.guru).
- Verify the server was online during the scheduled time.
Related Articles
- KB-05-10: Backup Troubleshooting Checklist
- KB-12-05: SSH Unreachable Playbook
- KB-05-02: Create On-Demand Backup
- KB-05-03: Configure Backup Schedules