Borg Backup

Use Vorta to automate Borg backups.

Check Bitwarden for recovery phrase and borg_key.

If the external drive won't mount with error:

unknown error when mounting /dev/sda1 (uydisks-error-quark, 0)

Try running sudo ntfsfix /dev/sda1.

Create a new backup

borg init --encryption=repokey-blake2 /path/to/BorgRepo

  • create a strong passphrase
  • export borg key: borg key export /path/to/BorgRepo
  • Back up both the passphrase and key

Create the backup and enter passphrase to confirm

borg create --list /path/to/BorgRepo::BackupName ~/FolderToBackUp

RESTORE A BORG BACKUP

Create writeable directory

mkdir /home/user/MountBorgBackup

Mount repo

borg mount /path/to/BorgRepo /home/user/MountBorgBackup

Unmount repo

borg umount /home/user/MountBorgBackup