odoo-backup-strategy
Skill by sickn33
Plans and scripts backups and restores for Odoo instances. It covers the PostgreSQL database and the filestore, with cron scheduling, S3 upload and an isolated restore procedure.
Install odoo-backup-strategy
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/odoo-backup-strategy ~/.claude/skills/odoo-backup-strategyRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/odoo-backup-strategy ~/.gemini/antigravity-cli/skills/odoo-backup-strategyAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install odoo-backup-strategy in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The odoo-backup-strategy skill helps an assistant plan and script backups for an Odoo instance. It covers two parts that must be backed up together: the PostgreSQL database and the filestore that holds attachments and images. The source includes a bash script that runs pg_dump and archives the filestore, a cron example for a daily run at 2 AM, and an example that uploads the files to S3.
The skill also describes a restore procedure. It loads the dump and filestore into a new, isolated database and directory first, rather than overwriting production. The source recommends monthly restore tests, the 3-2-1 copy rule, and a backup before every Odoo upgrade. It is aimed at administrators who run production Odoo servers and need scheduled backups and a tested recovery path.
Written from the project's SKILL.md and checked against it.
What it can do
- Database dumpCreates a PostgreSQL custom-format dump of the Odoo database using pg_dump.
- Filestore archivePacks the Odoo filestore directory into a tar.gz archive.
- Cron schedulingShows how to run the backup script daily at 2 AM with cron.
- S3 uploadCopies the database dump and filestore archive to an S3 bucket with the AWS CLI.
- Isolated restoreRestores the dump and filestore into a new database and directory for testing.
- Archive inspectionAdvises listing archive entries and rejecting unsafe paths before extraction.
- Dump validationMentions pg_restore --list to check that a dump parses, while noting that a full restore test is still needed.
What you need
- PostgreSQL client tools (pg_dump, pg_restore, createdb)
- Bash shell and cron
- AWS CLI for S3 upload
- odoo-bin shell to verify the filestore path
Try asking
- Write a daily backup script for my Odoo database and filestore.
- Add an S3 upload step to my Odoo backup script.
- Give me step-by-step instructions to restore Odoo into a test database.
Good to know
- Does not cover Odoo.sh built-in backups.
- Assumes a single-database Odoo setup; multiple databases need a loop.
- Large filestores (100GB+) may need rsync or restic instead of tar.gz.
- A dump and a filestore archive taken at different times may be inconsistent.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/odoo-backup-strategy/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 odoo-backup-strategy
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
odoo-backup-strategy: common questions
Does this skill back up Odoo.sh?
No. The source says Odoo.sh has its own backup system in the dashboard, and this skill does not cover it.
Why back up the filestore as well as the database?
The source says a database-only backup leaves out all attachments and images, so they would be missing after a restore.
Can I restore over my production database?
No. The source says to restore into a new isolated database and filestore first and not to drop the production database.
How do I install odoo-backup-strategy?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is odoo-backup-strategy free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is odoo-backup-strategy safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, quality A. 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 odoo-backup-strategy?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
