diff --git a/kybackup/module/ghostimage.cpp b/kybackup/module/ghostimage.cpp index 6746d59..3babce1 100755 --- a/kybackup/module/ghostimage.cpp +++ b/kybackup/module/ghostimage.cpp @@ -850,6 +850,8 @@ void GhostImage::on_ghost_start() backupWrapper.m_uuid = m_uuid; backupWrapper.m_type = BackupType::GHOST_IMAGE; backupWrapper.m_backupName = createGhostImageName(m_backupName); + QString prePath = Utils::getSysRootPath() + "/media"; + prePath = prePath.replace("//", "/"); if (m_iPosition != BackupPosition::CUSTOMIZE && m_prefixDestPath.startsWith(prePath)) { backupWrapper.m_iPosition = BackupPosition::UDISK; } else {