Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebastianspeitel/borrg
Borg wrapper written in rust
https://github.com/sebastianspeitel/borrg
Last synced: 1 day ago
JSON representation
Borg wrapper written in rust
- Host: GitHub
- URL: https://github.com/sebastianspeitel/borrg
- Owner: SebastianSpeitel
- License: mit
- Created: 2022-04-23T21:01:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-09T14:35:55.000Z (11 months ago)
- Last Synced: 2023-12-09T15:28:23.034Z (11 months ago)
- Language: Rust
- Size: 61.5 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Borrg
[![Rust](https://github.com/SebastianSpeitel/borrg/actions/workflows/main.yml/badge.svg)](https://github.com/SebastianSpeitel/borrg/actions/workflows/main.yml)
A borg wrapper written in rust
## Installation
```bash
cargo install --git https://github.com/SebastianSpeitel/borrg
```## Usage
```bash
borrg --help
```## Configuration
`~/.config/borg/borrg.toml`
```toml
[template.default]
# Default values inherited by each backup
compression = { algorithm = "zstd", level = 19, auto = true }
# Also valid: compression = "zstd"
progress = true
stats = true[[backup]]
repository = "remote:/path/to/backup"
passcommand = "sh -c 'pass backup | head -n1'"
path = "/path/to/backup" # Defaults to "~"[[backup]]
repository = "/path/to/repo"
passphrase = "..."
compression = "none"
```