updated rsync command to include hard links
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker restart gluetun && echo gluetun restarted
|
||||
sleep 45
|
||||
docker restart qbittorrent && echo qbittorrent restarted
|
||||
sleep 5
|
||||
docker restart sabnzbd && echo sabnzbd restarted
|
||||
sleep 5
|
||||
docker restart jdownloader && echo jdownloader restarted
|
||||
sleep 5
|
||||
1
files/bashscripts/dockerserver/akanealw/olivetin/shutdown-proxmox1.sh
Executable file
1
files/bashscripts/dockerserver/akanealw/olivetin/shutdown-proxmox1.sh
Executable file
@@ -0,0 +1 @@
|
||||
ssh -i /config/proxmox2 -o StrictHostKeyChecking=no akanealw@192.168.1.52 /home/akanealw/scripts/shutdown-proxmox1.sh
|
||||
@@ -13,7 +13,7 @@ if ping -c 1 192.168.1.41 &> /dev/null
|
||||
ssh dockerserver "crontab -l | tee /home/akanealw/scripts/crontab.bak \
|
||||
&& sudo crontab -l | sudo tee /root/scripts/crontab.bak \
|
||||
&& rm /home/akanealw/scripts/debian-essentials.sh > /dev/null 2>&1 \
|
||||
&& rsync -azvP /home/akanealw/scripts/ akanealw@fileserver:/home/akanealw/gitrepos/fileserver/files/bashscripts/dockerserver/akanealw/ \
|
||||
&& rsync -azvPH /home/akanealw/scripts/ akanealw@fileserver:/home/akanealw/gitrepos/fileserver/files/bashscripts/dockerserver/akanealw/ \
|
||||
&& sudo rsync -azvP /root/scripts/ akanealw@fileserver:/home/akanealw/gitrepos/fileserver/files/bashscripts/dockerserver/root/"
|
||||
|
||||
# plexserver
|
||||
|
||||
Reference in New Issue
Block a user