{"id":29308566,"url":"https://github.com/mahmoudelshimi/odoer","last_synced_at":"2026-04-13T17:02:36.090Z","repository":{"id":303112445,"uuid":"1014442932","full_name":"mahmoudElshimi/odoer","owner":"mahmoudElshimi","description":"Odoer (Dockerizing Odoo) is a command-line Rust application designed to simplify managing Odoo + Docker Compose environments with a suite of essential commands.","archived":false,"fork":false,"pushed_at":"2025-07-05T18:54:16.000Z","size":305,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-05T19:56:23.764Z","etag":null,"topics":["backup","cli","docker","docker-compose","linux","odoo","odoo-18","rust","unix"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mahmoudElshimi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-05T18:27:57.000Z","updated_at":"2025-07-05T18:54:19.000Z","dependencies_parsed_at":"2025-07-05T19:56:26.670Z","dependency_job_id":"afa72f04-61a5-489b-a85e-727b31f9d43f","html_url":"https://github.com/mahmoudElshimi/odoer","commit_stats":null,"previous_names":["mahmoudelshimi/odoer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mahmoudElshimi/odoer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmoudElshimi%2Fodoer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmoudElshimi%2Fodoer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmoudElshimi%2Fodoer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmoudElshimi%2Fodoer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mahmoudElshimi","download_url":"https://codeload.github.com/mahmoudElshimi/odoer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmoudElshimi%2Fodoer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264032332,"owners_count":23546809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backup","cli","docker","docker-compose","linux","odoo","odoo-18","rust","unix"],"created_at":"2025-07-07T07:12:38.851Z","updated_at":"2026-04-13T17:02:36.073Z","avatar_url":"https://github.com/mahmoudElshimi.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Odoer – Odoo Docker Manager\n\n**Odoer** (Dockerizing Odoo) is a command-line Rust application designed to simplify managing **Odoo + Docker Compose** environments with a suite of essential commands.\n\n![Demo](images/full_connection.jpg)\n\nDeveloped with a focus on clarity, security, and automation.\n\n---\n\n## Features\n\n- Manages Odoo environments using `docker-compose`\n- Backup and restore support for database, filestore, and addons\n- Initializes Odoo with required database setup\n- Module updates.\n- Synchronizes extra addons between host and container\n- Real-time Docker log viewing\n- Clean, compressed backup archives.\n- Container and volume cleanup with confirmation\n- Configurable project directory support\n\n---\n\n## Usage\n\nBy default, Odoer assumes the project is located at:\n\n```\n\n/home/admin/odoo\n\n````\n\nTo use the default:\n\n```bash\n./odoer \u003ccommand\u003e\n````\n\nTo pass the password instead:\n\n```bash\n./odoer -p $PASS \u003ccommand\u003e\n```\n\nTo use a different project directory:\n\n```bash\n./odoer -d /path/to/project \u003ccommand\u003e\n```\n\n### Available Commands\n\n| Command          | Description                                       |\n| ---------------- | ------------------------------------------------- |\n| `init`           | Initialize Odoo database with base schema         |\n| `up`             | Stop and bring up the Odoo stack                  |\n| `start` / `stop` | Start or stop the containers                      |\n| `restart`        | Restart Odoo and PostgreSQL containers            |\n| `update`         | Upgrade all modules using `-u all`                |\n| `addon`          | Sync `extra-addons` from host to container        |\n| `logs`           | View real-time logs from docker-compose           |\n| `backup`         | Create a full backup of database and filestore    |\n| `import \u003cdir\u003e`   | Import and restore from a given backup directory  |\n| `restore \u003cdir\u003e`  | Backup first, then perform an import              |\n| `clean`          | Deletes containers and volumes after confirmation |\n| `list`           | List available backup folders sorted by date      |\n\n---\n\n## Project Directory Structure\n\nBy default, Odoer expects the following structure:\n\n```\n/home/admin/odoo/\n├── docker-compose.yml\n├── extra-addons/\n├── backups/\n└── backups.log\n```\n\nIf using a different location, supply `-d /your/path` on every command.\n\n---\n\n## Password-Protected Commands\n\nThe following commands require password input:\n\n* `init`\n* `up`\n* `update`\n* `addon`\n* `clean`\n* `import`\n* `restore`\n---\n\n## **Automating Backups with Cron**  \nTo schedule a daily backup at **2:00 AM**, add this cron job:  \n```bash\ncrontab -e\n```\nThen add the following line:  \n```bash\n0 2 * * * /path/to/odoer [-d path] backup \u003e\u003e /var/log/odoo_backup.log 2\u003e\u00261\n```\nThis runs the backup script **every night at 2:00 AM** and logs output to `/var/log/odoo_backup.log`.\n\n---\n\n## License\n\nReleased under the MIT/X License.\n\u003e RTFM, \n\u003e KISS\n\n---\nDeveloped by Mahmoud Elshimi\nEmail: [mahmoudelshimi@protonmail.ch](mailto:mahmoudelshimi@protonmail.ch)\nPhone: +20 100 312 3253\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahmoudelshimi%2Fodoer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmahmoudelshimi%2Fodoer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahmoudelshimi%2Fodoer/lists"}