Bug 151176 - windows 10 backup failure whenever I have a LibreOffice file open
Summary: windows 10 backup failure whenever I have a LibreOffice file open
Status: CLOSED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86-64 (AMD64) Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-25 14:56 UTC by Collin
Modified: 2022-09-25 16:09 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Collin 2022-09-25 14:56:18 UTC
Description:
Over the past few months I've had several (many) automatic Backup failures. Only recently, on a whim, did I try closing LO files before going to bed for the auto Backup. Since then, without fail, it has been successful. Except that, yesterday, on a whim, I manually started Backup with an open LO file running. Fail.
If you're interested I will replicate a failure and give you Error notices. whatever. Basically, I remember "Failure to produce shadow copy" "timeout" "refer to VSS & SPP event logs"

Steps to Reproduce:
1. see above
2.
3.

Actual Results:
see above

Expected Results:
see above


Reproducible: Always


User Profile Reset: No



Additional Info:
Although I've rated it as "minor" it's only minor once I realised the connection between LO and Backup.

Getting to that realisation was pure chance!
Comment 1 Eike Rathke 2022-09-25 15:43:21 UTC
Blame Windows for not being able to backup files that are opened exclusive by an application.
Comment 2 Mike Kaganski 2022-09-25 16:09:46 UTC
Indeed, it's strange that Windows (or any software) can't use special file open mode created specifically for backup purposes: note e.g. FILE_FLAG_BACKUP_SEMANTICS in CreateFile documentation [1].

However, it would be still be interesting to learn exact reproduction steps, and the logs; only one thing should be taken into account first. Recently, LibreOffice file locking had been changed (see tdf#141279), so it could change in the last program versions.

[1] https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew