{"id":21698624,"url":"https://github.com/theohbrothers/docker-imap-backup","last_synced_at":"2026-02-12T02:28:46.308Z","repository":{"id":151635915,"uuid":"624380446","full_name":"theohbrothers/docker-imap-backup","owner":"theohbrothers","description":"Dockerized imap-backup 🐳","archived":false,"fork":false,"pushed_at":"2026-02-09T00:33:47.000Z","size":156,"stargazers_count":11,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-09T06:45:57.080Z","etag":null,"topics":["buildx","docker","generate-dockerimagevariants","imap","imap-backup","mbox"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theohbrothers.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-04-06T10:42:18.000Z","updated_at":"2026-02-09T00:33:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"21f1f1ac-d3d2-40d4-8138-7771ac2751af","html_url":"https://github.com/theohbrothers/docker-imap-backup","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/theohbrothers/docker-imap-backup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theohbrothers%2Fdocker-imap-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theohbrothers%2Fdocker-imap-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theohbrothers%2Fdocker-imap-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theohbrothers%2Fdocker-imap-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theohbrothers","download_url":"https://codeload.github.com/theohbrothers/docker-imap-backup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theohbrothers%2Fdocker-imap-backup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29354914,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T01:03:07.613Z","status":"online","status_checked_at":"2026-02-12T02:00:06.911Z","response_time":55,"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":["buildx","docker","generate-dockerimagevariants","imap","imap-backup","mbox"],"created_at":"2024-11-25T19:35:35.638Z","updated_at":"2026-02-12T02:28:46.303Z","avatar_url":"https://github.com/theohbrothers.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-imap-backup\n\n[![github-actions](https://github.com/theohbrothers/docker-imap-backup/actions/workflows/ci-master-pr.yml/badge.svg?branch=master)](https://github.com/theohbrothers/docker-imap-backup/actions/workflows/ci-master-pr.yml)\n[![github-release](https://img.shields.io/github/v/release/theohbrothers/docker-imap-backup?style=flat-square)](https://github.com/theohbrothers/docker-imap-backup/releases/)\n[![docker-image-size](https://img.shields.io/docker/image-size/theohbrothers/docker-imap-backup/latest)](https://hub.docker.com/r/theohbrothers/docker-imap-backup)\n\nDockerized [imap-backup](https://github.com/joeyates/imap-backup).\n\nimap-backup syncs IMAP as `.mbox` backup files, in contrast to [isync](https://github.com/theohbrothers/docker-isync) which syncs IMAP as a `Maildir` (emails as individual files).\n\n## Tags\n\n| Tag | Dockerfile Build Context |\n|:-------:|:---------:|\n| `:16.6.0`, `:latest` | [View](variants/16.6.0) |\n| `:16.5.0` | [View](variants/16.5.0) |\n| `:16.4.2` | [View](variants/16.4.2) |\n| `:16.3.0` | [View](variants/16.3.0) |\n| `:16.2.0` | [View](variants/16.2.0) |\n| `:16.1.0` | [View](variants/16.1.0) |\n| `:16.0.0` | [View](variants/16.0.0) |\n| `:15.1.3` | [View](variants/15.1.3) |\n| `:15.0.2` | [View](variants/15.0.2) |\n| `:14.6.1` | [View](variants/14.6.1) |\n| `:14.5.2` | [View](variants/14.5.2) |\n| `:14.4.5` | [View](variants/14.4.5) |\n| `:14.3.0` | [View](variants/14.3.0) |\n| `:14.2.0` | [View](variants/14.2.0) |\n| `:14.1.1` | [View](variants/14.1.1) |\n| `:14.0.0` | [View](variants/14.0.0) |\n| `:13.4.0` | [View](variants/13.4.0) |\n| `:13.3.0` | [View](variants/13.3.0) |\n| `:13.2.0` | [View](variants/13.2.0) |\n| `:13.1.0` | [View](variants/13.1.0) |\n| `:13.0.0` | [View](variants/13.0.0) |\n| `:12.1.0` | [View](variants/12.1.0) |\n| `:12.0.0` | [View](variants/12.0.0) |\n| `:11.1.0` | [View](variants/11.1.0) |\n| `:11.0.1` | [View](variants/11.0.1) |\n| `:10.0.1` | [View](variants/10.0.1) |\n| `:9.3.2` | [View](variants/9.3.2) |\n| `:9.2.0` | [View](variants/9.2.0) |\n| `:9.1.1` | [View](variants/9.1.1) |\n| `:9.0.2` | [View](variants/9.0.2) |\n| `:8.0.2` | [View](variants/8.0.2) |\n| `:7.0.2` | [View](variants/7.0.2) |\n| `:6.3.0` | [View](variants/6.3.0) |\n| `:6.2.1` | [View](variants/6.2.1) |\n| `:6.1.0` | [View](variants/6.1.0) |\n| `:6.0.1` | [View](variants/6.0.1) |\n\n## Usage\n\nSee the following `docker-compose` examples:\n\n- [Cron-based backup using `crond`](docs/examples/cron)\n- [Demo backup](docs/examples/demo)\n\n```sh\n# Print command line usage\ndocker run --rm -it theohbrothers/docker-imap-backup:16.6.0 help\n\n# Interactive setup. See: https://github.com/joeyates/imap-backup/blob/main/docs/commands/setup.md\n# 1. add account\n#   1. email\n#   2. password\n#   3. server\n#   4. connection options. For self-signed certs, use JSON: {\"ssl\": {\"verify_mode\": 0}}\n#   5. test connection\n#   13. Press (q) return to main menu\n# 3. save and exit\ndocker run --rm -it -v imap-backup:/root/.imap-backup theohbrothers/docker-imap-backup:16.6.0 setup\n\n# View backup config\ndocker run --rm -it -v imap-backup:/root/.imap-backup theohbrothers/docker-imap-backup:16.6.0 cat /root/.imap-backup/config.json\n\n# Backup. See: https://github.com/joeyates/imap-backup/blob/main/docs/commands/backup.md\ndocker run --rm -it -v imap-backup:/root/.imap-backup theohbrothers/docker-imap-backup:16.6.0 backup\n\n# Check backup integrity (not available on \u003c= 9.2.0)\ndocker run --rm -it -v imap-backup:/root/.imap-backup theohbrothers/docker-imap-backup:16.6.0 local check\n\n# Print backup stats\ndocker run --rm -it -v imap-backup:/root/.imap-backup theohbrothers/docker-imap-backup:16.6.0 stats \u003cemail\u003e\n\n# List backup files. See: https://github.com/joeyates/imap-backup/blob/main/docs/commands/backup.md\ndocker run --rm -it -v imap-backup:/root/.imap-backup theohbrothers/docker-imap-backup:16.6.0 ls -alR /root/.imap-backup\n\n# Restore emails from backup to IMAP server. See: https://github.com/joeyates/imap-backup/blob/main/docs/commands/restore.md\ndocker run --rm -it -v imap-backup:/root/.imap-backup theohbrothers/docker-imap-backup:9.3.1 restore \u003cemail\u003e\n\n# Start a shell\ndocker run --rm -it -v imap-backup:/root/.imap-backup theohbrothers/docker-imap-backup:16.6.0 sh\n```\n\n## Development\n\nRequires Windows `powershell` or [`pwsh`](https://github.com/PowerShell/PowerShell).\n\n```powershell\n# Install Generate-DockerImageVariants module: https://github.com/theohbrothers/Generate-DockerImageVariants\nInstall-Module -Name Generate-DockerImageVariants -Repository PSGallery -Scope CurrentUser -Force -Verbose\n\n# Edit ./generate templates\n\n# Generate the variants\nGenerate-DockerImageVariants .\n```\n\n### Variant versions\n\n[versions.json](generate/definitions/versions.json) contains a list of [Semver](https://semver.org/) versions, one per line.\n\nTo update versions in `versions.json`:\n\n```powershell\n./Update-Versions.ps1\n```\n\nTo update versions in `versions.json`, and open a PR for each changed version, and merge successful PRs one after another (to prevent merge conflicts), and finally create a tagged release and close milestone:\n\n```powershell\n$env:GITHUB_TOKEN = 'xxx'\n./Update-Versions.ps1 -PR -AutoMergeQueue -AutoRelease\n```\n\nTo perform a dry run, use `-WhatIf`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheohbrothers%2Fdocker-imap-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheohbrothers%2Fdocker-imap-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheohbrothers%2Fdocker-imap-backup/lists"}