{"id":16963434,"url":"https://github.com/leucos/ansible-rsync-backup","last_synced_at":"2026-05-06T23:39:11.815Z","repository":{"id":136626359,"uuid":"86999796","full_name":"leucos/ansible-rsync-backup","owner":"leucos","description":"Simple rsync-based differentiel backup script and playbook","archived":false,"fork":false,"pushed_at":"2017-04-16T10:27:54.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T11:44:13.626Z","etag":null,"topics":["ansible","ansible-role","backup","rsync"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/leucos.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-02T16:36:10.000Z","updated_at":"2021-07-22T20:43:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"89529786-770c-4e55-b712-899a3f681914","html_url":"https://github.com/leucos/ansible-rsync-backup","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leucos%2Fansible-rsync-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leucos%2Fansible-rsync-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leucos%2Fansible-rsync-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leucos%2Fansible-rsync-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leucos","download_url":"https://codeload.github.com/leucos/ansible-rsync-backup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244827627,"owners_count":20516969,"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":["ansible","ansible-role","backup","rsync"],"created_at":"2024-10-13T23:24:52.603Z","updated_at":"2026-05-06T23:39:06.795Z","avatar_url":"https://github.com/leucos.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"rsync_backup Ansible playbook\n=============================\n\nThis role will deploy rbackup.sh, a simple rsync-based differential backup script with history purge.\n\nRequirements\n------------\n\nNone\n\nRole Variables\n--------------\n\nBeside deploying the script, this role will manage your backup crontab for you if you populate `rsync_backup_crons`:\n\n  - `rsync_backup_crons`: list of dicts containing the following items:\n    - `name`: a unique name for the backup\n    - `source`: a rsync-compatible source to backup\n    - `destination`: a rsync-compatible destination directory to put\n      backups in\n    - `keep`: number of previous backups to keep\n    - `day`: cron-compatible day specification\n    - `hour`: cron-compatible hour specification\n    - `minute`: cron-compatible minute specification\n    - `log`: log file name (will be written in  /var/log/rbackup/ and rotated)\n\nExample\n-------\n\n```\nrsync_backup_crons:\n  - name: Some files\n    source: /vagrant\n    destination: /backupvagrant\n    keep: 5\n    day: \"*\"\n    hour: 1\n    minute: 5\n  - name: Some other files\n    source: /etc/logrotate.d\n    destination: /backuplogrotate\n    keep: 3\n    day: \"*\"\n    hour: 5\n    minute: 15\n    log: backuplogrotate.log\n```\n\nTags\n----\n\n  - rbackup\n\nDependencies\n------------\n\nNone\n\nExample Playbook\n----------------\n\nSpecs\n-----\n\nTo run tests locally in a Vagrant machine, just hit:\n\n    vagrant up\n    vagrant ssh -c specs\n\nIf you want to run the test playbook fast (i.e., without re-installing Ansible),\njust run:\n\n    vagrant ssh -c 'specs -p'\n\nLicense\n-------\n\nMIT\n\nAuthor Information\n------------------\n\n@leucos.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleucos%2Fansible-rsync-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleucos%2Fansible-rsync-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleucos%2Fansible-rsync-backup/lists"}