[modify] add scp certs action to arm1/arm2/amd
This commit is contained in:
parent
8d11aa9ec8
commit
e0cdc133a2
@ -18,6 +18,10 @@ cp -rf /root/.ssh/config /opt/configs/conf/
|
||||
cp -rf /etc/samba/smb.conf /opt/configs/conf/
|
||||
cp -rf /root/.acme.sh/*ecc /opt/configs/acme/
|
||||
cp -rf /opt/scripts/update/restore.sh /opt/apps/syncthing/data/common/F-Backup/Linux/
|
||||
scp -r /opt/configs/certs/ arm1:/opt/ > /dev/null &
|
||||
scp -r /opt/configs/certs/ arm2:/opt/ > /dev/null &
|
||||
scp -r /opt/configs/certs/ amd:/opt/ > /dev/null &
|
||||
wait
|
||||
|
||||
cd /opt && t=`date +%Y%m%dT%H%M%S`
|
||||
rsync --delete-after -avz apps configs logs scripts websites wd/72-Backups/VPS/ > /opt/logs/rsync/rsync_${t}.log
|
||||
|
Loading…
x
Reference in New Issue
Block a user