Skip to content

Instantly share code, notes, and snippets.

Last active February 21, 2019 08:38
What would you like to do?
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
# Official binaries:
# ARM binaries:
wget -O /usr/bin/borg
chmod a+x /usr/bin/borg
apt install -y python3-pip
pip3 install borgmatic
borg --version
echo "borgmatic" $(borgmatic --version)
chmod go-w $HOME
chmod 700 $HOME/.ssh
chmod 644 $HOME/.ssh/authorized_keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment