Skip to content

borgmatic howto

This is for mnemonic purposes only.

Lists all backups you can restore from

borgmatic rlist

List all backups you can restore from (even when the current hostname differs from the backup's hostname)

borgmatic rlist --match-archives "*"

list contents of a bacukp for a specific archive for a specific repo in mnt/source/grafana.

borgmatic list --match-archives "*" --repo backupuser@nasofden2 --archive cntr1-2025-08-14T02:45:01.058077 --path mnt/source/grafana

Extract content from backup

borgmatic extract   --repository backupuser@nasofden2   --archive cntr1-2025-08-14T02:45:01.058077   --path mnt/source/grafana/jochen/grafana.db   --destination /tmp/restore

Mount specific archive

borgmatic -c config.yaml mount --mount-point /mnt/tmp --archive filer0-2025-09-12T02:16:01.411669