[modify] 1. systemd-networkd service 2. add a mod blacklist 3. bluetooth 4. remove unused files when do a backup
This commit is contained in:
parent
36a18e870f
commit
6080fe48c1
@ -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/*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 /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 /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`
|
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
|
# 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/
|
t=`date +%Y%m%d%H%M%S` && cd /opt/wd/72-Backups/
|
||||||
|
|
||||||
tar -I pigz -cf vps-${t}.tar.gz \
|
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/I_cloudreve/local/cloudreve/uploads \
|
||||||
--exclude=VPS/apps/localcr/K_nextcloud/local/nextcloud/data/nextcloud/files \
|
|
||||||
--exclude=VPS/apps/syncthing/data \
|
--exclude=VPS/apps/syncthing/data \
|
||||||
VPS/ > /dev/null 2>&1
|
VPS/ > /dev/null 2>&1
|
||||||
# tar -I unpigz -xf vps-20231101162641.tar.gz
|
# tar -I unpigz -xf vps-20231101162641.tar.gz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user