Apache License 2.0

项目介绍

rustic-rs/rustic 是一个托管在 GitHub 上的开源项目,主要使用 Rust 编写,采用 Apache License 2.0 许可证,目前获得 3.4k 个 Star、152 次 Fork。

仓库全名
rustic-rs/rustic
开源许可证
Apache License 2.0
Star 数
3.4k
Fork 数
152
未关闭 Issue
239

README 摘要

fast, encrypted, and deduplicated backups About rustic is a backup tool that provides fast, encrypted, deduplicated backups. It reads and writes the [restic][1] repo format described in the [design document][2] and can be used as a restic replacement in most cases. It is implemented in Rust, a performant, memory-efficient, and reliable cross-platform systems programming language. Hence rustic supports all major…

完整内容见 GitHub 原始 README 或本页 。

常见问题

rustic 用什么语言开发?

主要使用 Rust 编写,采用 Apache License 2.0 许可证,目前有 3.4k 个 Star。

rustic 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 rustic 的源码?

可以直接克隆仓库:git clone https://github.com/rustic-rs/rustic.git,默认分支为 main;安装与运行步骤见仓库 README。

rustic 最近还在维护吗?

仓库最近一次更新为 3 天前,当前有 239 个未关闭 Issue;Star 数为 3.4k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

rustic - fast, encrypted, and deduplicated backups powered by Rust

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
3703
价值分
2064
活跃状态
活跃

语言占比

Dockerfile
Go Template
Just
Rust
Shell

Release

README

fast, encrypted, and deduplicated backups

About

rustic is a backup tool that provides fast, encrypted, deduplicated backups.

It reads and writes the restic repo format described in the design document and can be used as a restic replacement in most cases.

It is implemented in Rust, a performant, memory-efficient, and reliable cross-platform systems programming language.

Hence rustic supports all major operating systems (Linux, MacOs, *BSD, Windows).

Should I use rustic or restic?

The restic project is older and more mature than rustic, slow with new developments and conservative with changes. rustic was created by a heavy restic contributor who was at some point annoyed about that slow speed. So, rustic is of course very much inspired by restic but is a complete new implementation aiming to be the better restic with respect to features and development speed.

Whether you should use rustic or restic depends on your use case. The best advise is to test both and see which one better fits to your requirements. We have collected some differences between rustic and restic here.

The good news is: You don’t have to decide whether to use restic or rustic unless you need some features which are only present in one project. Both projects implement the identical repository format and you can access every repository with restic as well as with rustic. For example, you can use restic to verify your backups made with rustic and vice versa.

rustic Libraries

The rustic project is split into multiple crates:

Features

  • Backup data is deduplicated and encrypted.
  • Backup storage can be local or cloud storages, including cold storages.
  • Backup source can be local or cloud storage.
  • Allows multiple clients to concurrently access a backup repository using lock-free operations.
  • Backups by default are append-only on the repository.
  • The operations are robustly designed and can be safely aborted and efficiently resumed.
  • Snapshot organization is possible by hostname, backup paths, label and tags. Also a rich set of metadata is saved with each snapshot.
  • Retention policies and cleaning of old backups can be highly customized.
  • Follow-up backups only process changed files, but still create a complete backup snapshot.
  • In-place restore only modifies files which are changed.
  • Uses config files for easy configuration of all every-day commands, see example config files.

Contact

You can ask questions in the Discussions or have a look at the FAQ.

Contact Where?
Issue Tracker GitHub Issues
Discord Discord
Discussions GitHub Discussions

Getting started

Please check our documentation for more information on how to get started.

Installation

From binaries

cargo-binstall
cargo binstall rustic-rs
Windows
Scoop
scoop install rustic
macOS
Homebrew
brew install rustic

Or you can check out the releases.

Nightly binaries are available here.

Docker

docker pull ghcr.io/rustic-rs/rustic

From source

Beware: This installs the latest development version, which might be unstable.

cargo install --git https://github.com/rustic-rs/rustic.git rustic-rs

crates.io

cargo install --locked rustic-rs

Contributing

Tried rustic and not satisfied? Don’t just walk away! You can help:

Do you know how to code or got an idea for an improvement? Don’t keep it to yourself!

Please make sure, that you read the contribution guide.

Minimum Rust version policy

This crate’s minimum supported rustc version is 1.91.0.

The current policy is that the minimum Rust version required to use this crate can be increased in minor version updates. For example, if crate 1.0 requires Rust 1.20.0, then crate 1.0.z for all values of z will also require Rust 1.20.0 or newer. However, crate 1.y for y > 0 may require a newer minimum version of Rust.

In general, this crate will be conservative with respect to the minimum supported version of Rust.

License

Licensed under either of:

at your option.

评论

暂无评论