added restic install
This commit is contained in:
4
debian/debian-configure-wrestic.sh
vendored
4
debian/debian-configure-wrestic.sh
vendored
@@ -6,6 +6,8 @@ if [ "$EUID" -ne 0 ]
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
apt update
|
||||||
|
apt-get install -y restic
|
||||||
mkdir -pv /home/akanealw/.config/wrestic
|
mkdir -pv /home/akanealw/.config/wrestic
|
||||||
mkdir -pv /home/akanealw/restic/restore
|
mkdir -pv /home/akanealw/restic/restore
|
||||||
mkdir /root/restic/restore
|
mkdir /root/restic/restore
|
||||||
@@ -13,4 +15,4 @@ wget -O /usr/local/bin/wrestic http://192.168.1.50/files/wrestic/wrestic
|
|||||||
wget -O /home/akanealw/.config/wrestic/wrestic.toml http://192.168.1.50/files/wrestic/wrestic.toml
|
wget -O /home/akanealw/.config/wrestic/wrestic.toml http://192.168.1.50/files/wrestic/wrestic.toml
|
||||||
chown -R akanealw:akanealw /home/akanealw/.config
|
chown -R akanealw:akanealw /home/akanealw/.config
|
||||||
chown -R akanealw:akanealw /home/akanealw/restic
|
chown -R akanealw:akanealw /home/akanealw/restic
|
||||||
chmod +x /usr/local/bin/wrestic
|
chmod +x /usr/local/bin/wrestic
|
||||||
|
|||||||
Reference in New Issue
Block a user