增加一些路径
This commit is contained in:
parent
93e9082f24
commit
229f7b3d6e
|
@ -248,6 +248,7 @@ QStringList CustomizeSystemRestoreProxy::getRsyncArgs(CustomizeSystemRestoreScen
|
|||
args << "--exclude=/etc/LICENSE";
|
||||
args << "--exclude=/etc/ssl/certs";
|
||||
args << "--exclude=/usr/share/ca-certificates";
|
||||
args << "--exclude=/etc/NetworkManager";
|
||||
|
||||
// 此处不要break,因为还需要排除SYSTEM_RESTORE中的项
|
||||
|
||||
|
|
|
@ -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/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/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
|
||||
if [ x${is_990_9a0} == x"true" ]; then
|
||||
|
|
|
@ -263,6 +263,7 @@ QStringList SystemRestoreProxy::getRsyncArgs(SystemRestoreScene scene)
|
|||
args << "--exclude=/etc/LICENSE";
|
||||
args << "--exclude=/etc/ssl/certs";
|
||||
args << "--exclude=/usr/share/ca-certificates";
|
||||
args << "--exclude=/etc/NetworkManager";
|
||||
|
||||
// 此处不要break,因为还需要排除SYSTEM_RESTORE中的项
|
||||
|
||||
|
|
|
@ -266,6 +266,7 @@ QStringList UDiskSystemRestoreProxy::getRsyncArgs(SystemRestoreScene scene)
|
|||
args << "--exclude=/etc/LICENSE";
|
||||
args << "--exclude=/etc/ssl/certs";
|
||||
args << "--exclude=/usr/share/ca-certificates";
|
||||
args << "--exclude=/etc/NetworkManager";
|
||||
|
||||
// 此处不要break,因为还需要排除SYSTEM_RESTORE中的项
|
||||
|
||||
|
|
Loading…
Reference in New Issue