{"id":19360533,"url":"https://github.com/uber5/ansible-role-duply_backup","last_synced_at":"2026-02-28T13:32:48.983Z","repository":{"id":30901685,"uuid":"34459466","full_name":"Uber5/ansible-role-duply_backup","owner":"Uber5","description":null,"archived":false,"fork":false,"pushed_at":"2015-07-06T09:07:48.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T12:21:57.377Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Uber5.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-23T13:57:46.000Z","updated_at":"2015-04-23T13:57:46.000Z","dependencies_parsed_at":"2022-09-07T15:01:57.304Z","dependency_job_id":null,"html_url":"https://github.com/Uber5/ansible-role-duply_backup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Uber5/ansible-role-duply_backup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uber5%2Fansible-role-duply_backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uber5%2Fansible-role-duply_backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uber5%2Fansible-role-duply_backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uber5%2Fansible-role-duply_backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Uber5","download_url":"https://codeload.github.com/Uber5/ansible-role-duply_backup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uber5%2Fansible-role-duply_backup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29935368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:16:57.922Z","status":"ssl_error","status_checked_at":"2026-02-28T13:11:15.149Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-10T07:18:27.536Z","updated_at":"2026-02-28T13:32:48.958Z","avatar_url":"https://github.com/Uber5.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# What?\n\nThis is an [Ansible](http://docs.ansible.com/) role to setup backups via\n[Duply](http://duply.net/).\n\nTODO: duply config may have to be adjusted as described here:\nhttps://raim.codingfarm.de/blog/2015/03/12/backup-with-duply-to-amazon-s3-backendexception-no-connection-to-backend/\n\n# How to Use\n\n## With a simple duply target (e.g. scp)\n\nIn your playbook:\n\n```\n- hosts: some-hosts\n  roles:\n    - role: duply_backup\n      backing_up_user: user1\n      pre_script: templates/duply_pre.sh.j2\n      backup_password: veryTopS111cret\n      backup_src: /home/user1/important-stuff\n      backup_target: scp://backups@my-backup-server.com/user1\n```\n\n## With Amazon S3\n\nIn your playbook:\n\n```\n    - role: duply_backup\n      backing_up_user: user1\n      pre_script: templates/testing/duply_pre.sh.j2\n      backup_password: topSecretPassword\n      backup_src: /home/user1/important-stuff\n      backup_target: s3://s3-ap-southeast-2.amazonaws.com/backups-bucket/user1\n      backup_target_user: 's3-id'\n      backup_target_pass: 's3-secret'\n```\n\nThe bucket needs an appropriate policy. The following works, but may be more\nliberal than necessary:\n\n```\n{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Sid\": \"\",\n      \"Effect\": \"Allow\",\n      \"Principal\": {\n        \"AWS\": \"arn:aws:iam::123:user/backups-myhost\"\n      },\n      \"Action\": \"s3:*\",\n      \"Resource\": \"arn:aws:s3:::backups-bucket\"\n    },\n    {\n      \"Sid\": \"\",\n      \"Effect\": \"Allow\",\n      \"Principal\": {\n        \"AWS\": \"arn:aws:iam::123:user/backups-myhost\"\n      },\n      \"Action\": \"s3:*\",\n      \"Resource\": \"arn:aws:s3:::backups-bucket/*\"\n    }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber5%2Fansible-role-duply_backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuber5%2Fansible-role-duply_backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber5%2Fansible-role-duply_backup/lists"}