{"id":21949193,"url":"https://github.com/brainfucksec/rbackup","last_synced_at":"2026-02-25T10:32:59.274Z","repository":{"id":113271134,"uuid":"135035110","full_name":"brainfucksec/rbackup","owner":"brainfucksec","description":"Shell script for encrypted backups with rsync and GnuPG","archived":false,"fork":false,"pushed_at":"2022-09-02T15:43:30.000Z","size":41,"stargazers_count":27,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-23T01:04:03.446Z","etag":null,"topics":["backup","bash","bash-script","encrypted-backups","rsync","sysadmin-scripts"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brainfucksec.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-05-27T10:07:51.000Z","updated_at":"2025-01-14T09:36:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9aff6b8-8a8d-4fce-91e4-0f45cd45c8db","html_url":"https://github.com/brainfucksec/rbackup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brainfucksec/rbackup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainfucksec%2Frbackup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainfucksec%2Frbackup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainfucksec%2Frbackup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainfucksec%2Frbackup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brainfucksec","download_url":"https://codeload.github.com/brainfucksec/rbackup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainfucksec%2Frbackup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29817840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T05:36:42.804Z","status":"ssl_error","status_checked_at":"2026-02-25T05:36:31.934Z","response_time":61,"last_error":"SSL_read: 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","bash-script","encrypted-backups","rsync","sysadmin-scripts"],"created_at":"2024-11-29T05:27:04.726Z","updated_at":"2026-02-25T10:32:59.257Z","avatar_url":"https://github.com/brainfucksec.png","language":"Shell","readme":"# rbackup\n\n## Introduction\n\nrbackup is a shell script for making backup of your Linux system with rsync.\nUses `tar gzip` for compression and [GnuPG](https://gnupg.org) for encryption.\n\nThis program is a \"wrapper\" for rsync, then you need to familiarize first with this program, see: [rsync](https://rsync.samba.org), also you need a [gpg key](https://www.gnupg.org/gph/en/manual/c14.html#AEN25) for encrypt the archives.\n\n## Install\n\nFor install the program dowload the git repository and run the sh installer present in the git folder:\n\n```bash\ngit clone https://github.com/brainfucksec/rbackup\ncd rbackup\nchmod +x install.sh\n./install.sh\n```\n\nThe installer create a `$HOME/bin` folder with a `rbackup` executable and `$HOME/.config/rbackup` folder for the configuration files.\n\n## Configuration\n\nYou need to edit the following configuration files for run rbackup:\n\n`~/.config/rbackup/config`\n\nThis file is for rsync and backup main settings (i.e. user data, directories and files to backup, external volumes paths).\n\n`~/.config/rbackup/excluderc`\n\nThis file is for directories and files to be excluded from backups, used by rsync option `--exclude-from=FILE`.\n\nSee: `man rsync` and `rsync --help` for more information.\n\nThese files are widely commented, anyway you can find the examples in `/data/examples` folder.\n\n## Usage\n\nFor start backup just run the script with `--start` or `-s` option:\n\n```bash\nrbackup --start\n```\n\nFor show the help menù:\n\n```bash\nrbackup --help\n```\n\nAlso you can run this script with [crontab](https://www.pantz.org/software/cron/croninfo.html) for periodic backups, e.g.:\n\n```bash\ncrontab -e\n```\n\n```\n# Run rbackup every night at 00:05\n05 00 * * * ${HOME}/bin/rbackup --start\n```\n\nSee: [Linux crontab Command Help and Examples](https://www.computerhope.com/unix/ucrontab.htm)\n\nThis script use the following `rsync` default options:\n\n```\n--archive, -a            archive mode; equals -rlptgoD (no -H,-A,-X)\n--human-readable, -h     output numbers in a human-readable format\n--one-file-system, -x    don't cross filesystem boundaries\n--info=progress2         show total transfer progress\n--log-file=FILE          log what we're doing to the specified FILE\n--exclude-from=FILE      read exclude patterns from FILE\n```\n\nSee: `man rsync` and `rsync --help` for more information.\n\nThe completed backups are placed in the `$HOME/.backups` folder.\n\n## References:\n\n* [rsync](https://rsync.samba.org)\n\n* [rsync - Man Page](https://download.samba.org/pub/rsync/rsync.1)\n\n* [GnuPG](https://gnupg.org/)\n\n* [crontab](https://www.pantz.org/software/cron/croninfo.html)\n\n* [crontab.guru](https://crontab.guru/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainfucksec%2Frbackup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrainfucksec%2Frbackup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainfucksec%2Frbackup/lists"}