fattain-naime/cwp-superpowers/cwp-backup
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks to "configure backups", "set up automatic backups", "restore from backup", "configure remote backup", "set up S3 backup", "configure Google Drive backup", "set up SSH remote backup", "fix backup issues", "schedule backups", "create manual backup", "restore database from backup", or needs to manage any backup-related configuration on a CWP server.
Install
npx vskill@latest install fattain-naime/cwp-superpowers/cwp-backupSKILL.md
CWP Backup Management
Manage local, remote, and cloud backups on CWP servers. Configure backup schedules, destinations, and restoration procedures.
Backup Overview
Use built-in backup functionality with multiple storage backends and scheduling options.
Important: The CWP backup system has been in "perpetual beta" for over 4 years. Known issues include temporary files not being cleaned up, S3 files not auto-deleting, unreliable email notifications, and restore operations stalling. Always verify backups independently.
Backup Schedules
| Schedule | Frequency | Default | |
|---|---|---|---|
| Daily | Every day | Enabled | |
| Weekly | Every week | Enabled | |
| Monthly | Every month | Enabled |
Backup Modes
| Mode | Description | |
|---|---|---|
| Full | Complete backup of all user data | |
| Incremental | Only changed files since last backup | |
| Overwrite | Replace previous backup entirely |
Storage Backends
| Backend | Protocol | Notes | |
|---|---|---|---|
| Local | Disk | Default: /backup | |
| SMB/CIFS | Network share | Windows-compatible | |
| NFS | Network filesystem | Linux-native | |
| Amazon S3 | Cloud storage | Requires AWS credentials | |
| Google Drive | Cloud storage | Requires gdrive tool | |
| SSH Remote | SCP/SFTP | Remote server backup |
Default Locations
Backup Directory Structure
CWP backup structure varies by version. Check which structure exists:
| Path | Contents | |
|---|---|---|
/backup | Backup root directory | |
/backup/daily/ | Daily backups (per-user subdirectories) | |
/backup/weekly/ | Weekly backups (per-user subdirectories) | |
/backup/monthly/ | Monthly backups (per-user subdirectories) | |
/backup/mysql/ | Database backups | |
/var/vmail | Email storage |
Backup Configuration
Via CWP Admin Panel
Navigate to Backup -> Backup Configuration to configure:
- Backup schedule (daily/weekly/monthly)
- Backup mode (full/incremental/overwrite)
- Storage destination
- Retention period
- Email notifications
Manual Backup
Create User Backup
Script name varies by CWP version:
Via API
Google Drive Backup
Installation
Upload Backup to Google Drive
Automate Google Drive Upload
Create a cron job to automate uploads:
Amazon S3 Backup
Configure S3 credentials in CWP Admin -> Backup -> Backup Configuration:
- Enter AWS Access Key
- Enter AWS Secret Key
- Select S3 bucket region
- Specify bucket name
- Set backup path within bucket
Known issue: S3 backup files are not automatically deleted. Monitor and clean up manually.
SSH Remote Backup
Configure SSH remote backup in CWP Admin:
- Enter remote server IP
- Enter SSH port
- Enter SSH username
- Upload SSH key or enter password
- Specify remote backup path
Backup Restoration
Via CWP Admin Panel
Navigate to Backup -> Restore Backup:
- Select backup source (local/remote)
- Choose backup date
- Select user accounts to restore
- Click Restore
Known issue: Restore may stall at "Detecting files". If this occurs, try restoring individual components manually.
Manual Restoration
Email Storage Backup
Store email at /var/vmail. Include this path in backup configuration to ensure email data is backed up.
Backup Monitoring
Backup Best Practices
- Verify backups regularly -- Do not rely solely on backup completion notifications
- Test restoration -- Periodically test restoring from backups
- Use multiple destinations -- Local + remote/cloud for redundancy
- Monitor backup sizes -- Alert on unexpected size changes
- Clean up old backups -- Implement retention policies
- Back up before updates -- Always back up before CWP or system updates
- Include email -- Ensure
/var/vmailis in backup scope - Document procedures -- Maintain restoration runbooks
Troubleshooting
| Issue | Solution | |
|---|---|---|
| Backup not completing | Check disk space: df -h | |
| Restore stalling | Try manual restoration method | |
| S3 files not deleting | Implement manual cleanup cron | |
| Email notifications not working | Check Postfix configuration | |
| Temporary files filling disk | Manually clean /tmp/backup_* | |
| Google Drive auth failing | Re-authenticate gdrive tool | |
| SSH backup connection failing | Verify SSH key and permissions |
Diagnostic Commands
Additional Resources
references/local-backup.md-- Local backup configuration and schedulingreferences/remote-backup.md-- Remote backup via S3, SSH, and network storagereferences/restore.md-- Backup restoration procedures
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cwp-backup/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/fattain-naime/cwp-superpowers/cwp-backup)