Restore with duplicati-cli fails

Hello,

I am testing the restore process of my backups using duplicati-cli. But this month all attempts are failing with an error like this: “ErrorID: DatabaseInconsistency Detected. xx volumes with missing filesets.”

If I try to restore the same backup via the legacy ui via the browser, it works without any problems.

I prefer duplicati-cli because I have multiple backups to restore. It is easier to spot problems, I have the complete log file for each restored backup, I can measure the restore time and I don’t have to input different parameters for each backup through the ui, as I can use scripts instead.

Any ideas what the problem might be? Did something change with 2.2.x about duplicati-cli?

Cheers

~$ duplicati-cli 
[...]
https://duplicati.com/                 Version:  - 2.2.0.0_stable_2025-10-23

~$ export AUTH_PASSWORD=xxx

~$ duplicati-cli restore ssh://xxx/home/xxx/duplicati_db?auth-username=xxx --no-encryption=true --restore-path="/tmp/xxxDb" --ssh-fingerprint="ssh-ed25519 256 d6:78:69:xx:xx:xx:xx:5d:fc:ef:9f:71:b2:9d:87:77" --version=0 --tempdir="/tmp/" --console-log-level=information

Restore started at 07.11.2025 20:44:13
Die Operation Restore wurde gestartet
No local database, building a temporary database
Backend event: List - Started:  ()
  Listing remote folder ...
Backend event: List - Completed:  (92 Bytes)
Rebuild database started, downloading 1 filelists
Backend event: Get - Started: duplicati-20251107T190120Z.dlist.zip (159,960 KB)
  Downloading file duplicati-20251107T190120Z.dlist.zip (159,960 KB) ...
Backend event: Get - Completed: duplicati-20251107T190120Z.dlist.zip (159,960 KB)
Filelists restored, downloading 41 index files
Backend event: Get - Started: duplicati-i4daa0e4026b245e88aab52e4a5b37651.dindex.zip (316,434 KB)
  Downloading file duplicati-i4daa0e4026b245e88aab52e4a5b37651.dindex.zip (316,434 KB) ...
Backend event: Get - Completed: duplicati-i4daa0e4026b245e88aab52e4a5b37651.dindex.zip (316,434 KB)
Backend event: Get - Started: duplicati-ibcf707ae5c174e1eb291dde379b4baea.dindex.zip (451,450 KB)
  Downloading file duplicati-ibcf707ae5c174e1eb291dde379b4baea.dindex.zip (451,450 KB) ...
Backend event: Get - Completed: duplicati-ibcf707ae5c174e1eb291dde379b4baea.dindex.zip (451,450 KB)
Backend event: Get - Started: duplicati-ic975bdf325f641dda2da79a81847ab88.dindex.zip (434,128 KB)
  Downloading file duplicati-ic975bdf325f641dda2da79a81847ab88.dindex.zip (434,128 KB) ...
Backend event: Get - Completed: duplicati-ic975bdf325f641dda2da79a81847ab88.dindex.zip (434,128 KB)
Backend event: Get - Started: duplicati-ie64318e405ba40559f67abe99bf617cf.dindex.zip (454,453 KB)
  Downloading file duplicati-ie64318e405ba40559f67abe99bf617cf.dindex.zip (454,453 KB) ...
Backend event: Get - Completed: duplicati-ie64318e405ba40559f67abe99bf617cf.dindex.zip (454,453 KB)
Backend event: Get - Started: duplicati-ibee1a152bf9e49a7a2eb6757a1a585b1.dindex.zip (430,958 KB)
  Downloading file duplicati-ibee1a152bf9e49a7a2eb6757a1a585b1.dindex.zip (430,958 KB) ...
Backend event: Get - Completed: duplicati-ibee1a152bf9e49a7a2eb6757a1a585b1.dindex.zip (430,958 KB)
Backend event: Get - Started: duplicati-i27f37cc31a8846789e9d9825647d95de.dindex.zip (230 Bytes)
  Downloading file duplicati-i27f37cc31a8846789e9d9825647d95de.dindex.zip (230 Bytes) ...
