added wrestic files for testing

This commit is contained in:
2023-10-10 12:40:24 -05:00
parent 68254409ae
commit c13c697dd8

15
debian/debian-configure-wrestic.sh vendored Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
if [ "$EUID" -ne 0 ]
then
echo "Please run as root"
exit
fi
mkdir /home/akanealw/.config/wrestic
mkdir /home/akanealw/restic/restore
chown -R akanealw:akanealw /home/akanealw/.config
chown -R akanealw:akanealw /home/akanealw/restic
mkdir /root/restic/restore
wget -O /usr/sbin/local/wrestic
wget -O /home/akanealw/.config/wrestic/wrestic.toml