Initialize and Set Up a Repository
Generate a configuration file
Create a starter config in the current directory:
vger config
Or write it to a specific path:
vger config --dest ~/.config/vger/config.yaml
Encryption
Encryption is enabled by default (mode: "auto"). During init, vger 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:
VGER_PASSPHRASEenvironment variablepasscommandin the config (e.g.passcommand: "pass show vger")
Configure repositories and sources
Set the repository URL and the directories to back up:
repositories:
- url: "/backup/repo"
label: "main"
sources:
- "/home/user/documents"
- "/home/user/photos"
See Configuration for all available options.
Initialize the repository
vger init
This creates the repository structure at the configured URL. For encrypted repositories, you will be prompted to enter a passphrase.
Validate
Confirm the repository was created:
vger info
Run a first backup and check results:
vger backup
vger list