Backend event: Get - Completed: duplicati-i27f37cc31a8846789e9d9825647d95de.dindex.zip (230 Bytes)
Backend event: Get - Started: duplicati-ia386fa6b3bd2448a83875630451b981f.dindex.zip (540,139 KB)
  Downloading file duplicati-ia386fa6b3bd2448a83875630451b981f.dindex.zip (540,139 KB) ...
Backend event: Get - Completed: duplicati-ia386fa6b3bd2448a83875630451b981f.dindex.zip (540,139 KB)
Backend event: Get - Started: duplicati-i422d905c4eac464585cacf623e089620.dindex.zip (230 Bytes)
  Downloading file duplicati-i422d905c4eac464585cacf623e089620.dindex.zip (230 Bytes) ...
Backend event: Get - Completed: duplicati-i422d905c4eac464585cacf623e089620.dindex.zip (230 Bytes)
Backend event: Get - Started: duplicati-i972de8292755460188672fd988b1309b.dindex.zip (288,034 KB)
  Downloading file duplicati-i972de8292755460188672fd988b1309b.dindex.zip (288,034 KB) ...
Backend event: Get - Completed: duplicati-i972de8292755460188672fd988b1309b.dindex.zip (288,034 KB)
Backend event: Get - Started: duplicati-i248ccd6156854264bf12c035b2aeaabc.dindex.zip (83,683 KB)
  Downloading file duplicati-i248ccd6156854264bf12c035b2aeaabc.dindex.zip (83,683 KB) ...
Backend event: Get - Completed: duplicati-i248ccd6156854264bf12c035b2aeaabc.dindex.zip (83,683 KB)
Backend event: Get - Started: duplicati-i622a361b82934528932e49b76497c9b2.dindex.zip (96,026 KB)
  Downloading file duplicati-i622a361b82934528932e49b76497c9b2.dindex.zip (96,026 KB) ...
Backend event: Get - Completed: duplicati-i622a361b82934528932e49b76497c9b2.dindex.zip (96,026 KB)
Backend event: Get - Started: duplicati-ifdaed5b621224bd788e332061629ae9e.dindex.zip (232 Bytes)
  Downloading file duplicati-ifdaed5b621224bd788e332061629ae9e.dindex.zip (232 Bytes) ...
Backend event: Get - Completed: duplicati-ifdaed5b621224bd788e332061629ae9e.dindex.zip (232 Bytes)
Backend event: Get - Started: duplicati-id984f5882ba5474c958ffd6b2dfc86af.dindex.zip (600,874 KB)
  Downloading file duplicati-id984f5882ba5474c958ffd6b2dfc86af.dindex.zip (600,874 KB) ...
Backend event: Get - Completed: duplicati-id984f5882ba5474c958ffd6b2dfc86af.dindex.zip (600,874 KB)
Backend event: Get - Started: duplicati-ia1f8e9030b5e4f30b41fa682e5c892ce.dindex.zip (296,755 KB)
  Downloading file duplicati-ia1f8e9030b5e4f30b41fa682e5c892ce.dindex.zip (296,755 KB) ...
Backend event: Get - Completed: duplicati-ia1f8e9030b5e4f30b41fa682e5c892ce.dindex.zip (296,755 KB)
Backend event: Get - Started: duplicati-i27e3f6073ce6446c91557ba7083c60d4.dindex.zip (428,083 KB)
  Downloading file duplicati-i27e3f6073ce6446c91557ba7083c60d4.dindex.zip (428,083 KB) ...
Backend event: Get - Completed: duplicati-i27e3f6073ce6446c91557ba7083c60d4.dindex.zip (428,083 KB)
Backend event: Get - Started: duplicati-ia873a80b109541ff8e0b07f708da53b5.dindex.zip (273,438 KB)
  Downloading file duplicati-ia873a80b109541ff8e0b07f708da53b5.dindex.zip (273,438 KB) ...
