how i can fix this ?
i run my client on my pc and remote destination is on a shared local folder
A workaround was posted on the Github issue topic for this problem:
opened 12:32PM - 30 Mar 22 UTC
- [x] I have searched open and closed issues for duplicates.
- [x] I have searc… hed the [forum](https://forum.duplicati.com) for related topics.
----------------------------------------
## Environment info
- **Duplicati version**: 2.0.6.3_beta_2021-06-17
- **Operating system**: Win10
- **Backend**: SMB via TrueNAS-12.0-U5.1
## Description
A backup creates new files that does not have any visible access time causing the backend validation part to fail.
![image](https://user-images.githubusercontent.com/8324677/160834035-b1a4381d-02f7-451a-b03a-3c35a0a290c0.png)
![image](https://user-images.githubusercontent.com/8324677/160834107-bc352abf-c43d-497f-ab74-b179efc2de4e.png)
The backup job is considered a fail and no logs are saved via the GUI.
The email report contains:
```
Failed: Not a valid Win32 FileTime.
Parameter name: fileTime
Details: System.ArgumentOutOfRangeException: Not a valid Win32 FileTime.
Parameter name: fileTime
at Duplicati.Library.Main.BackendManager.List()
at Duplicati.Library.Main.Operation.FilelistProcessor.RemoteListAnalysis(BackendManager backend, Options options, LocalDatabase database, IBackendWriter log, IEnumerable`1 protectedFiles)
at Duplicati.Library.Main.Operation.FilelistProcessor.VerifyRemoteList(BackendManager backend, Options options, LocalDatabase database, IBackendWriter log, IEnumerable`1 protectedFiles)
at Duplicati.Library.Main.Operation.BackupHandler.PostBackupVerification(String currentFilelistVolume)
at Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at CoCoL.ChannelExtensions.WaitForTaskOrThrow(Task task)
at Duplicati.Library.Main.Controller.<>c__DisplayClass14_0.<Backup>b__0(BackupResults result)
at Duplicati.Library.Main.Controller.RunAction[T](T result, String[]& paths, IFilter& filter, Action`1 method)
Log data:
2022-03-30 10:03:00 +01 - [Error-Duplicati.Library.Main.Operation.BackupHandler-FatalError]: Fatal error
System.ArgumentOutOfRangeException: Not a valid Win32 FileTime.
Parameter name: fileTime
at Duplicati.Library.Main.BackendManager.List()
at Duplicati.Library.Main.Operation.FilelistProcessor.RemoteListAnalysis(BackendManager backend, Options options, LocalDatabase database, IBackendWriter log, IEnumerable`1 protectedFiles)
at Duplicati.Library.Main.Operation.FilelistProcessor.VerifyRemoteList(BackendManager backend, Options options, LocalDatabase database, IBackendWriter log, IEnumerable`1 protectedFiles)
at Duplicati.Library.Main.Operation.BackupHandler.PostBackupVerification(String currentFilelistVolume)
at Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__20.MoveNext()
```
I have other backup jobs to this same backend that is running with issue.
## Steps to reproduce
1. Run backup
- **Actual result**:
Backup failure
- **Expected result**:
Successful backup
## Screenshots
## Debug log
The reason for the invalid timestamp is somewhat of a mystery, I believe. Duplicati is not responsible for it, but a fix for Duplicati has been proposed so it will ignore these invalid timestamps.
1 Like
any fix yet ? on what file we have to modify in windows ?
Looks like the fix has been merged, so it will be available in the next Canary release.
In the meantime, use touch or a similar command to fix the timestamps. See the post I linked to above for more information.