zhh9126/backup-platform/mariadb-backup

Claude Code and agent skill by zhh9126/backup-platform

Trust tier 2
  • community
LLM review pending
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-backup

SKILL.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 完全相同。

POST /api/tasks
{
"db_type": "mariadb",
"backup_mode": "PHYSICAL",
"backup_type": "FULL",
"host": "192.168.1.100",
"port": 3306,
...
}

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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/zhh9126/backup-platform/mariadb-backup/badge)](https://verified-skill.com/skills/zhh9126/backup-platform/mariadb-backup)

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