updated urls
This commit is contained in:
@@ -8,12 +8,12 @@ rm /root/scripts/wrestic-backup-to-truenas.sh > /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
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-local/export-etc.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-local/export-home-akanealw.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-local/export-opt.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-local/export-root.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-local/restic-local-init.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-local/restic-local-backup.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-local/export-etc.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-local/export-home-akanealw.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-local/export-opt.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-local/export-root.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-local/restic-local-init.sh -P /root/scripts/restic
|
||||
|
||||
chmod +x /root/scripts/restic/*
|
||||
sed -i "s/changemepls/$(cat /etc/hostname | tr '[:upper:]' '[:lower:]')/g" /root/scripts/restic/*
|
||||
|
||||
@@ -8,11 +8,11 @@ rm /root/scripts/wrestic-backup-to-truenas.sh > /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
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-lxc/export-etc.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-lxc/export-home-akanealw.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-lxc/export-opt.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-lxc/export-root.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-lxc/restic-lxc-init.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-lxc/restic-lxc-backup.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-lxc/export-etc.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-lxc/export-home-akanealw.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-lxc/export-opt.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-lxc/export-root.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-lxc/restic-lxc-init.sh -P /root/scripts/restic
|
||||
|
||||
chmod +x /root/scripts/restic/*
|
||||
|
||||
@@ -4,12 +4,12 @@ mkdir -p /root/scripts/restic > /dev/null 2>&1
|
||||
mkdir -p /root/scripts/restic/older-scripts > /dev/null 2>&1
|
||||
mv /root/scripts/restic/export*.sh /root/scripts/restic/older-scripts/ > /dev/null 2>&1
|
||||
mv /root/scripts/restic/restic*.sh /root/scripts/restic/older-scripts/ > /dev/null 2>&1
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-rest-server/restic-rest-server-backup.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-rest-server/export-etc.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-rest-server/export-home.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-rest-server/export-opt.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-rest-server/export-root.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-rest-server/restic-rest-server-init.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-rest-server/restic-rest-server-backup.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-rest-server/export-etc.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-rest-server/export-home.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-rest-server/export-opt.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-rest-server/export-root.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-rest-server/restic-rest-server-init.sh -P /root/scripts/restic
|
||||
|
||||
chmod +x /root/scripts/restic/*.sh
|
||||
sed -i "s/changemepls/$(cat /etc/hostname | tr '[:upper:]' '[:lower:]')/g" /root/scripts/restic/*.sh
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
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
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-sftp/export-etc.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-sftp/export-home-akanealw.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-sftp/export-opt.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-sftp/export-root.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50/scripts/restic/restic-sftp/restic-sftp-init.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-sftp/restic-sftp-backup.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-sftp/export-etc.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-sftp/export-home-akanealw.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-sftp/export-opt.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-sftp/export-root.sh -P /root/scripts/restic
|
||||
wget -q http://192.168.1.50:81/restic/restic-sftp/restic-sftp-init.sh -P /root/scripts/restic
|
||||
|
||||
chmod +x /root/scripts/restic/*
|
||||
sed -i "s/changemepls/$(cat /etc/hostname | tr '[:upper:]' '[:lower:]')/g" /root/scripts/restic/*
|
||||
|
||||
Reference in New Issue
Block a user