{"id":39876075,"url":"https://github.com/rremizov/ansible-borg-backup","last_synced_at":"2026-01-18T14:24:48.610Z","repository":{"id":72390670,"uuid":"255258109","full_name":"rremizov/ansible-borg-backup","owner":"rremizov","description":"Ansible Role - Configure Borg Backup repository and create backups on schedule.","archived":false,"fork":false,"pushed_at":"2025-01-08T18:58:21.000Z","size":29,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T19:45:45.001Z","etag":null,"topics":["ansible","ansible-role","backup","borgbackup"],"latest_commit_sha":null,"homepage":null,"language":"Jinja","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/rremizov.png","metadata":{"files":{"readme":"README.rst","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":"2020-04-13T07:18:21.000Z","updated_at":"2025-01-08T18:58:26.000Z","dependencies_parsed_at":"2024-08-21T04:48:16.895Z","dependency_job_id":null,"html_url":"https://github.com/rremizov/ansible-borg-backup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rremizov/ansible-borg-backup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rremizov%2Fansible-borg-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rremizov%2Fansible-borg-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rremizov%2Fansible-borg-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rremizov%2Fansible-borg-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rremizov","download_url":"https://codeload.github.com/rremizov/ansible-borg-backup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rremizov%2Fansible-borg-backup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28537551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T13:04:05.990Z","status":"ssl_error","status_checked_at":"2026-01-18T13:01:44.092Z","response_time":98,"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":["ansible","ansible-role","backup","borgbackup"],"created_at":"2026-01-18T14:24:48.547Z","updated_at":"2026-01-18T14:24:48.600Z","avatar_url":"https://github.com/rremizov.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":".. sectnum::\n\nBorg Backup\n===========\n\nConfigure Borg Backup repository and create backups on schedule.\n\nFeatures\n--------\n\n- Uses `BorgBackup`_ to create versioned, deduplicated and encrypted backups.\n\nRequirements\n------------\n\n- Debian\n\nRole Vars\n---------\n\n``borg_backup``\n~~~~~~~~~~~~~~~\n\nConfiguration of the Borg repositories. See the schema in the examples below.\n\nExample\n-------\n\n.. code:: yaml\n\n    borg_backup:\n      - directory: / # The directory to backup\n        borg_repository: /var/backups/root/ # Path to the borg repository.\n        borg_passphrase: passphrase # BEWARE! Stored in plain text in the backup script! Optional.\n        borg_umask: \"0027\" # Default: \"0077\"\n        initialize_borg_repo: yes # Default: yes.\n        borg_exclude: # Optional.\n          - /var/backups\n          - /boot\n          - /dev\n          - /home\n          - /proc\n          - /run\n          - /tmp\n          - /sys\n        cron_month: \"*\"\n        cron_weekday: \"*\"\n        cron_day: \"*\"\n        cron_hour: \"0\"\n        cron_minute: \"0\"\n        suppress_mail_on_success: no # Use chronic to suppress unwanted mail from cron. Default: yes.\n        retention_within: 1d # Keep all archives within this interval.\n        retention_hourly: 24 # Number of hourly archives to keep.\n        retention_daily: 30 # Number of daily archives to keep.\n        retention_weekly: 12 # Number of weekly archives to keep.\n        retention_monthly: 12 # Number of monthly archives to keep.\n        retention_yearly: 3 # Number of yearly archives to keep.\n        post_backup_hook: # Optional. Bash snippet to execute after a backup.\n\n.. _BorgBackup: https://github.com/borgbackup\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frremizov%2Fansible-borg-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frremizov%2Fansible-borg-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frremizov%2Fansible-borg-backup/lists"}