Repository navigation
v0.30.0-rc.2
Pre-releaseSecond release candidate for 0.30.0. Do not use it on production repositories yet. vykar upgrade is one-way, so test on copies or on throwaway repositories. For the full 0.30.0 changes (format v6, lock-free backups, breaking changes from 0.24), see the rc.1 notes.
rc.2 focuses on memory use during backups, a new default compression mode, stricter config validation and a round of fixes from simulator and fuzz campaigns. No repository format change since rc.1.
Changes since rc.1 that need attention
- Default compression is now
auto(waslz4).autocompresses with zstd atzstd_level(default 3) and stores chunks raw when a sample looks incompressible. Existing repositories become mixed after the next backup; nothing is recompressed. Setcompression.algorithm: lz4to keep the old behaviour. (6f2bf51) - Stricter config at load. Refused now: unknown keys in a source entry or
command_dumpsentry (e.g. a typo likeexcludes:), emptypathselements, an unparseableschedule.every(even withenabled: false), and an invalid or negativeretention.keep_withinat any level.compression.zstd_levelis range-checked. (73cf7cb, 1885372) VYKAR_PASSPHRASEis removed from the environment at startup. It is no longer available to${VAR}expansion in the config, nor inherited by command dumps. (04d4062)check --repairexits non-zero when a repair step fails, and when an unconfirmed data-losing repair is declined without a terminal (use--yes). (adb58b2)- Backup journal version 3. An rc.1 binary cannot resume a backup that rc.2 interrupted; it refuses the journal by version and uploads that data again. rc.2 resumes rc.1 journals. (5f4bf8d)
Performance
Backup memory was cut across the board. On a 1.5M-file corpus, peak RSS of a no-change incremental went from roughly 550 to 300 MiB and of a first backup from roughly 660 to 490 MiB.
- Journal only pack IDs and read chunk lists back from pack trailers: a first backup sends ~13 MiB of journal instead of ~830 MiB, 10% less CPU (5f4bf8d)
- Wait for the file cache before applying index segments, decrypt them in place: incremental peak −28% (7d6436f)
- Dense sorted file-cache table (6a195b4); re-read files overwrite their loaded cache entries (ceaf83f)
- Compact in-memory index records: pack slots and 32-bit offsets, reuse recorded as bits, one record per new chunk (d02207c, 078e508, aea6220, b862d88)
- Commit and segment sync without per-chunk sets or extra decoded copies; commit-only state freed before post-commit work (8535a19, 86776ae, 8762d80, 7aeb10c, fa0c818)
- musl builds: mimalloc returns freed memory at once and THP is off for the vykar process, about −25% peak RSS (3e0897e)
- Chunks that a codec does not shrink are stored raw (1885372)
Fixes
- compact: on a multi-writer repository, create a fence head before deleting orphan packs when the sweep was skipped, so a late head from a failed backup cannot name deleted packs (found by the simulator) (7a05a4d)
- server: listings of unreadable directories fail with 500 instead of returning a short listing (f3ff8f0)
- backup: a cancel now stops a running command dump instead of waiting for it to end (8fb3855)
- backup: out-of-range Unix mtimes saturate instead of overflowing;
snapshot list --longshows pre-1970 mtimes (764d45b) - backup: warn when session cleanup fails after a successful commit (884be99); fail on a soft error outside a skip event (02060b2)
- prune/delete
--dry-runregister no session and need no write access (78d06ee); a keep rule of 0 no longer labels snapshots (02060b2) - S3: retry single-request operations on retryable error codes such as
400 RequestTimeout(f6da342); refuse listed keys outside the root (ac9b9ae) - REST: show the server's error text and drop the doubled prefix (b816825)
- CLI:
snapshot diffaccepts-R; no compact hint underprune --compact; plain-HTTP REST warning printed once (cbbaeb3); the progress line is cleared when a backup ends (3bc6ddd); a failed source is reported once (d744bf3, 8d3c5e8) mount --snapshot latestworks (462515b);infoskips a snapshot deleted while it runs (5c7dd0e)
GUI
- Offer to upgrade an old-format repository (2deb210)
- Refresh only the affected repository after delete, prune, a single-repo backup or Clear Sessions (745ccb4)
- Show the real restore error and report a failed contents load (bc76bc3)
Testing and infrastructure
- Simulator models repeated runs on one machine and draws random cases by deployment shape; the campaign fails on product-thread panics and runs after pushes to main (32e4039, 40181fd, 6a4f1fc, 93f0aed, ef59474)
- Fuzzing runs after pushes to main and every 5 days, and a finding fails CI until fixed (4de0eb5, 87cb2bf)
- Internal cleanup: shared code paths across storage backends, walk, sessions, restore and check; dead code removed (843ac99, df0c4ee, 57ac419, 1ed40a6, 36b18c3, f6c113d, 24803f7, 38a6543)
Installing the release candidate
install.sh installs only the latest stable release (0.24.0), so download rc.2 from the assets below. Docker images: ghcr.io/borgbase/vykar:0.30.0-rc.2 and :0.30.0-rc.2-apprise; :latest stays at 0.24.0. See the quickstart guide for other install options.
Downloads
| Platform | Artifact |
|---|---|
| Linux x86_64 (gnu) | vykar-v0.30.0-rc.2-x86_64-unknown-linux-gnu.tar.gz |
| Linux x86_64 (musl) | vykar-v0.30.0-rc.2-x86_64-unknown-linux-musl.tar.gz |
| Linux aarch64 (gnu) | vykar-v0.30.0-rc.2-aarch64-unknown-linux-gnu.tar.gz |
| Linux aarch64 (musl) | vykar-v0.30.0-rc.2-aarch64-unknown-linux-musl.tar.gz |
| macOS aarch64 | vykar-v0.30.0-rc.2-aarch64-apple-darwin.tar.gz |
| Windows x86_64 | vykar-v0.30.0-rc.2-x86_64-pc-windows-msvc.zip |
| GUI (AppImage) | vykar-gui-v0.30.0-rc.2-x86_64.AppImage |
SHA256 digests are shown next to each asset on this release page.