hadyfayed/laravel-agent/backup-setup
Claude Code and agent skill by hadyfayed/laravel-agent
- community
Checking that the SKILL.md file is still in the repository.
Configure automated backups (spatie/laravel-backup) — schedule, storage disks, retention, monitoring/notifications; when setting up backups.
Install
npx vskill@latest install hadyfayed/laravel-agent/backup-setupSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as hadyfayed/laravel-agent/backup-setup.
Environment
Installed backup packages: !composer show spatie/laravel-backup 2>/dev/null && echo "backup=yes" || echo "backup=no"
Task
Wire up automated backups using spatie/laravel-backup. $ARGUMENTS carries the preset (local, s3, gcs, dropbox), optional --notify= flag for notifications, and optional --full|--db-only for backup scope.
Steps
- Install package (if not already present):
``bash composer require spatie/laravel-backup ``
- Publish config and migration:
``bash php artisan vendor:publish --provider="Spatie\Backup\BackupServiceProvider" php artisan migrate ``
- Configure backup in
config/backup.php:
- Set source: included/excluded files, databases
- Destination: local disk or cloud (S3, GCS, Dropbox)
- Notification channels: mail, Slack, Discord
- Cleanup strategy: keep daily/weekly/monthly backups per retention policy
- For cloud storage, update
config/filesystems.phpdisk entries per the destination type
- Schedule backups in
app/Console/Kernel.php(orbootstrap/app.phpfor Laravel 11+):
``php $schedule->command('backup:clean')->daily()->at('01:00'); $schedule->command('backup:run')->daily()->at('01:30'); $schedule->command('backup:monitor')->daily()->at('03:00'); // Or for database only (faster): // $schedule->command('backup:run --only-db')->daily()->at('01:30'); ``
- Set environment variables in
.env:
BACKUP_ARCHIVE_PASSWORD— encryption passwordBACKUP_NOTIFICATION_EMAIL— email destinationBACKUP_SLACK_WEBHOOK_URL(if Slack) — Slack webhookBACKUP_DISCORD_WEBHOOK_URL(if Discord) — Discord webhook- Cloud credentials (S3:
AWS_BACKUP_*, GCS:GCS_BACKUP_*, Dropbox:DROPBOX_BACKUP_TOKEN)
- Test the setup:
``bash php artisan backup:run php artisan backup:list php artisan backup:monitor ``
Available commands
Reference
Deep configuration details, disk setup per provider, and retention strategies: see ${CLAUDE_SKILL_DIR}/references/backup-config.md.
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/backup-setup/SKILL.md
Popularity
- Repository stars
- 13
- Repository forks
- 1
- 7-day trend score
- 13
Stars and forks are for the whole GitHub repository, not this skill alone. 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/hadyfayed/laravel-agent/backup-setup)