Skip to content

Instantly share code, notes, and snippets.

@BirkhoffLee
Created November 21, 2019 06:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save BirkhoffLee/84fcae9dc0b2095a3a87eedfbedd4ce8 to your computer and use it in GitHub Desktop.
Save BirkhoffLee/84fcae9dc0b2095a3a87eedfbedd4ce8 to your computer and use it in GitHub Desktop.
Install Borg & Borgmatic on CentOS 8
# Tested on a Vultr CentOS 8 server. Run with root!
yum install -y openssl-devel gcc-c++ python3-devel libacl-devel
dnf install -y redhat-rpm-config
pip3 install virtualenv
virtualenv --python=python3 borg-env
source borg-env/bin/activate
pip3 install borgbackup
# Borgmatic
pip3 install --user --upgrade borgmatic
echo 'export PATH="$PATH:~/.local/bin"' >> ~/.profile
echo 'export PATH="$PATH:~/.local/bin"' >> ~/.bashrc
# Test
export PATH="$PATH:~/.local/bin"
borg
borgmatic
@Pahom-ka
Copy link

pip3 install --upgrade borgmatic

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