diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 76e361f6cc..9f8a9336d0 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -1006,6 +1006,7 @@ bool Buffer::save() const backupName = FileName(addName(lyxrc.backupdir_path, mangledName)); } + // do not copy because of #6587 if (fileName().moveTo(backupName)) { madeBackup = true; } else {