Create a starter config
vykar configOr write it to a specific path:
vykar config --dest ~/.config/vykar/config.yamlEncryption is enabled by default (mode: "auto"). During init, vykar benchmarks AES-256-GCM and ChaCha20-Poly1305, chooses one, and stores that concrete mode in the repository config. No config is needed unless you want to force a mode or disable encryption with mode: "none".
The passphrase is requested interactively at init time. You can also supply it via:
VYKAR_PASSPHRASEenvironment variablepasscommandin the config (e.g.passcommand: "pass show vykar")passphrasein the config
Set the repository URL and the directories to back up:
repositories:
- label: "main"
url: "/backup/repo"
sources:
- "/home/user/documents"
- "/home/user/photos"See Configuration for all available options.
vykar initThis creates the repository structure at the configured URL. For encrypted repositories, you will be prompted to enter a passphrase.
If your config has multiple repositories, use --repo / -R to initialize one entry at a time:
vykar init --repo mainConfirm the repository was created:
vykar infoRun a first backup and check results:
vykar backup
vykar list