hadyfayed/laravel-agent/backup-setup

Claude Code and agent skill by hadyfayed/laravel-agent

Trust tier 3
  • community
Source check pending

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-setup

Semi-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

  1. Install package (if not already present):

``bash composer require spatie/laravel-backup ``

  1. Publish config and migration:

``bash php artisan vendor:publish --provider="Spatie\Backup\BackupServiceProvider" php artisan migrate ``

  1. 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.php disk entries per the destination type
  1. Schedule backups in app/Console/Kernel.php (or bootstrap/app.php for 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'); ``

  1. Set environment variables in .env:
  • BACKUP_ARCHIVE_PASSWORD — encryption password
  • BACKUP_NOTIFICATION_EMAIL — email destination
  • BACKUP_SLACK_WEBHOOK_URL (if Slack) — Slack webhook
  • BACKUP_DISCORD_WEBHOOK_URL (if Discord) — Discord webhook
  • Cloud credentials (S3: AWS_BACKUP_*, GCS: GCS_BACKUP_*, Dropbox: DROPBOX_BACKUP_TOKEN)
  1. Test the setup:

``bash php artisan backup:run php artisan backup:list php artisan backup:monitor ``

Available commands

bash
php artisan backup:run # Full backup
php artisan backup:run --only-db # Database only
php artisan backup:run --only-files # Files only
php artisan backup:list # List all backups
php artisan backup:monitor # Check health
php artisan backup:clean # Clean old backups per policy

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hadyfayed/laravel-agent/backup-setup/badge)](https://verified-skill.com/skills/hadyfayed/laravel-agent/backup-setup)

Something wrong with this skill or its page? Tell us.