zhh9126/backup-platform/mariadb-backup
Claude Code and agent skill by zhh9126/backup-platform
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
MariaDB 数据库备份与恢复技能。完全继承 MySQL 引擎,支持逻辑备份(mysqldump)和物理备份(mariabackup), 以及 binlog 备份与 PITR。当用户需要对 MariaDB 数据库进行备份、恢复或任务管理时,应使用此技能。
Install
npx vskill@latest install zhh9126/backup-platform/mariadb-backupSKILL.md
MariaDB 备份技能
概述
此技能封装了 MariaDB 数据库的备份与恢复能力。MariaDB 引擎 (MariaDBEngine) 完全继承自 MySQLEngine,独立 db_type 便于精确归类,后续可独立扩展 mariadb-dump 等特性。
支持的能力
| 能力 | 说明 | |
|---|---|---|
| 逻辑备份 | mysqldump(同 MySQL),支持单库/分表/全实例 | |
| 物理全量备份 | mariabackup --backup(兼容 xtrabackup) | |
| 物理增量备份 | mariabackup --incremental-basedir | |
| Binlog 备份 | mysqlbinlog 远程抽取 | |
| PITR 恢复 | 基于目标时间点生成 binlog 重放脚本 | |
| 跨主机恢复 | SFTP + SSH 远程恢复 |
备份类型(BackupType)
FULL— 全量备份INCREMENTAL— 增量备份DIFFERENTIAL— 差异备份(回退到全量)
备份模式(BackupMode)
LOGICAL— mysqldump 导出PHYSICAL— mariabackup 物理复制
API 端点
| 方法 | 端点 | 说明 | |
|---|---|---|---|
| POST | /tasks | 创建备份任务(db_type=mariadb) | |
| GET | /tasks | 查询任务列表 | |
| POST | /tasks/<id>/run | 执行任务 | |
| POST | /restore | 执行恢复 | |
| GET | /records?db_type=mariadb | 查询备份记录 |
插件依赖
- mariabackup — MariaDB 物理备份工具(推荐 MariaDB 10.2.6+ 内置版本)
使用示例
创建备份任务时指定 db_type=mariadb 即可,其余操作与 MySQL 完全相同。
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/mariadb-backup/SKILL.md
Popularity
- Repository stars
- 79
- Repository forks
- 22
- 7-day trend score
- 0
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/zhh9126/backup-platform/mariadb-backup)