From 7e5c48b638b2f41f407c17bb0bd8d562b879689e Mon Sep 17 00:00:00 2001 From: zhaominyong Date: Thu, 14 Jul 2022 09:34:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0=E5=A4=87=E4=BB=BD=E5=88=86=E5=8C=BA?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E9=9C=80=E8=A6=81=E5=8F=AF=E4=BB=A5=E5=A4=87?= =?UTF-8?q?=E4=BB=BD=E5=88=B0U=E7=9B=98=EF=BC=8C=E6=95=85=E6=94=B9?= =?UTF-8?q?=E9=80=A0=E5=A4=87=E4=BB=BD=E5=88=B0U=E7=9B=98=E7=9A=84?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backup-daemon/systemrestoreproxy.cpp | 2 +- backup-daemon/udisksystembackupproxy.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backup-daemon/systemrestoreproxy.cpp b/backup-daemon/systemrestoreproxy.cpp index 77e52bb..82e0a20 100755 --- a/backup-daemon/systemrestoreproxy.cpp +++ b/backup-daemon/systemrestoreproxy.cpp @@ -239,7 +239,7 @@ QStringList SystemRestoreProxy::getRsyncArgs(SystemRestoreScene scene) args << "--exclude=/data/home"; args << "--exclude=/data/root"; - // 云桌面背景路径属于用户数据 + // 云图片作为桌面背景的路径属于用户数据 args << "--exclude=/var/lib/AccountsService"; // 此处不要break,因为还需要排除SYSTEM_RESTORE中的项 diff --git a/backup-daemon/udisksystembackupproxy.cpp b/backup-daemon/udisksystembackupproxy.cpp index ae5f2e4..2f7f777 100755 --- a/backup-daemon/udisksystembackupproxy.cpp +++ b/backup-daemon/udisksystembackupproxy.cpp @@ -52,8 +52,8 @@ bool UDiskSystemBackupProxy::checkEnvEx() // 1、检查/backup分区是否挂载上(不管是本地磁盘还是u盘设备,都得保证/backup挂载上); 若没挂载,挂载 MyMountProxy mountProxy; if ( MountResult::MOUNTED != mountProxy.mountBackupPartition() ) { - emit checkResult(int(BackupResult::BACKUP_PARTITION_MOUNT_FAIL)); - return false; + // emit checkResult(int(BackupResult::BACKUP_PARTITION_MOUNT_FAIL)); + // return false; } QString backupPath(m_backupWrapper.m_prefixDestPath);