{"id":39823079,"url":"https://github.com/sfindeisen/rsync-backup","last_synced_at":"2026-01-18T13:01:18.349Z","repository":{"id":147923487,"uuid":"121284305","full_name":"sfindeisen/rsync-backup","owner":"sfindeisen","description":"Personal, minimalistic, simple to use, space-efficient rsync(1) based backup solution.","archived":false,"fork":false,"pushed_at":"2025-01-16T15:32:49.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-16T16:59:25.015Z","etag":null,"topics":["backup","bash","rsync","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sfindeisen.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":"2018-02-12T18:22:05.000Z","updated_at":"2025-01-16T15:32:50.000Z","dependencies_parsed_at":"2023-04-23T20:31:51.211Z","dependency_job_id":null,"html_url":"https://github.com/sfindeisen/rsync-backup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sfindeisen/rsync-backup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfindeisen%2Frsync-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfindeisen%2Frsync-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfindeisen%2Frsync-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfindeisen%2Frsync-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sfindeisen","download_url":"https://codeload.github.com/sfindeisen/rsync-backup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sfindeisen%2Frsync-backup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28536686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T10:13:46.436Z","status":"ssl_error","status_checked_at":"2026-01-18T10:13:11.045Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["backup","bash","rsync","shell"],"created_at":"2026-01-18T13:01:01.137Z","updated_at":"2026-01-18T13:01:18.279Z","avatar_url":"https://github.com/sfindeisen.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rsync-backup\n\nPersonal, minimalistic, simple to use, space-efficient rsync(1) based backup\nsolution. Unchanged files are hardlinked to previous copies =\u003e they take no\nextra space.\n\n## Requirements\n\n1. rsync (on a Debian-like operating system: `apt-get install rsync`)\n2. target filesystem must support hardlinks (tested with: `ext3`)\n\n## How to use\n\n1. Set the source and destination environment variables. For example:\n\n```\nexport BACKUP_SRC_DIR=/etc/\nexport BACKUP_DST_DIR=/mnt/my-external-storage/backup/etc/\n```\n\n2. [optional] adjust `rsync` exclude patterns if needed (`rsync-exclude.txt`)\n\n3. Run the full backup at least once\n\n```\nrsync-backup-full.sh\n```\n\n4. Run the incremental backup whenever you want\n\n```\nrsync-backup-incremental.sh\n```\n\n## Restoring files\n\nNavigate to your latest (or earlier) incremental backup directory\nand just copy the files from there.\n\n## Best practices\n\nI run the full backup every couple of weeks. It helps limit the incremental\nbackup size.\n\n## TODO\n\n[ ] consider enabling -N (error: `rsync: This rsync does not support --crtimes (-N)`)\n[ ] consider enabling -U\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsfindeisen%2Frsync-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsfindeisen%2Frsync-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsfindeisen%2Frsync-backup/lists"}