Creating a Backup
Create a new backup of your server:Create Backup
Response
Configure Ignored Files
Specify files/folders to exclude (logs, caches, etc.) to reduce backup size.
Backup Process
- Wings daemon creates a tar.gz archive of server files
- Excluded files are skipped based on ignore patterns
- Archive is stored locally or uploaded to S3 (based on config)
- Checksum is calculated for integrity verification
- Backup marked as successful when complete
Backups run in the background and don’t interrupt server operation. Large servers may take several minutes.
Ignoring Files
Exclude files from backups to save space and time:Example Ignored Files
*.log- All .log filescache/- Entire cache directory**/temp/*- Temp directories at any level
Listing Backups
View all backups for a server:List Backups
Response
Backup Status
is_successful: false, completed_at: null- In progressis_successful: true, completed_at: set- Completed successfullyis_successful: false, completed_at: set- Failed
Downloading Backups
Get a download link for a backup:Get Download URL
Response
S3 Backup
Download URLs are valid for 15 minutes. Generate a new URL if it expires.
Download via cURL
Restoring Backups
Restore a backup to your server:Restore Backup
Success
Restore Options
Truncate Mode (Clean Restore)
Merge Mode
Restoration Requirements
- Server must not be installing or suspended
- Backup must be completed successfully
- Server will be inaccessible during restoration
Error Response
Locking Backups
Locked backups cannot be deleted:Toggle Lock
Response
- Pre-update backups
- Known good states
- Milestone backups
Requires
backup.delete permission to lock/unlock backups. Users without this permission cannot set locks when creating backups.Deleting Backups
Remove a backup permanently:Delete Backup
Success
Locked Backup Error
Backup Limits
Servers have a maximum number of backups:Check Limit
Response
Error Response
Failed backups count toward the limit. Delete failed backups to free up slots.
Storage Adapters
Backups can be stored in different locations:Wings Local Storage
AWS S3
Storage adapter is configured by administrators. Users cannot choose where backups are stored.
Automated Backups
Create backups automatically using schedules: Schedule:0 2 * * * (Daily at 2 AM)
Task:
Backup Best Practices
Regular Backup Schedule
Regular Backup Schedule
Set up automated daily or weekly backups. More frequent backups for active servers:
- Production servers: Daily backups
- Development servers: Weekly backups
- Before updates: Manual backup
Test Restorations
Test Restorations
Periodically test restoring backups to ensure they work:
- Download a backup
- Create a test server
- Restore the backup
- Verify files and functionality
Lock Important Backups
Lock Important Backups
Lock backups of known good states:
- Before major updates
- After successful migrations
- Milestone versions
Exclude Unnecessary Files
Exclude Unnecessary Files
Reduce backup size and time by excluding:
- Log files (
*.log) - Cache directories
- Temporary files
- Old backup files
Download Critical Backups
Download Critical Backups
Keep local copies of important backups:
Activity Logging
Backup operations are logged:Example Logs
Troubleshooting
Backup Fails to Complete
Backup Fails to Complete
- Check available disk space on node
- Verify Wings daemon is running
- Review Wings logs for errors
- Try excluding more files to reduce size
- Check S3 credentials if using S3 storage
Cannot Download Backup
Cannot Download Backup
- Verify backup completed successfully
- Check network connectivity to node/S3
- Generate a new download URL
- For S3 backups, verify IAM permissions
Restoration Stuck
Restoration Stuck
- Check Wings daemon status
- Review Wings logs for extraction errors
- Verify backup file isn’t corrupted (checksum)
- Ensure sufficient disk space
- Contact administrator if issue persists
Backup Limit Reached
Backup Limit Reached
You’ve hit the maximum backups for your server:
- Delete old or failed backups
- Download important backups before deleting
- Request limit increase from admin
- Use automated cleanup (delete backups older than X days)
