{"id":22154614,"url":"https://github.com/ericflo/rclone-backup","last_synced_at":"2025-03-24T14:18:38.370Z","repository":{"id":66499796,"uuid":"280551377","full_name":"ericflo/rclone-backup","owner":"ericflo","description":"This is a utility that uses rclone to periodically back up a folder on disk to a cloud storage provider.","archived":false,"fork":false,"pushed_at":"2020-07-18T01:52:51.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-15T01:15:05.635Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ericflo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-07-18T00:31:54.000Z","updated_at":"2024-06-19T13:17:00.057Z","dependencies_parsed_at":"2023-03-01T23:45:11.197Z","dependency_job_id":null,"html_url":"https://github.com/ericflo/rclone-backup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericflo%2Frclone-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericflo%2Frclone-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericflo%2Frclone-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericflo%2Frclone-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericflo","download_url":"https://codeload.github.com/ericflo/rclone-backup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245284730,"owners_count":20590307,"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":[],"created_at":"2024-12-02T01:49:55.677Z","updated_at":"2025-03-24T14:18:38.350Z","avatar_url":"https://github.com/ericflo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rclone-backup\r\n\r\nThis is a utility that uses rclone to periodically back up a folder on disk to\r\na cloud storage provider.\r\n\r\n## Usage\r\n\r\nInvoke the binary and pass in arguments that specify which folder to back up,\r\nand how many copies should be stored:\r\n\r\n```\r\n# rclone-backup --source /usr/local/my-app/data --days 7\r\n```\r\n\r\n## Environment variables\r\n\r\nThe most important environment variable to set is `BACKUP_TARGET`, which\r\ndetermines the target directory on the cloud storage provider. Set it to\r\nsomething like `bucketname/projectname`, for example:\r\n\r\n```\r\nexport BACKUP_TARGET=\"rclone-backups-maxint/siacdn-pro\"\r\n```\r\n\r\nIn order for rclone to know how to connect to your cloud storage provider,\r\nyou'll need to set up environment variables to configure a `backup` remote. \r\nHere's how that would look for B2:\r\n\r\n```\r\nexport RCLONE_CONFIG_BACKUP_TYPE=b2\r\nexport RCLONE_CONFIG_BACKUP_ACCOUNT=XXX\r\nexport RCLONE_CONFIG_BACKUP_KEY=XXX\r\n```\r\n\r\nHere's how it might look for S3:\r\n\r\n```\r\nexport RCLONE_CONFIG_BACKUP_TYPE=s3\r\nexport RCLONE_CONFIG_BACKUP_ACCESS_KEY_ID=XXX\r\nexport RCLONE_CONFIG_BACKUP_SECRET_ACCESS_KEY=XXX\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericflo%2Frclone-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericflo%2Frclone-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericflo%2Frclone-backup/lists"}