增加一些路径

This commit is contained in:
赵民勇 2022-10-09 18:45:26 +08:00
parent 93e9082f24
commit 229f7b3d6e
4 changed files with 4 additions and 1 deletions

View File

@ -248,6 +248,7 @@ QStringList CustomizeSystemRestoreProxy::getRsyncArgs(CustomizeSystemRestoreScen
args << "--exclude=/etc/LICENSE"; args << "--exclude=/etc/LICENSE";
args << "--exclude=/etc/ssl/certs"; args << "--exclude=/etc/ssl/certs";
args << "--exclude=/usr/share/ca-certificates"; args << "--exclude=/usr/share/ca-certificates";
args << "--exclude=/etc/NetworkManager";
// 此处不要break因为还需要排除SYSTEM_RESTORE中的项 // 此处不要break因为还需要排除SYSTEM_RESTORE中的项

View File

@ -1102,7 +1102,7 @@ restoreAuto() { #还原
excludes="${excludes} --exclude=/etc/sssd --exclude=/var/lib/sss --exclude=/usr/share/sssd --exclude=/etc/ipa --exclude=/etc/krb5.keytab" excludes="${excludes} --exclude=/etc/sssd --exclude=/var/lib/sss --exclude=/usr/share/sssd --exclude=/etc/ipa --exclude=/etc/krb5.keytab"
excludes="${excludes} --exclude=/etc/krb5.conf --exclude=/var/lib/ipa-client --exclude=/etc/nsswitch.conf --exclude=/etc/pam.d --exclude=/etc/hosts" excludes="${excludes} --exclude=/etc/krb5.conf --exclude=/var/lib/ipa-client --exclude=/etc/nsswitch.conf --exclude=/etc/pam.d --exclude=/etc/hosts"
excludes="${excludes} --exclude=/etc/hostname --exclude=/etc/hedron --exclude=/etc/kcm --exclude=/usr/hedron/hedronagent --exclude=/etc/.kyinfo --exclude=/etc/LICENSE" excludes="${excludes} --exclude=/etc/hostname --exclude=/etc/hedron --exclude=/etc/kcm --exclude=/usr/hedron/hedronagent --exclude=/etc/.kyinfo --exclude=/etc/LICENSE"
excludes="${excludes} --exclude=/etc/ssl/certs --exclude=/usr/share/ca-certificates" excludes="${excludes} --exclude=/etc/ssl/certs --exclude=/usr/share/ca-certificates --exclude=/etc/NetworkManager"
#如果是990排除/data否则排除/data/usershare #如果是990排除/data否则排除/data/usershare
if [ x${is_990_9a0} == x"true" ]; then if [ x${is_990_9a0} == x"true" ]; then

View File

@ -263,6 +263,7 @@ QStringList SystemRestoreProxy::getRsyncArgs(SystemRestoreScene scene)
args << "--exclude=/etc/LICENSE"; args << "--exclude=/etc/LICENSE";
args << "--exclude=/etc/ssl/certs"; args << "--exclude=/etc/ssl/certs";
args << "--exclude=/usr/share/ca-certificates"; args << "--exclude=/usr/share/ca-certificates";
args << "--exclude=/etc/NetworkManager";
// 此处不要break因为还需要排除SYSTEM_RESTORE中的项 // 此处不要break因为还需要排除SYSTEM_RESTORE中的项

View File

@ -266,6 +266,7 @@ QStringList UDiskSystemRestoreProxy::getRsyncArgs(SystemRestoreScene scene)
args << "--exclude=/etc/LICENSE"; args << "--exclude=/etc/LICENSE";
args << "--exclude=/etc/ssl/certs"; args << "--exclude=/etc/ssl/certs";
args << "--exclude=/usr/share/ca-certificates"; args << "--exclude=/usr/share/ca-certificates";
args << "--exclude=/etc/NetworkManager";
// 此处不要break因为还需要排除SYSTEM_RESTORE中的项 // 此处不要break因为还需要排除SYSTEM_RESTORE中的项