feat: rewrite snapshot command output, update README

This commit is contained in:
Igor Ovsyannikov
2026-08-07 20:29:30 +03:00
parent 2c6000d56e
commit 4e632b87df
13 changed files with 295 additions and 147 deletions
+12 -4
View File
@@ -2,7 +2,7 @@
(_loh-up - backup for lohs[1]_)
Lohup - backups done dummy.
Lohup - backups done silly.
## Development status
@@ -10,11 +10,19 @@ Early alpha. Works on my machines.
## Installation
[Restic](https://restic.net) and [uv](https://docs.astral.sh/uv/) for Python required. Or just Python 3.13 and restic.
Python 3.14 is required. You can get it using [uv](https://github.com/astral-sh/uv).
Also you will need one of backup backends.
[Restic](https://github.com/restic/restic) and [Rustic](https://github.com/rustic-rs/rustic) are supported.
```bash
apt update && apt install -y restic
# or download rustic binary from https://github.com/rustic-rs/rustic/releases/tag/v0.11.3
# get using uv
uv tool install git+https://github.com/kam1sh/lohup
# or by pip
pip install
```
## Usage
@@ -33,7 +41,7 @@ lohup snapshots --repo cloud
## Core features
* Configuration in TOML
* Restic as a backup driver
* Restic/Rustic as a backup driver
* Backup hooks, such as create/remove btrfs filesystem snapshot
* Environment variables
@@ -58,4 +66,4 @@ uv run pytest --tb=short
uv run pyinstaller -F lohup-cli.spec
```
[1] in my native language loh (лох) means "dummy" or "looser"
[1] in my native language loh (лох) means "dummy" or "loser". So, yeah, backups are for losers.