Backend event: Get - Completed: duplicati-ia873a80b109541ff8e0b07f708da53b5.dindex.zip (273,438 KB)
Backend event: Get - Started: duplicati-id970c4c5de47482c885215f00590b61b.dindex.zip (427,776 KB)
  Downloading file duplicati-id970c4c5de47482c885215f00590b61b.dindex.zip (427,776 KB) ...
Backend event: Get - Completed: duplicati-id970c4c5de47482c885215f00590b61b.dindex.zip (427,776 KB)
Backend event: Get - Started: duplicati-ifa57557984d842c4bc96453b22271b2d.dindex.zip (439,274 KB)
  Downloading file duplicati-ifa57557984d842c4bc96453b22271b2d.dindex.zip (439,274 KB) ...
Backend event: Get - Completed: duplicati-ifa57557984d842c4bc96453b22271b2d.dindex.zip (439,274 KB)
Backend event: Get - Started: duplicati-i315e99023d3049be918dd3cb5869f1e4.dindex.zip (239,262 KB)
  Downloading file duplicati-i315e99023d3049be918dd3cb5869f1e4.dindex.zip (239,262 KB) ...
Backend event: Get - Completed: duplicati-i315e99023d3049be918dd3cb5869f1e4.dindex.zip (239,262 KB)
Backend event: Get - Started: duplicati-i4dfa7816d0f44e81a8ba6d80a636a7d3.dindex.zip (641,312 KB)
  Downloading file duplicati-i4dfa7816d0f44e81a8ba6d80a636a7d3.dindex.zip (641,312 KB) ...
Backend event: Get - Completed: duplicati-i4dfa7816d0f44e81a8ba6d80a636a7d3.dindex.zip (641,312 KB)
Backend event: Get - Started: duplicati-i4c683eecc0184d95ad1d42daa10222c8.dindex.zip (433,333 KB)
  Downloading file duplicati-i4c683eecc0184d95ad1d42daa10222c8.dindex.zip (433,333 KB) ...
Backend event: Get - Completed: duplicati-i4c683eecc0184d95ad1d42daa10222c8.dindex.zip (433,333 KB)
Backend event: Get - Started: duplicati-i1c773ba69c3a4207b009493c94065048.dindex.zip (93,300 KB)
  Downloading file duplicati-i1c773ba69c3a4207b009493c94065048.dindex.zip (93,300 KB) ...
Backend event: Get - Completed: duplicati-i1c773ba69c3a4207b009493c94065048.dindex.zip (93,300 KB)
Backend event: Get - Started: duplicati-ic2d8e4a7194745bc9bbaef25c6914dfb.dindex.zip (426,385 KB)
  Downloading file duplicati-ic2d8e4a7194745bc9bbaef25c6914dfb.dindex.zip (426,385 KB) ...
Backend event: Get - Completed: duplicati-ic2d8e4a7194745bc9bbaef25c6914dfb.dindex.zip (426,385 KB)
Backend event: Get - Started: duplicati-i04af8c63bc6245c5b0abe8358bb652f3.dindex.zip (283,478 KB)
  Downloading file duplicati-i04af8c63bc6245c5b0abe8358bb652f3.dindex.zip (283,478 KB) ...
Backend event: Get - Completed: duplicati-i04af8c63bc6245c5b0abe8358bb652f3.dindex.zip (283,478 KB)
Backend event: Get - Started: duplicati-i77ac4dc1fc254d869b7aa3c8fb29d7b3.dindex.zip (230 Bytes)
  Downloading file duplicati-i77ac4dc1fc254d869b7aa3c8fb29d7b3.dindex.zip (230 Bytes) ...
Backend event: Get - Completed: duplicati-i77ac4dc1fc254d869b7aa3c8fb29d7b3.dindex.zip (230 Bytes)
Backend event: Get - Started: duplicati-iabf529e7a8ad4a6186af6bd9f064f3ea.dindex.zip (438,062 KB)
  Downloading file duplicati-iabf529e7a8ad4a6186af6bd9f064f3ea.dindex.zip (438,062 KB) ...
