Environment
Windows 10 device running Canary (currently 2.0.4.19_canary_2019-06-17) backing up to an SMB share on FreeBSD 12
Goal
Fast, reliable, nightly incremental workstation backups to my fileserver
Background
I had a backup job I was running through 2018 which started complaining about missing files and failing to run. I troubleshot briefly with unsucessful DB repairs, then gave up and created a new backup job. The new backup recently started failing. Database repairs did not fix the issue, so I started a DB recreate, logging to a flatfile:
### START OF RECREATE LOG 2019-06-18 02:52:57 +02 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Repair has started 2019-06-18 02:52:58 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Started: () 2019-06-18 02:53:05 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: List - Completed: (626 bytes) 2019-06-18 02:53:29 +02 - [Information-Duplicati.Library.Main.Operation.RecreateDatabaseHandler-RebuildStarted]: Rebuild database started, downloading 17 filelists 2019-06-18 02:53:29 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-20180424T212056Z.dlist.zip.aes (7.12 MB) ### 44 HOURS OF RECREATE LOGS GO HERE (SNIP!) ### ### (successful get-started/get-completed cycle every 6-8 minutes) ### 2019-06-19 23:33:15 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b397b1459dd634eeeadad75fdac5485a1.dblock.zip.aes (249.97 MB) 2019-06-19 23:33:15 +02 - [Warning-Duplicati.Library.Main.Operation.RecreateDatabaseHandler-FailedRebuildingWithFile]: Failed to use information from duplicati-b562363822688452c9cd251a89bce211b.dblock.zip.aes to rebuild database: Could not find file 'B:\IT\backups\duplicatia\duplicati-b562363822688452c9cd251a89bce211b.dblock.zip.aes'. System.IO.FileNotFoundException: Could not find file 'B:\IT\backups\duplicatia\duplicati-b562363822688452c9cd251a89bce211b.dblock.zip.aes'. File name: 'B:\IT\backups\duplicatia\duplicati-b562363822688452c9cd251a89bce211b.dblock.zip.aes' at Duplicati.Library.Main.AsyncDownloader.AsyncDownloaderEnumerator.AsyncDownloadedFile.get_TempFile() at Duplicati.Library.Main.Operation.RecreateDatabaseHandler.DoRun(LocalDatabase dbparent, Boolean updating, IFilter filter, NumberedFilterFilelistDelegate filelistfilter, BlockVolumePostProcessor blockprocessor) 2019-06-19 23:33:15 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-b397b1459dd634eeeadad75fdac5485a1.dblock.zip.aes (249.97 MB) 2019-06-19 23:33:25 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b397b1459dd634eeeadad75fdac5485a1.dblock.zip.aes (249.97 MB) 2019-06-19 23:33:25 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-b397b1459dd634eeeadad75fdac5485a1.dblock.zip.aes (249.97 MB) 2019-06-19 23:33:35 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b397b1459dd634eeeadad75fdac5485a1.dblock.zip.aes (249.97 MB) 2019-06-19 23:33:35 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-b397b1459dd634eeeadad75fdac5485a1.dblock.zip.aes (249.97 MB) 2019-06-19 23:33:46 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b397b1459dd634eeeadad75fdac5485a1.dblock.zip.aes (249.97 MB) 2019-06-19 23:33:46 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Retrying: duplicati-b397b1459dd634eeeadad75fdac5485a1.dblock.zip.aes (249.97 MB) 2019-06-19 23:33:56 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Started: duplicati-b397b1459dd634eeeadad75fdac5485a1.dblock.zip.aes (249.97 MB) 2019-06-19 23:33:56 +02 - [Information-Duplicati.Library.Main.BasicResults-BackendEvent]: Backend event: Get - Failed: duplicati-b397b1459dd634eeeadad75fdac5485a1.dblock.zip.aes (249.97 MB) 2019-06-19 23:33:56 +02 - [Warning-Duplicati.Library.Main.Operation.RecreateDatabaseHandler-FailedRebuildingWithFile]: Failed to use information from duplicati-b397b1459dd634eeeadad75fdac5485a1.dblock.zip.aes to rebuild database: Could not find file 'B:\IT\backups\duplicatia\duplicati-b397b1459dd634eeeadad75fdac5485a1.dblock.zip.aes'. System.IO.FileNotFoundException: Could not find file 'B:\IT\backups\duplicatia\duplicati-b397b1459dd634eeeadad75fdac5485a1.dblock.zip.aes'. File name: 'B:\IT\backups\duplicatia\duplicati-b397b1459dd634eeeadad75fdac5485a1.dblock.zip.aes' at Duplicati.Library.Main.AsyncDownloader.AsyncDownloaderEnumerator.AsyncDownloadedFile.get_TempFile() at Duplicati.Library.Main.Operation.RecreateDatabaseHandler.DoRun(LocalDatabase dbparent, Boolean updating, IFilter filter, NumberedFilterFilelistDelegate filelistfilter, BlockVolumePostProcessor blockprocessor) 2019-06-19 23:34:16 +02 - [Warning-Duplicati.Library.Main.Database.LocalRecreateDatabase-MissingVolumesDetected]: Found 2 missing volumes; attempting to replace blocks from existing volumes 2019-06-19 23:34:23 +02 - [Information-Duplicati.Library.Main.Operation.RecreateDatabaseHandler-RecreateCompletedCheckingDatabase]: Recreate completed, verifying the database consistency 2019-06-19 23:39:41 +02 - [Information-Duplicati.Library.Main.Controller-StartingOperation]: The operation Backup has started
The last two logs, from my reading, seem to show that
- The recreate completed (although nothing further is provided verifying consistency)
- The backup job started shortly after completion of the recreation (due to a missed scheduled job, i reckon). This job threw an error, which additional attempts to run the job also throw :
"The database was attempted repaired, but the repair did not complete.This database may be incomplete and the backup process cannot continue. You may delete the local database and attempt to repair it again.
Questions
- Is it worthwhile to attempt the recreate again, rather than just start a new backup job?
- Are there any settings (duplicati, client OS, fileserver OS) I can leverage to make the backups more robust towards acheiving the goal above?
- Are there any version gotchas that I have missed that could be contributing to these failures?
Kind regards,
Hank