{"id":26930293,"url":"https://github.com/limitcool/rsbackup","last_synced_at":"2025-04-02T06:18:17.805Z","repository":{"id":241701694,"uuid":"807484939","full_name":"limitcool/rsbackup","owner":"limitcool","description":"rsbackup 是一个用 Rust 编写的跨平台文件备份工具，旨在简化备份流程。它支持 Windows、Linux 和 macOS，并且使用 GPL 协议进行开源。","archived":false,"fork":false,"pushed_at":"2024-06-11T14:10:10.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T11:03:32.231Z","etag":null,"topics":["aliyun-oss","backup","file","rust","tencent-cloud","tencent-cos","tool","webdav"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/rsbackup","language":"Rust","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/limitcool.png","metadata":{"files":{"readme":"README-en.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":"2024-05-29T07:36:03.000Z","updated_at":"2024-08-31T08:46:10.000Z","dependencies_parsed_at":"2024-05-29T19:06:43.013Z","dependency_job_id":"8e092fa1-1d67-4887-9422-a2907d6305d4","html_url":"https://github.com/limitcool/rsbackup","commit_stats":null,"previous_names":["limitcool/rsbackup"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitcool%2Frsbackup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitcool%2Frsbackup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitcool%2Frsbackup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limitcool%2Frsbackup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/limitcool","download_url":"https://codeload.github.com/limitcool/rsbackup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246763881,"owners_count":20829800,"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":["aliyun-oss","backup","file","rust","tencent-cloud","tencent-cos","tool","webdav"],"created_at":"2025-04-02T06:18:17.327Z","updated_at":"2025-04-02T06:18:17.798Z","avatar_url":"https://github.com/limitcool.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"English| [简体中文](README.md)\n\n# rsbackup\n\n[![crates.io](https://img.shields.io/crates/v/rsbackup.svg)](https://crates.io/crates/rsbackup)\n[![Docs](https://docs.rs/rsbackup/badge.svg)](https://docs.rs/rsbackup)\n![MSRV](https://img.shields.io/badge/rustc-1.78.0+-ab6000.svg)\n\nrsbackup is a cross-platform file backup tool written in Rust, designed to simplify the backup process. It supports Windows, Linux, and macOS, and is open source under the GPL license.\n\n## Installation\n\nYou can install rsbackup from crates.io using Cargo:\n\n```bash\ncargo install rsbackup\n```\n\nAlternatively, you can download the source code of rsbackup from [GitHub](https://github.com/limitcool/rsbackup) and compile and install it using Cargo:\n\n```bash\ngit clone https://github.com/limitcool/rsbackup.git\ncd rsbackup\ncargo build --release\ncargo install --path .\n```\n\nOr, you can directly download the precompiled binary of rsbackup from [GitHub](https://github.com/limitcool/rsbackup) and place it in your system's PATH:\n\n```bash\n# Linux\nwget https://github.com/limitcool/rsbackup/releases/download/v0.1.0/rsbackup-v0.1.0-x86_64-linux.tar.xz\nxz -d rsbackup-v0.1.0-x86_64-linux.tar.xz\ntar -xvf rsbackup-v0.1.0-x86_64-linux.tar\nchmod +x rsbackup-linux-x86_64\nmv rsbackup-linux-x86_64 /usr/local/bin/rsbackup\n```\n\n## Usage\n\n1. **Modify Configuration File**: Modify the `config.yaml` file to specify the backup directory, destination, and exclude rules.\n\n   ```yaml\n   CheckFrequency: 86400\n   BackupItems:\n   - BackupDirectory: ''\n     BackupDestination: ''\n     Exclude: []\n     PreBackupCommand: \"\"\n     AfterBackupCommand: \"\"\n   ```\n\n   You can add more backup items as needed.\n\n2. **Run Backup**: Execute the following command in the terminal to start the backup process:\n\n   ```bash\n   rsbackup\n   ```\n\n   rsbackup will read the configuration file and begin the backup operation.\n\n## Roadmap\n\nrsbackup currently only supports backing up files to local directories. The following destinations are planned for future versions:\n\n- Alibaba Cloud Drive\n- Tencent Cloud COS\n- Alibaba Cloud OSS\n- WebDAV\n\nThese features will be released in subsequent versions. Contributions from developers are welcome, and you can participate in the project's development and improvement by submitting Pull Requests.\n\n## License\n\nrsbackup is released under the GPL (GNU General Public License). You can view the source code and contribute on [GitHub](https://github.com/limitcool/rsbackup).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimitcool%2Frsbackup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flimitcool%2Frsbackup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimitcool%2Frsbackup/lists"}