Backend event: Get - Completed: duplicati-iabf529e7a8ad4a6186af6bd9f064f3ea.dindex.zip (438,062 KB)
Backend event: Get - Started: duplicati-i2209e97c3d90497da412eab00ba7eb0c.dindex.zip (477,972 KB)
  Downloading file duplicati-i2209e97c3d90497da412eab00ba7eb0c.dindex.zip (477,972 KB) ...
Backend event: Get - Completed: duplicati-i2209e97c3d90497da412eab00ba7eb0c.dindex.zip (477,972 KB)
Backend event: Get - Started: duplicati-i1ab1f83db32649aa92715336f87e81d7.dindex.zip (448,007 KB)
  Downloading file duplicati-i1ab1f83db32649aa92715336f87e81d7.dindex.zip (448,007 KB) ...
Backend event: Get - Completed: duplicati-i1ab1f83db32649aa92715336f87e81d7.dindex.zip (448,007 KB)
Backend event: Get - Started: duplicati-i6833883df0a04cb786cf9f597396756c.dindex.zip (435,891 KB)
  Downloading file duplicati-i6833883df0a04cb786cf9f597396756c.dindex.zip (435,891 KB) ...
Backend event: Get - Completed: duplicati-i6833883df0a04cb786cf9f597396756c.dindex.zip (435,891 KB)
Backend event: Get - Started: duplicati-i71756cc5904f498abfc4c76a613c1165.dindex.zip (232 Bytes)
  Downloading file duplicati-i71756cc5904f498abfc4c76a613c1165.dindex.zip (232 Bytes) ...
Backend event: Get - Completed: duplicati-i71756cc5904f498abfc4c76a613c1165.dindex.zip (232 Bytes)
Backend event: Get - Started: duplicati-i25342ef42cbb4816a2787fd1dbf8d471.dindex.zip (280,932 KB)
  Downloading file duplicati-i25342ef42cbb4816a2787fd1dbf8d471.dindex.zip (280,932 KB) ...
Backend event: Get - Completed: duplicati-i25342ef42cbb4816a2787fd1dbf8d471.dindex.zip (280,932 KB)
Backend event: Get - Started: duplicati-ia271a03ccc9a44329ca9bdb536397c5e.dindex.zip (273,389 KB)
  Downloading file duplicati-ia271a03ccc9a44329ca9bdb536397c5e.dindex.zip (273,389 KB) ...
Backend event: Get - Completed: duplicati-ia271a03ccc9a44329ca9bdb536397c5e.dindex.zip (273,389 KB)
Backend event: Get - Started: duplicati-i976bb5253026420cafd71c1a69dfcbf8.dindex.zip (232 Bytes)
  Downloading file duplicati-i976bb5253026420cafd71c1a69dfcbf8.dindex.zip (232 Bytes) ...
Backend event: Get - Completed: duplicati-i976bb5253026420cafd71c1a69dfcbf8.dindex.zip (232 Bytes)
Backend event: Get - Started: duplicati-i10f24b0939e748dca532e00ff5fb780f.dindex.zip (374,949 KB)
  Downloading file duplicati-i10f24b0939e748dca532e00ff5fb780f.dindex.zip (374,949 KB) ...
Backend event: Get - Completed: duplicati-i10f24b0939e748dca532e00ff5fb780f.dindex.zip (374,949 KB)
Backend event: Get - Started: duplicati-i5bed3c78918843fc87f8a7c2a30518d3.dindex.zip (364,422 KB)
  Downloading file duplicati-i5bed3c78918843fc87f8a7c2a30518d3.dindex.zip (364,422 KB) ...
