testing
This commit is contained in:
@@ -3,13 +3,14 @@
|
|||||||
mkdir -p /root/scripts/restic
|
mkdir -p /root/scripts/restic
|
||||||
rm /root/scripts/restic/*
|
rm /root/scripts/restic/*
|
||||||
wget -q http://192.168.1.50/scripts/restic/restic-sftp/restic-sftp-backup.sh
|
wget -q http://192.168.1.50/scripts/restic/restic-sftp/restic-sftp-backup.sh
|
||||||
wget -q http://192.168.1.50/scripts/restic/restic-sftp/restic-sftp-export-etc.sh
|
wget -q http://192.168.1.50/scripts/restic/restic-sftp/export-etc.sh
|
||||||
wget -q http://192.168.1.50/scripts/restic/restic-sftp/restic-sftp-export-home-akanealw.sh
|
wget -q http://192.168.1.50/scripts/restic/restic-sftp/export-home-akanealw.sh
|
||||||
wget -q http://192.168.1.50/scripts/restic/restic-sftp/restic-sftp-export-opt.sh
|
wget -q http://192.168.1.50/scripts/restic/restic-sftp/sftp-export-opt.sh
|
||||||
wget -q http://192.168.1.50/scripts/restic/restic-sftp/restic-sftp-export-root.sh
|
wget -q http://192.168.1.50/scripts/restic/restic-sftp/sftp-export-root.sh
|
||||||
wget -q http://192.168.1.50/scripts/restic/restic-sftp/restic-sftp-init.sh
|
wget -q http://192.168.1.50/scripts/restic/restic-sftp/restic-sftp-init.sh
|
||||||
|
|
||||||
mv /root/restic-sftp-* /root/scripts/restic
|
mv /root/restic-sftp-* /root/scripts/restic
|
||||||
|
mv /root/export-* /root/scripts/restic
|
||||||
chmod +x /root/scripts/restic/*
|
chmod +x /root/scripts/restic/*
|
||||||
|
|
||||||
isInFile=$(cat /root/.ssh/config | grep -c "truenas")
|
isInFile=$(cat /root/.ssh/config | grep -c "truenas")
|
||||||
|
|||||||
Reference in New Issue
Block a user