dootask-backup
Skill by kuaifan
Backs up DooTask data, including the required database dump and optional uploads and app store config. It bundles the files with a README into a dated archive in backup/. The skill only reads source data and stops on any failure.
Install dootask-backup
Built from the published package, never by AI.
git clone --depth 1 https://github.com/kuaifan/dootask /tmp/dootask && mkdir -p ~/.claude/skills && cp -r /tmp/dootask/.claude/skills/dootask-backup ~/.claude/skills/dootask-backupRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/kuaifan/dootask /tmp/dootask && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/dootask/.claude/skills/dootask-backup ~/.gemini/antigravity-cli/skills/dootask-backupAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill creates a backup archive of a DooTask project. The database dump is required. The public/uploads folder is optional, with the tmp subfolder excluded. The docker/appstore/config folder is also optional. The assistant runs ./cmd mysql backup, copies the files into a temporary folder, writes a README with backup details and restore notes, and packs everything into backup/ as a tar.gz file named by date.
The skill is written as a strict procedure. It checks prerequisites first, asks which optional items to include, and asks the user to confirm before running. It never deletes or changes source data or existing backups. If a step fails, it stops and reports the error without retrying. It is meant for people who run DooTask with Docker and want a dated, restorable copy of their data.
Written from the project's SKILL.md and checked against it.
What it can do
- Prerequisite checksConfirms the project root, that the mariadb container is running, and that there is enough disk space.
- Database backupRuns ./cmd mysql backup and copies the newest .sql.gz dump into the work folder.
- Uploads backupCopies public/uploads while excluding the tmp folder, using rsync or a tar fallback.
- App store config backupCopies docker/appstore/config, using sudo if root-owned files block the copy.
- README generationWrites a README with backup time, DooTask version, included items, sizes and restore steps.
- Dated archive packagingPacks the work folder into backup/dootask_backup_<timestamp>.tar.gz and removes the temporary folder.
- Backup reportReports the archive path, its size and which items were included.
What you need
- A DooTask project root containing cmd and docker-compose.yml
- Docker with the mariadb container running
- Enough free disk space in the backup/ location
- sudo access, if root-owned files block the config copy
Try asking
- Back up my DooTask database and uploads into the backup folder.
- Create a DooTask backup without the app store config.
- Make a dated DooTask backup archive and report its size.
Good to know
- Read-only with respect to source data: it never deletes or modifies source data or existing backups.
- The docker/appstore/apps folder is not included and must be reinstalled from the app store if needed.
- The public/uploads/tmp folder is excluded because it is temporary.
- It stops on any failure and does not retry or skip items automatically.
Security check
C- Asks for administrator rights (sudo)In
.claude/skills/dootask-backup/SKILL.md:sudo
Checked automatically: .claude/skills/dootask-backup/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to dootask-backup
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
dootask-backup: common questions
Does this skill delete my DooTask data?
No. The source says it only reads source data to build the archive and never deletes or modifies source data or existing backups.
How do I restore a DooTask backup made with this skill?
The generated README includes restore notes. The database can be restored with gunzip piped into mysql or with ./cmd mysql recovery, and uploads and config folders are copied back to their original paths.
What happens if the database container is not running?
The skill stops and asks the user to start the services with ./cmd up before retrying the database backup.
How do I install dootask-backup?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is dootask-backup free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is dootask-backup safe to use?
It scores 75 of 100. Grades: maintenance B, licence C, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to dootask-backup?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
