djs-enable-db-backups
Skill by danjac
Enables automated daily PostgreSQL backups to a private Hetzner Object Storage bucket through a guided, step-by-step wizard. It is for projects that deploy with Terraform, Helm and the just task runner.
Install djs-enable-db-backups
Built from the published package, never by AI.
git clone --depth 1 https://github.com/danjac/django-studio /tmp/django-studio && mkdir -p ~/.claude/skills && cp -r /tmp/django-studio/template/.agents/skills/djs-enable-db-backups ~/.claude/skills/djs-enable-db-backupsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/danjac/django-studio /tmp/django-studio && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/django-studio/template/.agents/skills/djs-enable-db-backups ~/.gemini/antigravity-cli/skills/djs-enable-db-backupsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install djs-enable-db-backups in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is an interactive wizard that turns on daily PostgreSQL backups for a project. It provisions a private Hetzner Object Storage bucket with Terraform, asks for S3 credentials, and writes the bucket details into Helm secret values. It runs one sub-step at a time and waits for the user to confirm each one.
The skill then deploys the Helm chart, runs a test backup job in the cluster, and pushes updated secrets to GitHub for the CI deploy workflow. Backups run daily at 03:00 UTC and keep the 7 most recent files by default. It is aimed at developers who run a project built on this template that uses rkube and Helm, and it points to docs/database-backups.md for restores.
Written from the project's SKILL.md and checked against it.
What it can do
- Provision backup bucketCreates the private Hetzner Object Storage bucket using Terraform in terraform/backups/.
- Configure Helm secretsWrites bucket name, endpoint, region and S3 credentials into helm/site/values.secret.yaml.
- Confirm schedule and retentionShows the default 03:00 UTC daily schedule and 7-backup retention and lets the user change them.
- Deploy backup CronJobRuns just helm site and checks that the CronJob, secret and scripts ConfigMap exist.
- Run a test backupStarts a test job from the postgres-backup CronJob and reads the logs from both containers.
- Push secrets to GitHubRuns just gh-set-secrets so the CI deploy workflow uses the updated values.
What you need
- Hetzner Cloud account with Object Storage S3 credentials
- Terraform installed
- A reachable cluster accessed through just rkube
- GitHub access for gh-set-secrets
Try asking
- Enable daily PostgreSQL backups to my Hetzner bucket
- Run a test PostgreSQL backup and check the logs
- Change my backup retention to keep 14 backups
Good to know
- Default schedule is daily at 03:00 UTC.
- Default retention keeps the 7 most recent backups.
- The Hetzner secret key is shown only once, so it must be copied when generated.
- Each sub-step waits for user confirmation before continuing.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: template/.agents/skills/djs-enable-db-backups/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to djs-enable-db-backups
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
djs-enable-db-backups: common questions
What does the backup skill store and where?
It stores PostgreSQL dumps as gzip files in a private Hetzner Object Storage bucket, named backup-YYYYMMDD-HHMMSS.sql.gz.
Can I reuse existing S3 credentials?
Yes. If terraform/storage/terraform.tfvars already has S3 credentials, the wizard asks whether to use them for the backup bucket.
How do I restore a backup?
The skill points to docs/database-backups.md, which has step-by-step restore instructions.
How do I install djs-enable-db-backups?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is djs-enable-db-backups free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is djs-enable-db-backups safe to use?
It scores 45 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to djs-enable-db-backups?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
