diff --git a/backup-daemon/udisksystemrestoreproxy.cpp b/backup-daemon/udisksystemrestoreproxy.cpp index 310a8cf..62d7e08 100755 --- a/backup-daemon/udisksystemrestoreproxy.cpp +++ b/backup-daemon/udisksystemrestoreproxy.cpp @@ -308,6 +308,12 @@ QStringList UDiskSystemRestoreProxy::getRsyncArgs(SystemRestoreScene scene) args << QString("--exclude=") + item; } + // 异机还原 + if (m_backupWrapper.m_isOtherMachine) { + args << "--exclude=/etc/.bootinfo"; + args << "--exclude=/etc/fstab"; + } + args << "--exclude-from" << m_excludeUserFile; args << "--files-from" << m_userFile;