From 6080fe48c1ed8f68e3247b0e6308177a71034777 Mon Sep 17 00:00:00 2001 From: gitea Date: Sun, 19 May 2024 11:33:36 +0800 Subject: [PATCH] [modify] 1. systemd-networkd service 2. add a mod blacklist 3. bluetooth 4. remove unused files when do a backup --- update/backups.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/update/backups.sh b/update/backups.sh index 916b886..1357256 100644 --- a/update/backups.sh +++ b/update/backups.sh @@ -20,6 +20,9 @@ cp -rf /etc/network/interfaces /opt/configs/conf/ cp -rf /root/.acme.sh/*ecc /opt/configs/acme/ cp -rf /root/.acme.sh/rustle.cc_ecc/rustle.cc.{key,cer} /opt/apps/syncthing/data/common/A_Program/nginx-1.24.0/certs/ cp -rf /opt/apps/syncthing/data/common/A_Program/FRP/* /opt/apps/frp/frpc-xtcp-visitor/ +cp -rf /etc/systemd/network /opt/configs/conf/ +cp -rf /etc/modprobe.d/pcspkr-blacklist.conf /opt/configs/conf/ +cp -rf /lib/firmware/intel/ ibt-0040-1050* /opt/configs/conf/intel/ cd /opt && t=`date +%Y%m%dT%H%M%S` # rsync --delete-after -avz --exclude=apps/localcr/B_koel/local/music apps configs logs scripts websites wd/72-Backups/VPS/ > /opt/logs/rsync/rsync_${t}.log @@ -42,9 +45,7 @@ if [[ `date +%d` == '01' ]]; then t=`date +%Y%m%d%H%M%S` && cd /opt/wd/72-Backups/ tar -I pigz -cf vps-${t}.tar.gz \ - --exclude=VPS/apps/localcr/B_koel/local/music \ --exclude=VPS/apps/localcr/I_cloudreve/local/cloudreve/uploads \ - --exclude=VPS/apps/localcr/K_nextcloud/local/nextcloud/data/nextcloud/files \ --exclude=VPS/apps/syncthing/data \ VPS/ > /dev/null 2>&1 # tar -I unpigz -xf vps-20231101162641.tar.gz