{"id":26906755,"url":"https://github.com/gdshadow01/mbsync-dockerized","last_synced_at":"2025-10-04T16:45:44.923Z","repository":{"id":283688079,"uuid":"952601058","full_name":"gdshadow01/mbsync-dockerized","owner":"gdshadow01","description":"mbsync in docker with option to backup several accounts, optionally auto-generate config for mbsync from docker-compose or use own config and easy restore to remote account.","archived":false,"fork":false,"pushed_at":"2025-03-28T21:06:30.000Z","size":35,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T22:22:38.103Z","etag":null,"topics":["backup","docker","docker-compose","email"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gdshadow01.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":"2025-03-21T14:53:56.000Z","updated_at":"2025-03-28T21:14:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"63a7e509-c002-453d-a82b-9f273b354113","html_url":"https://github.com/gdshadow01/mbsync-dockerized","commit_stats":null,"previous_names":["gdshadow01/mbsync-dockerized"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gdshadow01/mbsync-dockerized","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdshadow01%2Fmbsync-dockerized","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdshadow01%2Fmbsync-dockerized/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdshadow01%2Fmbsync-dockerized/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdshadow01%2Fmbsync-dockerized/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gdshadow01","download_url":"https://codeload.github.com/gdshadow01/mbsync-dockerized/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdshadow01%2Fmbsync-dockerized/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272996175,"owners_count":25028074,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","docker","docker-compose","email"],"created_at":"2025-04-01T11:18:36.516Z","updated_at":"2025-10-04T16:45:39.833Z","avatar_url":"https://github.com/gdshadow01.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mbsync-dockerized\nmbsync in docker with option to backup several accounts, optionally auto-generate config for mbsync from docker-compose or use own config and easy restore to remote account.\n\nI needed an offline backup solution for my IMAP mail accounts that\n- lets me choose the storage folder\n- lets me restore to a remote target\n- supports multiple accounts\n- is dockerized\n- creates a config file for mbsync from docker-compose.yml\n\nAs I could't find that:\n\nThis project aims to spin up a docker container with mbsync. Accounts and basic settings for mbsync can be defined in the docker-compose file. A config file for mbsync will then be auto-generated from the docker-compose if no config file is provided. If a config file is provided, it will be used without changes. \n\nThe mbsync config file and the mail folder are exposed as bind mounts. Up to 10 mail accounts can be auto-generated. \n\nSee comments in docker-compose.yml for more information.\n\n## usage: \n- `git clone https://github.com/gdshadow01/mbsync-dockerized.git \u0026\u0026 cd mbsync-dockerized`\n- set up mail account(s) in docker-compose.yml and change variables if needed (see https://isync.sourceforge.io/mbsync.html for options)\n- `docker compose build`\n- optional: provide mbsync.rc at /config mount point\n- `docker compose up` for running in foreground or `docker compose up -d` when running in background (as daemon, see docker-compose.yml)\n\n## other solutions\n- [docker-mbsync by JakeWharthon](https://github.com/JakeWharton/docker-mbsync)\n- [mbsync by jon6fingrs](https://github.com/jon6fingrs/mbsync/tree/main)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgdshadow01%2Fmbsync-dockerized","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgdshadow01%2Fmbsync-dockerized","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgdshadow01%2Fmbsync-dockerized/lists"}