Borgmatic
Topics: Borg backup
borgmatic is simple, configuration-driven backup software for servers and workstations.
Setup
Generate configuration:
sudo borgmatic config generate
borgmatic prior to version 1.7.15:
sudo generate-borgmatic-config
Edit configuration. The most important settings are:
source_directories:
- ...
repositories:
- user@host:backupname.borg
encryption_passphrase: "s0methings3cr3t"
ssh_command: ssh -p23 -i ~/.ssh/id_ed25519_borg
Validate the modified configuration:
sudo borgmatic config validate
Set up an SSH key:
ssh-keygen -f ~/.ssh/id_ed25519_borg
Install it on storagebox (from workstation):
echo "public_key" | ssh -p23 storagebox install-ssh-key
Initialize the repo:
sudo borgmatic init --encryption repokey-aes-ocb
Do a test backup:
sudo borgmatic create --verbosity 1 --list --stats
Bookmarks
- borgmatic website
- Restore wi, th Borgmatic