Backend event: Get - Completed: duplicati-i5bed3c78918843fc87f8a7c2a30518d3.dindex.zip (364,422 KB)
Backend event: Get - Started: duplicati-ic6ad3b59681c4f2cbcb6de6bab055d4b.dindex.zip (423,452 KB)
  Downloading file duplicati-ic6ad3b59681c4f2cbcb6de6bab055d4b.dindex.zip (423,452 KB) ...
Backend event: Get - Completed: duplicati-ic6ad3b59681c4f2cbcb6de6bab055d4b.dindex.zip (423,452 KB)
Backend event: Get - Started: duplicati-id1803011db3442148b6b4676c026fa6a.dindex.zip (291,315 KB)
  Downloading file duplicati-id1803011db3442148b6b4676c026fa6a.dindex.zip (291,315 KB) ...
Backend event: Get - Completed: duplicati-id1803011db3442148b6b4676c026fa6a.dindex.zip (291,315 KB)
Backend event: Get - Started: duplicati-ib3044596ea6240dcb222c59195e2a166.dindex.zip (442,357 KB)
  Downloading file duplicati-ib3044596ea6240dcb222c59195e2a166.dindex.zip (442,357 KB) ...
Backend event: Get - Completed: duplicati-ib3044596ea6240dcb222c59195e2a166.dindex.zip (442,357 KB)
Backend event: Get - Started: duplicati-i0619cd2a63a24b0a8e5cda3bdca3a18d.dindex.zip (230 Bytes)
  Downloading file duplicati-i0619cd2a63a24b0a8e5cda3bdca3a18d.dindex.zip (230 Bytes) ...
Backend event: Get - Completed: duplicati-i0619cd2a63a24b0a8e5cda3bdca3a18d.dindex.zip (230 Bytes)
Backend event: Get - Started: duplicati-i2b5264c7e97e4c85be6dba6cdcbb8f08.dindex.zip (232 Bytes)
  Downloading file duplicati-i2b5264c7e97e4c85be6dba6cdcbb8f08.dindex.zip (232 Bytes) ...
Backend event: Get - Completed: duplicati-i2b5264c7e97e4c85be6dba6cdcbb8f08.dindex.zip (232 Bytes)
Backend event: Get - Started: duplicati-icd9387079eb24fbb8aa1126740ed25cd.dindex.zip (295,767 KB)
  Downloading file duplicati-icd9387079eb24fbb8aa1126740ed25cd.dindex.zip (295,767 KB) ...
Backend event: Get - Completed: duplicati-icd9387079eb24fbb8aa1126740ed25cd.dindex.zip (295,767 KB)
Processing required 3 blocklist volumes
Backend event: Get - Started: duplicati-b13ddb03ceee644e39f0f86a547f0781a.dblock.zip (500,962 MB)
  Downloading file duplicati-b13ddb03ceee644e39f0f86a547f0781a.dblock.zip (500,962 MB) ...
Backend event: Get - Completed: duplicati-b13ddb03ceee644e39f0f86a547f0781a.dblock.zip (500,962 MB)
Backend event: Get - Started: duplicati-b2032f932e2a84cd49b413fbdbe41ecab.dblock.zip (500,817 MB)
  Downloading file duplicati-b2032f932e2a84cd49b413fbdbe41ecab.dblock.zip (500,817 MB) ...
Backend event: Get - Completed: duplicati-b2032f932e2a84cd49b413fbdbe41ecab.dblock.zip (500,817 MB)
Backend event: Get - Started: duplicati-b43f3c1bab67648199a6df664023e49b5.dblock.zip (500,734 MB)
  Downloading file duplicati-b43f3c1bab67648199a6df664023e49b5.dblock.zip (500,734 MB) ...
Backend event: Get - Completed: duplicati-b43f3c1bab67648199a6df664023e49b5.dblock.zip (500,734 MB)
Recreate completed, verifying the database consistency
The operation Restore has failed => Detected 17 volumes with missing filesets

ErrorID: DatabaseInconsistency
Detected 17 volumes with missing filesets

Same issue here in a batch script under Windows. Also checking a remote backup on a different machine to ensure restorability. It works from the different machine if I restore from the web UI using the option to restore directly from backups. Somehow they behave differently.

