{"id":27160984,"url":"https://github.com/flownative/docker-borgbackup","last_synced_at":"2025-04-09T00:08:28.964Z","repository":{"id":41177386,"uuid":"241565989","full_name":"flownative/docker-borgbackup","owner":"flownative","description":"Work in progress: a wrapper for Borg Backup","archived":false,"fork":false,"pushed_at":"2025-02-12T12:38:38.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-12T13:50:55.635Z","etag":null,"topics":["backup","borgbackup","docker-image"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/flownative.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["robertlemke"]}},"created_at":"2020-02-19T08:06:31.000Z","updated_at":"2025-02-12T12:37:18.000Z","dependencies_parsed_at":"2025-02-12T13:38:40.835Z","dependency_job_id":"51cd631b-48bb-4cad-b3a1-fdfba0aa28eb","html_url":"https://github.com/flownative/docker-borgbackup","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flownative%2Fdocker-borgbackup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flownative%2Fdocker-borgbackup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flownative%2Fdocker-borgbackup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flownative%2Fdocker-borgbackup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flownative","download_url":"https://codeload.github.com/flownative/docker-borgbackup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247947857,"owners_count":21023066,"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","borgbackup","docker-image"],"created_at":"2025-04-09T00:08:28.313Z","updated_at":"2025-04-09T00:08:28.951Z","avatar_url":"https://github.com/flownative.png","language":"Shell","funding_links":["https://github.com/sponsors/robertlemke"],"categories":[],"sub_categories":[],"readme":"[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)\n\n# Borg Backup\n\nA Docker image providing [Borg](https://www.borgbackup.org/) in a handy format.\n\n## Installation\n\nThis Docker image contains a little helper / wrapper script which you install into a directory of your choice. Once\nit is in place, you can call the script almost as if you are calling the `borg` binary directly.\n\n````bash\ndocker run --name borg --rm flownative/borgbackup get-borg \u003e /usr/local/bin/borg\nchmod 775 /usr/local/bin/borg\n````\n\nGiven that `/usr/local/bin` is in your `PATH`, you can get a help screen like so:\n\n````bash\n$ borg\n\nusage: borg [-V] [-h] [--critical] [--error] [--warning] [--info] [--debug]\n            [--debug-topic TOPIC] [-p] [--log-json] [--lock-wait SECONDS]\n            [--show-version] [--show-rc] [--umask M] [--remote-path PATH]\n            [--remote-ratelimit RATE] [--consider-part-files]\n            [--debug-profile FILE] [--rsh RSH]\n            \u003ccommand\u003e ...\n\nBorg - Deduplicated Backups\n\noptional arguments:\n  -V, --version         show version number and exit\n\nCommon options:\n  -h, --help            show this help message and exit\n…\n````\n## Initializing a Backup\n\ntbd.\n\n## Creating Backups\n\nCreate a new archive (ie. \"a new backup\") using the arguments explained in the Borg documentation. The source directory\ncontaining the files to backup is mounted as /source by default. You may, however, specify a custom mount point, so\npaths in your archive are more meaningful.\n\nGiven that the following environment variables are set ...\n\n````bash\nexport BORG_SSH_KEY_FILE=/home/fltwht/.ssh/id_rsa\nexport BORG_REPO=...repo.borgbase.com:repo\nexport BORG_SUDO=yes\nexport BORG_PASSPHRASE=...\nexport BORG_SOURCE_ROOT_DIR=/media/data/nextcloud/data\nexport BORG_SOURCE_MOUNT_DIR=/nextcloud/data\n````\n... you can create new archive like so:\n\n```bash\n./borg create                                              \\\n      --verbose                                            \\\n      --list                                               \\\n      --stats                                              \\\n      --show-rc                                            \\\n      --compression lz4                                    \\\n      --exclude ${BORG_SOURCE_MOUNT_DIR}/video             \\\n      --exclude ${BORG_SOURCE_MOUNT_DIR}/*/files_trashbin  \\\n      --exclude ${BORG_SOURCE_MOUNT_DIR}/appdata_*/preview \\\n                                                           \\\n      ::'nextcloud-{now}'                                  \\\n      ${BORG_SOURCE_MOUNT_DIR}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflownative%2Fdocker-borgbackup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflownative%2Fdocker-borgbackup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflownative%2Fdocker-borgbackup/lists"}