added wrestic removal

This commit is contained in:
2024-03-14 11:35:20 -05:00
parent e49bb4c8ac
commit cae576ebbc
3 changed files with 12 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
#!/bin/bash
rm -r /home/akanealw/.config/wrestic > /dev/null 2>&1
rm -r /root/.config/wrestic > /dev/null 2>&1
rm -r /usr/local/bin/wrestic > /dev/null 2>&1
mkdir -p /root/scripts/restic > /dev/null 2>&1
rm /root/scripts/restic/* > /dev/null 2>&1
wget -q http://192.168.1.50/scripts/restic/restic-local/restic-local-backup.sh -P /root/scripts/restic

View File

@@ -1,5 +1,9 @@
#!/bin/bash
rm -r /home/akanealw/.config/wrestic > /dev/null 2>&1
rm -r /root/.config/wrestic > /dev/null 2>&1
rm -r /usr/local/bin/wrestic > /dev/null 2>&1
mkdir -p /root/scripts/restic > /dev/null 2>&1
rm /root/scripts/restic/* > /dev/null 2>&1
wget -q http://192.168.1.50/scripts/restic/restic-lxc/restic-lxc-backup.sh -P /root/scripts/restic

View File

@@ -1,5 +1,9 @@
#!/bin/bash
rm -r /home/akanealw/.config/wrestic > /dev/null 2>&1
rm -r /root/.config/wrestic > /dev/null 2>&1
rm -r /usr/local/bin/wrestic > /dev/null 2>&1
mkdir -p /root/scripts/restic > /dev/null 2>&1
rm /root/scripts/restic/* > /dev/null 2>&1
wget -q http://192.168.1.50/scripts/restic/restic-sftp/restic-sftp-backup.sh -P /root/scripts/restic