izittmarvin/open-skills-chinese/molili-8163
Claude Code and agent skill by izittmarvin/open-skills-chinese
- community
Checking that the SKILL.md file is still in the repository.
Set up scheduled automated backups with version tracking and cleanup. Use when users need to (1) Schedule periodic backups of directories or files, (2) Monitor version changes and backup on updates, (3) Automatically clean up old backups to save space, (4) Create backup strategies for configuration files, code repositories, or user data.
Install
npx vskill@latest install izittmarvin/open-skills-chinese/molili-8163SKILL.md
Cron Backup
Automated backup scheduling with version detection and intelligent cleanup.
Quick Start
One-Time Backup
Schedule Daily Backup
Version-Aware Backup
Cleanup Old Backups
Core Capabilities
1. Directory Backup
- Creates timestamped tar.gz archives
- Preserves file permissions and structure
- Excludes common temp files (node_modules, .git, etc.)
2. Version-Triggered Backup
- Monitors version file or command output
- Backs up only when version changes
- Useful for software updates
3. Scheduled Execution
- Integrates with system cron
- Supports custom schedules
- Logs execution results
4. Automatic Cleanup
- Deletes backups older than N days
- Keeps minimum number of backups
- Prevents disk space exhaustion
Scripts
All scripts are in scripts/ directory:
backup.sh- Single backup executionbackup-versioned.sh- Version-triggered backupsetup-cron.sh- Cron job setupcleanup.sh- Old backup cleanuplist-backups.sh- List available backups
Backup Naming Convention
Backups follow the pattern: {name}_YYYYMMDD_HHMMSS.tar.gz
Examples:
openclabak_20260204_101500.tar.gzmyapp_20260204_000000.tar.gz
Workflow
Setting Up Automated Backups
- Decide backup strategy
- What to backup (source directory)
- Where to store (backup directory)
- How often (schedule)
- Retention policy (cleanup days)
- Run initial backup
``bash ./scripts/backup.sh /source /backup ``
- Set up schedule
``bash ./scripts/setup-cron.sh daily /source /backup "0 2 * * *" ``
- Configure cleanup
``bash ./scripts/setup-cron.sh cleanup /backup "" "0 3 * * *" 7 ``
Version-Aware Backup Workflow
For software that changes version (like OpenClaw):
- Identify version source
- Command:
openclaw --version - File:
/path/to/version.txt
- Set up versioned backup
``bash ./scripts/backup-versioned.sh /app /app/version.txt /backups/app ``
- Schedule version check
``bash ./scripts/setup-cron.sh versioned /app /backups/app "0 */6 * * *" ``
Common Patterns
Pattern 1: Daily User Data Backup
Pattern 2: Version-Aware Application Backup
Pattern 3: Multi-Directory Backup
Cron Schedule Format
Standard cron format: minute hour day month weekday
Common schedules:
- Daily at 2 AM:
0 2 * * * - Every 6 hours:
0 */6 * * * - Weekly on Sunday:
0 0 * * 0 - Every 30 minutes:
*/30 * * * *
Cleanup Policies
- Time-based: Keep backups for N days
- Count-based: Keep last N backups
- Combined: Default keeps 7 days minimum, but at least 3 backups
Troubleshooting
- Permission denied: Ensure scripts are executable (
chmod +x scripts/*.sh) - Cron not running: Check cron service status (
systemctl status cron) - Disk full: Run cleanup manually or reduce retention period
- Backup fails: Check source directory exists and is readable
Security
- Security scanPassed, 90 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 repositoryCheckingpackages/molili-8163/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/izittmarvin/open-skills-chinese/molili-8163)