{"id":15490700,"url":"https://github.com/sammarks/docker-rancher-backup","last_synced_at":"2025-03-28T16:28:04.903Z","repository":{"id":147094794,"uuid":"56556652","full_name":"sammarks/docker-rancher-backup","owner":"sammarks","description":"Gets a list of all containers running on the current rancher host and periodically backs them up to Amazon S3.","archived":false,"fork":false,"pushed_at":"2016-04-19T03:14:55.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-19T09:19:56.492Z","etag":null,"topics":[],"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/sammarks.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":"2016-04-19T02:03:22.000Z","updated_at":"2019-01-18T21:43:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"85cf55ac-eaf3-4a64-98bc-4d2ac8659999","html_url":"https://github.com/sammarks/docker-rancher-backup","commit_stats":{"total_commits":5,"total_committers":2,"mean_commits":2.5,"dds":"0.19999999999999996","last_synced_commit":"b3ada52b0492e01429a400a2b81a68b0d57179fc"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammarks%2Fdocker-rancher-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammarks%2Fdocker-rancher-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammarks%2Fdocker-rancher-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammarks%2Fdocker-rancher-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sammarks","download_url":"https://codeload.github.com/sammarks/docker-rancher-backup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246061892,"owners_count":20717521,"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":[],"created_at":"2024-10-02T07:23:25.761Z","updated_at":"2025-03-28T16:28:04.753Z","avatar_url":"https://github.com/sammarks.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Rancher Backup\n\nGets a list of all containers running on the current rancher host and\nbacks them up to Amazon S3 every three days. With the following environment\nvariables:\n\n- `AWS_ACCESS_KEY`\n- `AWS_SECRET_KEY`\n- `AWS_BUCKET`\n- `TAR_OPTS`\n\nHere's a healthy default for the `TAR_OPTS` environment variable that\nhas some nice exclusions:\n\n```\n--exclude=backup --exclude=*/Cache* --exclude=*/cache* --exclude=*/Log* --exclude=*/log* --exclude=*/backup* --exclude=*/export* --exclude=*/plugins-osgi-cache* --exclude=*/tmp* --exclude=*.log --exclude=*/artifacts* --exclude=*/builds* --exclude=*/build-dir* --exclude=/var/lib/docker*\n```\n\nHere's a test run command:\n\n```\ndocker run --rm --name=backup -d \\\n    -e TAR_OPTS=\"--exclude=backup\" \\\n    -e AWS_ACCESS_KEY=access_key \\\n    -e AWS_SECRET_KEY=secret_key \\\n    -e AWS_BUCKET=\"bucket-name\" \\\n    docker-rancher-backup\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsammarks%2Fdocker-rancher-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsammarks%2Fdocker-rancher-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsammarks%2Fdocker-rancher-backup/lists"}