feat: rewrite indexing to local storage, improve UX
This commit is contained in:
1 parent
d315e73561
commit
cc6f9047f1
12 files changed
+600
-335
No files matched your search
@@ -12,17 +12,14 @@ Early alpha. Works on my machines.
|
||||
|
||||
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.
|
||||
Also you will need [Rustic](https://github.com/rustic-rs/rustic) as a backup backend. v0.11.4 is fully compatible.
|
||||
|
||||
```bash
|
||||
apt update && apt install -y restic
|
||||
# or download rustic binary from https://github.com/rustic-rs/rustic/releases/tag/v0.11.3
|
||||
pacman -S rustic
|
||||
# or get the binary binary from https://github.com/rustic-rs/rustic/releases/tag/v0.11.4
|
||||
|
||||
# get using uv
|
||||
# and install lohup using uv
|
||||
uv tool install git+https://github.com/kam1sh/lohup
|
||||
# or by pip
|
||||
pip install
|
||||
```
|
||||
|
||||
## Usage
|
||||
@@ -41,8 +38,8 @@ lohup snapshots --repo cloud
|
||||
## Core features
|
||||
|
||||
* Configuration in TOML
|
||||
* Restic/Rustic as a backup driver
|
||||
* Backup hooks, such as create/remove btrfs filesystem snapshot
|
||||
* Local database for snapshot information
|
||||
* Backup hooks, such as create/remove btrfs snapshot before backup
|
||||
* Environment variables
|
||||
|
||||
### Features in TODO
|
||||
@@ -53,6 +50,7 @@ lohup snapshots --repo cloud
|
||||
* Metrics and OpenTelemetry support
|
||||
* Binary releases, win+linux amd64 along with Python wheel
|
||||
* Include files in profiles with `paths-from`
|
||||
* Pluggable engines
|
||||
|
||||
## Development
|
||||
|
||||
@@ -66,4 +64,4 @@ uv run pytest --tb=short
|
||||
uv run pyinstaller -F lohup-cli.spec
|
||||
```
|
||||
|
||||
[1] in my native language loh (лох) means "dummy" or "loser". So, yeah, backups are for losers.
|
||||
[1] in Russian language loh (лох) means "dummy" or "loser". So, yeah, backups are for losers.
|
||||
Reference in new issue
Block a user