{"id":23141646,"url":"https://github.com/zekrotja/rclone-backup","last_synced_at":"2026-04-28T08:06:13.319Z","repository":{"id":237415509,"uuid":"610507131","full_name":"zekroTJA/rclone-backup","owner":"zekroTJA","description":"Personal simple rclone backup script.","archived":false,"fork":false,"pushed_at":"2024-11-21T17:45:47.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T10:01:10.073Z","etag":null,"topics":["backup","python","rclone","script"],"latest_commit_sha":null,"homepage":"","language":"Go","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/zekroTJA.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":"2023-03-06T22:59:27.000Z","updated_at":"2024-11-21T17:45:12.000Z","dependencies_parsed_at":"2024-05-01T14:59:52.143Z","dependency_job_id":"55760555-5b1d-40c4-b9fa-ebc2b1154794","html_url":"https://github.com/zekroTJA/rclone-backup","commit_stats":null,"previous_names":["zekrotja/rclone-backup"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zekroTJA/rclone-backup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zekroTJA%2Frclone-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zekroTJA%2Frclone-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zekroTJA%2Frclone-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zekroTJA%2Frclone-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zekroTJA","download_url":"https://codeload.github.com/zekroTJA/rclone-backup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zekroTJA%2Frclone-backup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32371739,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","python","rclone","script"],"created_at":"2024-12-17T14:14:07.038Z","updated_at":"2026-04-28T08:06:13.283Z","avatar_url":"https://github.com/zekroTJA.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rclone Backup Script\n\nA very simple python script to backup important local directories using [rclone](https://rclone.org/).\n\n## Usage\n\nThe script works with simple CSV lists to define what to backup and what not.\n\n\u003e example.csv\n```\n/home/user/importantdata,**/exclude1/**\n\n# Upload photos and exclude raw files and\n# exclude files that are larger than 1 GiB\n/mnt/data/photos,**.ARW,**.CRW,max-size=1G\n```\n\nIn the first column, you specify the full path to the location to backup. The following columns define exclude filter patterns. [Here](https://rclone.org/filtering/) you can find detailed documentation how to specify filters. There are also some special flags like `max-size` which you can use to specify additional filters passed to the rclone command.\n\nYou also need to configure an rclone target for your backups. Simply use `rclone config` to use the setup assistent or edit the rcon config file. This can be found via the command `rclone config file` (with this handy command you can directly edit it: `vim $(rclone config file | tail -1)`). The following example shows a target configuration for Backblaze B2.\n\n```conf\n[backblaze-b2]\ntype = b2\naccount = *****\nkey = *****\n\n[backups]\ntype = alias\nremote = backblaze-b2:my-backups\n```\n\nThen, simply execute the script passing the list file as well as the rcon target.\n\n```\n./backups/main.py -l example.csv -t backups\n```\n\nThere are also other useful command line flags. Simply use the `--help` flag to get more info.\n\n```\n❯ ./backup/main.py --help\nusage: main.py [-h] -l LIST -t TARGET [--dry] [--limit LIMIT] [--mode {sync,copy}] [--no-colors]\n\noptions:\n  -h, --help            show this help message and exit\n  -l LIST, --list LIST  The list of backup resources.\n  -t TARGET, --target TARGET\n                        The rclone target config.\n  --dry                 Only print files to be backed up without transferring them.\n  --limit LIMIT         Bandwidth limit.\n  --mode {sync,copy}    The rclone replication mode to use.\n  --no-colors           Supress colorful output\n```\n\n## Docker Image\n\nYou can also use the provided Docker image to do automated backups of your servers, for example.\n\n\nTherefore, you need to bind the Rclone config as well as the backup list and the corresponding directories which should be backed up into the container.\n\n```\ndocker run \\\n  --rm \\\n  -v $HOME/rclone.conf:/root/.config/rclone/rclone.conf:ro \\\n  -v $HOME/list.csv:/app/list.csv:ro \\\n  -v $HOME/myfiles:/backup/myfiles:ro \\\n  ghcr.io/zekrotja/rclone-backup -l list.csv -t backups\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzekrotja%2Frclone-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzekrotja%2Frclone-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzekrotja%2Frclone-backup/lists"}