You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
434 B
11 lines
434 B
#!/usr/bin/env bash
|
|
|
|
sudo apt install python3 python3-dev python3-setuptools python3-wheel python3-pip libssl-dev openssl libacl1-dev libacl1 build-essential libfuse-dev fuse pkg-config ssh
|
|
sudo pip3 install borgbackup[fuse]
|
|
mkdir /tank/borg/${HOSTNAME}
|
|
cd /tank/borg
|
|
borg --verbose init --encryption=none $HOSTNAME
|
|
borg --verbose --progress create --stats --comment "Initial backup" /tank/borg/$HOSTNAME/::firstbackup /home/$USER
|
|
|
|
|
|
|
|
|