I am getting this error. But nothing is taking up the process. Please help as soon as possible
You are posting a generic error message without any context. It is not really possible to help you with that. I’d suggest to export the job as command line and to execute it in a terminal window. If this does not bring you an explanation on what is happening, try to post a copy/paste of the complete terminal session.
“D:\Installed\Duplicati\Duplicati.CommandLine.exe” backup “od4b://chiragnahata-my.sharepoint.com/personal/backup_chiragnahata_ml/Documents//Computer Backup/Duplicati/D-Drive?auth-username=backup%40chiragnahata.ml” “D:\” --backup-name=“Duplicati D Drive Backup” --dbpath=“C:\Users\Chirag Nahata\AppData\Local\Duplicati\UFDJXTUQOG.sqlite” --encryption-module=aes --compression-module=zip --dblock-size=100MB --keep-time=1D --auto-cleanup=true --auto-compact-interval=1D --allow-sleep=true --auto-vacuum=true --force-actual-date=true --restore-permissions=true --zip-compression-level=9 --disable-module=console-password-input
ts678
April 5, 2023, 6:03pm
7
Did you try to change or remove the passphrase? The goal was to see the original failure, not this.
You might also be able to do a GUI run with About → Show log → Live → Information, or Verbose.
As a guess, though --auto-cleanup=true
can sometimes cause this sort of thing. Try a remove?
EDIT:
opened 05:11AM - 25 Oct 21 UTC
bug
reproduced
local database issue
## Environment info
- **Duplicati version**: 2.0.6.3_beta_2021-06-17
- **Opera… ting system**: Windows 10 version 20H2, build 19042.1288
- **Backend**: rsync.net, via SFTP
## Description
Duplicati has been running fine for a year or so but has suddenly started to fail 100% of the time with an System.IO.IOException. The exception is thrown towards the end of the "Verifying backup ..." stage.
Neither restarting Duplicati, nor rebooting the PC makes any difference.
Please could you output more information on this particular error? Outputting the name of the file that is locked would be very helpful, for example. Then I might be able to do some more checks to see why it is happening and whether I can fix it.
Thanks.
## Debug log
```
25 Oct 2021 06:01: Failed while executing "Backup" with id: 4
System.IO.IOException: The process cannot access the file because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)
at Duplicati.Library.Main.Operation.RepairHandler.Run(IFilter filter)
at Duplicati.Library.Main.Operation.BackupHandler.PreBackupVerify(BackendManager backend, String protectedfile)
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)
at Duplicati.Library.Main.Controller.Backup(String[] inputsources, IFilter filter)
at Duplicati.Server.Runner.Run(IRunnerData data, Boolean fromQueue)
```
Thought fixed in Canary Oct 11, 2021 by
Create custom Exception for remote list verification failures #4520)
2.0.6.100_canary_2021-08-11
Reduced number of cases where database cleanup is triggered, thanks @warwickmm
but if you’re on 2.0.6.3_beta_2021-06-17 you don’t have that fix yet.