Using the CLI (Windows)
Using the CLI (Linux)

Are you sure your dbconfig.json isn’t steering restore to an old database?
If your goal is to start with a freshly built database each time, use a dbpath.
Delete it before restore, and I think CLI recreates it, but I’m not on CLI much.

Original post looks like it’s building a new database. Other posts lack details.
So far, the most damage using an old database has caused is error like this:

Restore started at 11/13/2025 12:27:15 PM
Checking remote backup ...
  Listing remote folder ...
Extra unknown file: duplicati-20251113T172656Z.dlist.zip
Found 1 remote files that are not recorded in local storage. This can be caused by having two backups sharing a destination folder which is not supported. It can also be caused by restoring an old database. If you are certain that only one backup uses the folder and you have the most updated version of the database, you can use repair to delete the unknown files.
The operation Restore has failed => Found 1 remote files that are not recorded in local storage. This can be caused by having two backups sharing a destination folder which is not supported. It can also be caused by restoring an old database. If you are certain that only one backup uses the folder and you have the most updated version of the database, you can use repair to delete the unknown files.

ErrorID: ExtraRemoteFiles
Found 1 remote files that are not recorded in local storage. This can be caused by having two backups sharing a destination folder which is not supported. It can also be caused by restoring an old database. If you are certain that only one backup uses the folder and you have the most updated version of the database, you can use repair to delete the unknown files.

Restore seems to be NOT using the dbconfig.json file if it isn’t there. Possibly
temporary file is used, as I see dup- files used looking suspiciously SQLite…

If file IS there, one doesn’t get things like dindex files downloading to build DB.
That sort of detail should be provided on any report. Also look in dbconfig.json.

Possibly the developer will say more, but let’s supply whatever info is available.

You are right, there was indeed an old dbconfig.json and also old SQLite files. I’ve deleted the json and the old sqllite files (just keeping the 3 that are used for my local backup). I also updated to 2.2.0.1 (from 2.2.0.0).

After retrying, the dbconfig.json has been recreated, referencing the database /root/.config/Duplicati/PNJZRGJNTU.sqlite, but this file does not exist. The error message is still the same.

I also tried with another backup: I copied all files to the local file system to eliminate network issues and speed up the testing. I also tried the dbpath option. Still not working:

~$ duplicati-cli[…]Version: 2.2.0.1 - 2.2.0.1_stable_2025-11-09

~$ duplicati-cli restore file:///xxx/xxx/xxx/xxx/backup/ --passphrase=xxx --restore-path=“/media/xxx/xxx/xxx/” --version=0 --dbpath=“/home/xxx/xxx/duplicati/dbPath/” --console-log-level=verbose

Restore started at 14.11.2025 17:17:20
Die Operation Restore wurde gestartet
No local database, building a temporary database
Setting custom SQLite option 'cache_size=-319488'.
Backend event: List - Started:  ()
  Listing remote folder ...
Backend event: List - Completed:  (2,459 KB)
Rebuild database started, downloading 1 filelists
Backend event: Get - Started: duplicati-20251112T142417Z.dlist.zip.aes (4,740 MB)
  Downloading file duplicati-20251112T142417Z.dlist.zip.aes (4,740 MB) ...
Backend event: Get - Completed: duplicati-20251112T142417Z.dlist.zip.aes (4,740 MB)
Processing filelist volume 1 of 1
Filelists restored, downloading 1254 index files
Backend event: Get - Started: duplicati-i62e1e85c0b614bd1b69c8d3b9c5519bf.dindex.zip.aes (23,247 KB)
  Downloading file duplicati-i62e1e85c0b614bd1b69c8d3b9c5519bf.dindex.zip.aes (23,247 KB) ...
