{{tag>backup borg}} ====== Borg backup commands ====== ===== Init repo ===== On (Synology 415) NAS share : BORG_REPO=ssh://user@syn415.local:22/~/borg_backup && borg init --encryption=keyfile $BORG_REPO ===== List backups ===== BORG_REPO="/path/to/backup" borg list ===== Mount backup to temporary directory ===== backup_name is the first column from list above BORG_REPO="/path/to/backup::backup_name" && mkdir /tmp/borg && borg mount $BORG_REPO /tmp/borg Unmount with: borg umount /tmp/borg ====== Tested on ====== * Xubuntu 20.04 ====== See also ====== * [[Run borgbackup each day]] * [[:kde_neon_setup#borg_backup|borg backup script]] ====== References ====== * https://borgbackup.readthedocs.io/en/stable/