Skip to content

Instantly share code, notes, and snippets.

@Voronenko
Forked from BoxedBrain/borg-borgmatic.markdown
Created July 18, 2022 08:37
Show Gist options
  • Save Voronenko/2460ed641c3f2e91a663d6237f8e9571 to your computer and use it in GitHub Desktop.
Save Voronenko/2460ed641c3f2e91a663d6237f8e9571 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