{"id":21974229,"url":"https://github.com/fuchs-fabian/domposbi","last_synced_at":"2026-05-09T14:46:33.085Z","repository":{"id":264390597,"uuid":"893165613","full_name":"fuchs-fabian/domposbi","owner":"fuchs-fabian","description":"Backup Docker Compose projects with ease","archived":false,"fork":false,"pushed_at":"2024-11-24T00:46:47.000Z","size":21,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T03:17:19.201Z","etag":null,"topics":["backup-script","backup-solution","docker","docker-compose","ease","uses-simbashlog"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fuchs-fabian.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}},"created_at":"2024-11-23T17:51:40.000Z","updated_at":"2024-12-09T21:27:37.000Z","dependencies_parsed_at":"2024-11-23T23:23:40.627Z","dependency_job_id":"ae8d74f0-bf95-4034-825c-95623c6bad77","html_url":"https://github.com/fuchs-fabian/domposbi","commit_stats":null,"previous_names":["fuchs-fabian/domposbi"],"tags_count":0,"template":false,"template_full_name":"fuchs-fabian/simbashlog-debian-docker-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuchs-fabian%2Fdomposbi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuchs-fabian%2Fdomposbi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuchs-fabian%2Fdomposbi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuchs-fabian%2Fdomposbi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fuchs-fabian","download_url":"https://codeload.github.com/fuchs-fabian/domposbi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245033912,"owners_count":20550357,"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-script","backup-solution","docker","docker-compose","ease","uses-simbashlog"],"created_at":"2024-11-29T15:40:03.242Z","updated_at":"2026-05-09T14:46:28.025Z","avatar_url":"https://github.com/fuchs-fabian.png","language":"Shell","funding_links":["https://www.paypal.com/donate/?hosted_button_id=4G9X8TDNYYNKG"],"categories":[],"sub_categories":[],"readme":"# `domposbi`: Backup Docker Compose projects with ease\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"./LICENSE\"\u003e\n    \u003cimg alt=\"GPL-3.0 License\" src=\"https://img.shields.io/badge/GitHub-GPL--3.0-informational\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/fuchs-fabian/domposbi\"\u003e\n    \u003cimg src=\"https://github-readme-stats.vercel.app/api/pin/?username=fuchs-fabian\u0026repo=domposbi\u0026theme=holi\u0026hide_border=true\u0026border_radius=10\" alt=\"Repository domposbi\"/\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n## Description\n\nDocker Compose projects can be easily backed up with `domposbi`. The project is based on `simbashlog` and [`domposy`](https://github.com/fuchs-fabian/domposy).\n\n\u003cdiv align=\"left\"\u003e\n  \u003ca href=\"https://github.com/fuchs-fabian/domposy\"\u003e\n    \u003cimg src=\"https://github-readme-stats.vercel.app/api/pin/?username=fuchs-fabian\u0026repo=domposy\u0026theme=holi\u0026hide_border=true\u0026border_radius=10\" alt=\"Repository domposy\"/\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n\u003e **Important**: The backups do not work with Docker volumes, but only with Docker bind mounts, because the folders of the Docker Compose projects are backed up directly. This means that only the data in the project folders are backed up.\n\n**Examples for Docker Compose files**:\n\n\u003ca href=\"https://github.com/fuchs-fabian/docker-compose-files\"\u003e\n  \u003cimg src=\"https://github-readme-stats.vercel.app/api/pin/?username=fuchs-fabian\u0026repo=docker-compose-files\u0026theme=holi\u0026hide_border=true\u0026border_radius=10\" alt=\"Repository docker-compose-files\"/\u003e\n\u003c/a\u003e\n\n\u003e **Attention**: The container needs access to the Docker socket. This is necessary to be able to back up the Docker Compose projects!\n\n## Getting Started\n\nThe easiest way is to download and run the [`install.sh`](./install.sh) script.\n\nIt will guide you through the installation process and create the necessary files and directories so that you don't have to worry about anything setting up manually.\n\nFirst, go to the directory where you want to install the container.\n\nThe following command will download the installation script, make it executable, execute it and then delete it:\n\n```shell\nwget -q -O install.sh https://raw.githubusercontent.com/fuchs-fabian/domposbi/refs/heads/main/install.sh \u0026\u0026 \\\nchmod +x install.sh \u0026\u0026 \\\n./install.sh \u0026\u0026 \\\nrm install.sh\n```\n\nAs the [simbashlog-notifier](https://github.com/fuchs-fabian/simbashlog-notifiers) does not work straight away, the container must be shut down and then the configuration file under `volumes/config/` must be adapted.\n\nIf a notifier is used that requires additional files, these must be created on the host and mounted. Alternatively, the files can also be created in the container if the corresponding bind mounts have been set beforehand.\n\nIf the cronjob schedule or other settings are to be adjusted, the Docker container must be shut down briefly and the `.env` file adjusted:\n\n```shell\ndocker compose down\n```\n\n```shell\nnano .env\n```\n\nThe `.env` file should look like this:\n\n```plain\nDOCKER_COMPOSE_PROJECTS_DIR='/path/to/your/docker-compose-projects'\nBACKUP_DIR='/path/to/your/backup/directory'\n\nCRON_SCHEDULE=*/10 * * * *\nGIT_REPO_URL_FOR_SIMBASHLOG_NOTIFIER=''\n\n# This should not be changed, if 'domposbi' is also in the Docker Compose projects directory!\nKEYWORD_TO_EXCLUDE_FROM_BACKUP='domposbi'\n\nKEEP_BACKUPS=10\n\n# Optional\nENABLE_DEBUG_MODE=false\nENABLE_DRY_RUN=false\n```\n\nAs the log files are mounted on the host by default, the files could become very large in the long term. The log files should therefore be deleted from time to time.\n\nThe log files are located under `volumes/logs/`.\n\n## Bugs, Suggestions, Feedback, and Needed Support\n\n\u003e If you have any bugs, suggestions or feedback, feel free to create an issue or create a pull request with your changes.\n\n## Support `simbashlog`\n\nIf you like `simbashlog`'s ecosystem, you think it is useful and saves you a lot of work and nerves and lets you sleep better, please give it a star and consider donating.\n\n\u003ca href=\"https://www.paypal.com/donate/?hosted_button_id=4G9X8TDNYYNKG\" target=\"_blank\"\u003e\n  \u003c!--\n    https://github.com/stefan-niedermann/paypal-donate-button\n  --\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/stefan-niedermann/paypal-donate-button/master/paypal-donate-button.png\" style=\"height: 90px; width: 217px;\" alt=\"Donate with PayPal\"/\u003e\n\u003c/a\u003e\n\n---\n\n\u003e This repository uses [`simbashlog`](https://github.com/fuchs-fabian/simbashlog) ([LICENSE](https://github.com/fuchs-fabian/simbashlog/blob/main/LICENSE)).\n\u003e\n\u003e *Copyright (C) 2024 Fabian Fuchs*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuchs-fabian%2Fdomposbi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuchs-fabian%2Fdomposbi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuchs-fabian%2Fdomposbi/lists"}