Backend event: Get - Completed: duplicati-i62e1e85c0b614bd1b69c8d3b9c5519bf.dindex.zip.aes (23,247 KB)
Processing indexlist volume 1 of 1254
[...]
Backend event: Get - Started: duplicati-i514f5f152ee34b6bbba4412eb2c0ece9.dindex.zip.aes (37,606 KB)
  Downloading file duplicati-i514f5f152ee34b6bbba4412eb2c0ece9.dindex.zip.aes (37,606 KB) ...
Backend event: Get - Completed: duplicati-i514f5f152ee34b6bbba4412eb2c0ece9.dindex.zip.aes (37,606 KB)
Processing indexlist volume 1254 of 1254
Processing required 1 blocklist volumes: duplicati-b8eff0c7ebcd64fccb2807968a2f48801.dblock.zip.aes
Processing required 1 blocklist volumes
Backend event: Get - Started: duplicati-b8eff0c7ebcd64fccb2807968a2f48801.dblock.zip.aes (74,178 MB)
  Downloading file duplicati-b8eff0c7ebcd64fccb2807968a2f48801.dblock.zip.aes (74,178 MB) ...
Backend event: Get - Completed: duplicati-b8eff0c7ebcd64fccb2807968a2f48801.dblock.zip.aes (74,178 MB)
Pass 1 of 3, processing blocklist volume 1 of 1
Recreate completed, verifying the database consistency
The operation Restore has failed => Detected 7 volumes with missing filesets

ErrorID: DatabaseInconsistency
Detected 7 volumes with missing filesets

Thanks for cutting it down a little. Simpler leaves less guessing about real cause.

I think what’s happening is that some consistency checking code that was added March 10 is upset about the partial database that the direct restore is creating, as only the specified version is put in the database (it’s the only needed one), yet the other dlist files are still visible. Normally this is inconsistent, but it’s proper here.

You can probably see the same issue in a regular repair with a single version, specifying dbpath to avoid guessing where it is, but making sure it doesn’t exist.

This turns repair into recreate. If you don’t give version the database gets all, which is slower but makes the database look consistent, to avoid triggering check.

After that, you can see if restore works with whatever version you really want.

1 Like

I opened an issue:

1 Like

You’re right; it seems there is an issue with the database rebuild and version=0. Your suggestion worked: I first created the database with repair and without specifying a version, which built the complete database. After that, I started the restore as before with --version=0.

However, I couldn’t get the dbpath parameter to work, so I restored the database to the default location. I’ll try again after the current restore finishes. The restore is now running, and I’ll provide feedback once it’s completed.

Thank you for creating an issue on GitHub and for your help!

1 Like

The restore worked without any problems (first repair without a version, then restore with version=0).

I tried --dbpath=/tmp/restoreMe.sqlite, and it created the database as expected in this location. I have no idea what I did wrong before; I guess it was my mistake. So, dbpath seems to work as it should.

Thanks again for the support.

1 Like

Indeed. Rebuilding the entire database to a temp location and referencing that rebuilt database to restore version 0 worked for me also. I assume the –no-local-db flag I use usually attempts to rebuild only a partial database and in this version it doesn’t work.

Or maybe (contrary to the help), it makes no difference when doing a restore.

  --no-local-db (Boolean): Disable the local database
    When listing contents or when restoring files, the local
    database can be skipped. This is usually slower, but can be
    used to verify the actual contents of the remote store.
    * default value: false

This is a good mention anyway since someone else here just wants list now,
basically exactly what the last line of above help says, at least for a starter…

Any dlist file has path names, but I don’t see how restore runs without DB.
Possibly the developer can enlighten us, but anyway, glad workaround works.

Another interesting thing I found is that on some jobs when I recreate the full databse I get the message that a number of volumes with missing filesets were found but the subsequent restore I do on version 0 works. I am restoring some files from version 0 - only some databases from the full backup which also contains some other data but only the databases are critical to check.

If some work and some don’t, try displaying dlist files sorted by size to see if any look strangely small, although I’d hope that a damaged one would message well.

If you don’t have a huge number, you can also match dates from their names with versions that restore or find could show. If a dlist is missing, we can examine.