Install
Quick install
Section titled “Quick install”curl -fsSL https://vykar.borgbase.com/install.sh | shOr download the latest release for your platform from the releases page.
Pre-built binaries
Section titled “Pre-built binaries”Extract the archive and place the vykar binary somewhere on your PATH:
# Example for Linux/macOStar xzf vykar-*.tar.gzsudo cp vykar /usr/local/bin/For Windows CLI releases:
Expand-Archive vykar-*.zip -DestinationPath .Move-Item .\vykar.exe "$env:USERPROFILE\bin\vykar.exe"Add your chosen directory (for example, %USERPROFILE%\bin) to PATH if needed.
The desktop app is packaged separately per platform — see Desktop GUI.
Docker
Section titled “Docker”Available as ghcr.io/borgbase/vykar on GitHub Container Registry. An apprise variant (ghcr.io/borgbase/vykar:latest-apprise) is also available with the Apprise CLI pre-installed for hook notifications.
Config file
Section titled “Config file”Create a vykar.yaml for Docker. Source paths must reference /data/... (the container mount point):
repositories: - url: s3://s3.us-east-1.amazonaws.com/my-bucket/backups region: us-east-1 access_key_id: "..." secret_access_key: "..."
sources: - /data/documents - /data/photos
encryption: passphrase: "change-me"
retention: keep_daily: 7 keep_weekly: 4
schedule: enabled: true every: "24h" on_startup: trueFor a local repository backend, use /repo as the repo path and mount a host directory there.
Run as daemon
Section titled “Run as daemon”docker run -d \ --name vykar-daemon \ --hostname my-server \ -v /path/to/vykar.yaml:/etc/vykar/config.yaml:ro \ -v /home/user/documents:/data/documents:ro \ -v /home/user/photos:/data/photos:ro \ -v vykar-cache:/cache \ ghcr.io/borgbase/vykarRun ad-hoc commands
Section titled “Run ad-hoc commands”With a new container (uses the entrypoint, no need to repeat vykar):
docker run --rm \ -v /path/to/vykar.yaml:/etc/vykar/config.yaml:ro \ -v vykar-cache:/cache \ ghcr.io/borgbase/vykar listOr exec into a running daemon container:
docker exec vykar-daemon vykar listDocker Compose
Section titled “Docker Compose”services: vykar: image: ghcr.io/borgbase/vykar:latest hostname: my-server restart: unless-stopped environment: - VYKAR_PASSPHRASE - TZ=UTC volumes: - ./vykar.yaml:/etc/vykar/config.yaml:ro - /home/user/documents:/data/documents:ro - vykar-cache:/cachevolumes: vykar-cache:Signals and status page
Section titled “Signals and status page”Reloading the config (SIGHUP), triggering a backup (SIGUSR1), and the read-only status page are covered in Schedule Backups → Docker.
- Use
-itwithdocker runfor interactive commands to get progress bar output (e.g.docker run --rm -it ...) - Set
--hostnameto a stable name — Docker assigns random hostnames that appear in snapshot metadata - Mount source directories under
/data/and reference them as/data/...in the config - For encryption, use
VYKAR_PASSPHRASEenv var or Docker secrets viapasscommand: "cat /run/secrets/vykar_passphrase" - Use a named volume for
/cacheto persist the snapshot cache across restarts - The
apprisevariant (ghcr.io/borgbase/vykar:latest-apprise) includes the Apprise CLI for sending notifications to 100+ services from hooks. See Notifications with Apprise. - The image includes
curl,jq, andbashfor use in hooks (e.g. monitoring webhooks, JSON payloads). For additional tools, extend the image:FROM ghcr.io/borgbase/vykarRUN apk add --no-cache sqlite - Available for
linux/amd64andlinux/arm64
Ansible
Section titled “Ansible”An official Ansible role is available for automated deployment on Linux servers:
ansible-galaxy role install borgbase.vykarThe vykar_config variable accepts your vykar configuration directly as a YAML dict — since both Ansible and vykar use YAML, the config maps one-to-one:
- hosts: myserver roles: - role: vykar vars: vykar_config: repositories: - url: "/backup/repo" encryption: passphrase: "mysuperduperpassword" sources: - "/home" - "/etc" schedule: enabled: true every: "24h"See the borgbase.vykar role for all available variables.
Build from source
Section titled “Build from source”Requires Rust 1.100 or later.
git clone https://github.com/borgbase/vykar.gitcd vykarcargo build --release -p vykar-cliThis builds only the command-line tool. A bare cargo build --release builds the whole workspace, including the desktop GUI, which needs extra development packages on Linux — see Desktop GUI. Use -p vykar-server for the REST server.
The binary is at target/release/vykar. Copy it to a directory on your PATH:
cp target/release/vykar /usr/local/bin/Verify installation
Section titled “Verify installation”vykar --versionNext: Configure and Initialize