github borgbase/vykar v0.24.0

one hour ago

This release makes SFTP log in through an SSH agent, and cuts round trips and transfer time on network backends: index opens on vykar-server are answered from the local cache when unchanged, SFTP uploads keep more data in flight, and commands that load whole snapshots read in parallel.

⚠️ Behavior change

  • Auxiliary digests moved from BLAKE2b to BLAKE3. Repository format and wire format are unchanged; chunk and pack IDs still follow the repository version. Each client pays a one-time cost per repository on upgrade (0f69a32):
    • the first open re-pins the repository identity (old pin.* files are ignored, so a contradicting old pin is not caught on that open)
    • the next check is a full one
    • the next backup re-reads and re-hashes every file (file cache rebuilt)
    • local index caches are rebuilt once
  • Commit verification needs pack sizes. A storage server that omits sizes (no Content-Length on HEAD, no size attribute on SFTP stat) now fails the commit instead of passing it on existence alone (80bb04a)

Features

  • SFTP: authenticate through an SSH agent, so passphrase-protected keys and keys held in 1Password, Bitwarden or Strongbox work. Without sftp_key, vykar tries the agent first, then the key files in ~/.ssh. A .pub file as sftp_key selects one agent key; the new sftp_agent option sets the agent socket (defaults to SSH_AUTH_SOCK). Thanks @saulius (#213)

Performance

  • vykar-server: index downloads use a conditional GET; an unchanged index is answered with 304 and loaded from the local blob cache, on every open and at backup commit. Needs vykar-server 0.24.0 (ae7fe94, 0f69a32)
  • SFTP: 64 pipelined writes per upload (was 16), keeping 2 MiB in flight per connection; write timeout scaled to match (5972e8b)
  • Commands that load a whole item stream (prune, delete, check, list, diff, find, mount, and backup's parent-snapshot load) fetch range reads in parallel at the backend's request width (afab3ae)
  • Compact on vykar-server: one pack listing and one batch delete per repack batch instead of 256 shard listings and one DELETE per pack (1a751d1)
  • Compact sizes packs from the listing, saving one HEAD/stat per pack on S3, SFTP and vykar-server ≥ 0.22; journal recovery tries one batch size lookup first (80bb04a, 55bca3b)

Internal

  • Backends report a BackendProfile (local, staged put, request and transfer width) instead of core sniffing the repository URL (7fcd0c9, c05e6f9)
  • Packs upload through put_pack, which signals buffer release; REST/S3 put_owned returns to the plain put contract (391250c)
  • write_session split into upload queue, journal and recovery; backup phases extracted from run_against_repo; shared part-upload and bounded fan-out helpers (f1168d1, 9d05eb9, 654318f, be3afbd)
  • A corrupt index with an overflowing pack offset is rejected as InvalidFormat instead of panicking (be3afbd)
  • Docs: backend bandwidth benchmarks (91fff19)

Updating

To update to the latest version, run:

curl -fsSL https://vykar.borgbase.com/install.sh | sh

See the quickstart guide for other install options.

Downloads

Platform Artifact
Linux x86_64 (gnu) vykar-v0.24.0-x86_64-unknown-linux-gnu.tar.gz
Linux x86_64 (musl) vykar-v0.24.0-x86_64-unknown-linux-musl.tar.gz
Linux aarch64 (gnu) vykar-v0.24.0-aarch64-unknown-linux-gnu.tar.gz
Linux aarch64 (musl) vykar-v0.24.0-aarch64-unknown-linux-musl.tar.gz
macOS aarch64 vykar-v0.24.0-aarch64-apple-darwin.tar.gz
Windows x86_64 vykar-v0.24.0-x86_64-pc-windows-msvc.zip
GUI (AppImage) vykar-gui-v0.24.0-x86_64.AppImage

SHA256 digests are shown next to each asset on this release page.

Don't miss a new vykar release

NewReleases is sending notifications on new releases.