Skip to content

Instantly share code, notes, and snippets.

@BoxedBrain
Last active July 18, 2022 08:37
Show Gist options
  • Save BoxedBrain/afdfcd005dcda418a1bcf669db748290 to your computer and use it in GitHub Desktop.
Save BoxedBrain/afdfcd005dcda418a1bcf669db748290 to your computer and use it in GitHub Desktop.
Install Borg-Backup & Borgmatic

Install Borg-Backup & Borgmatic

update packages

sudo apt update

Borg installation

go to tmp folder

cd /tmp/

download borg-binary to tmp folder

wget -O borg https://github.com/borgbackup/borg/releases/latest/download/borg-linux64

add execute permissions

sudo chmod +x borg

move borg-binary to system path

sudo mv borg /usr/local/bin/borg

test borg

borg --version

Borgmatic installation

install python3 and pip3

sudo apt install python3 python3-pip

install borgmatic with pip3

sudo pip3 install borgmatic
mkdir /etc/borgmatic

test borgmatic

borgmatic --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment