Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 87
  • 50k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-strategy

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install odoo-backup-strategy in Claude Code

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

A

No 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 →
hugging-face-datasetssickn33
94

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.

AAA Skill 50k
db-repairgarrytan
94

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.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

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.

AAA Skill 116k
fix-slow-queriespaperclipai
94

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.

AAA Skill 119k
prisma-8prisma
94

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.

AAA Skill 48k

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.

odoo-backup-strategy Install

Add to stack

Loading.