Problems restoring from ext4 drive

I got into the same situation to restore after a full crash, but unfortunately it does not work as intended! I really need my backup now…

I tried the process with the GUI as you described but “List revisions” and “List files” results in nothing.

The verbose log looks fine until this line:

16:45:57.853    id: , revisions: [], tag: , showFiles: false, showChunks: false

Please help me, I don’t wont to mess around with my precious backup…

You can always use the CLI version to restore:

mkdir -p path/to/restore/to
cd path/to/restore/to
duplicacy init repository_id storage_url 
duplicacy restore -r n   # n is the revision number that you want to restore

On Windows, the Duplicacy CLI executable can be found under either C:\Program Files (x86)\Duplicacy or C:\Users\username\AppData\Local\Duplicacy, depending on if you installed Duplicacy for all users or for the current user only.

On macOS, the Duplicacy CLI executable is usually under /Applications/Duplicacy.app/Contents/Resources.

The repository_id can be found under the snapshots directory on the storage.

Thanks for your fast reply, but it didn’t get my any further unfortunately.

E.g., I get this:

D:\Restore>C:\Users\Timo\AppData\Local\Duplicacy\duplicacy_win_x64_2.0.9.exe -v list -a
Storage set to N:\Duplicacy
Listing all snapshot ids

D:\Restore>

With correct ID pre-entered:

D:\Restore>C:\Users\Timo\AppData\Local\Duplicacy\duplicacy_win_x64_2.0.9.exe -v list -id TIMO-LENOVO-Timo-SymLinks
Storage set to N:\Duplicacy
Listing revisions for snapshot TIMO-LENOVO-Timo-SymLinks

D:\Restore>

My chunks and snapshots folders are not empty…

Please advise me how to access my backup :’(

Are there any files under n:\Duplicacy\snapshots\TIMO-LENOVO-Timo-SymLinks?

Yes, 21 files in \snapshots\TIMO-LENOVO-Timo-SymLinks:
1, 22, 33, 42, 52, 53, 60-74

And another 39 files in my wife’s backup snapshot - none of both backups is detected by Duplicacy.

Is TIMO-LENOVO-Timo-SymLinks a symbolic link? What is the output of dir N:\Duplicacy\snapshots /a?

It’s not a symbolic link. Duplicacy was backing up a folder called SymLinks which includes 4 symbolic links to folders and the .duplicacy folder.

Output is:

N:\Duplicacy\snapshots>dir N:\Duplicacy\snapshots /a
 Datenträger in Laufwerk N: ist Sicherung I
 Volumeseriennummer: 3F77-A7C4

 Verzeichnis von N:\Duplicacy\snapshots

03.09.2017  15:19    <DIR>          .
03.09.2017  09:22    <DIR>          ..
24.10.2017  21:12    <DIR>          TIMO-LENOVO-Timo-SymLinks
26.10.2017  15:34    <DIR>          HYEONAES-TABLET-hyeon-Symlinks
               0 Datei(en),              0 Bytes
               4 Verzeichnis(se), 1.052.060.123.136 Bytes frei

N:\Duplicacy\snapshots>

Can you try this version: https://acrosync.com/duplicacy/duplicacy_win_x64_2.1.0.exe?

Run the list command as:

duplicacy_win_x64_2.1.0.exe -d list -a

It will print out files/directories while listing the snapshots directory.

Looks like this:

D:\Restore>C:\Users\Timo\AppData\Local\Duplicacy\duplicacy_win_x64_2.1.0.exe -d list -a
Storage set to N:\Duplicacy
Reading the environment variable DUPLICACY_PASSWORD
Reading password from keychain/keyring
Using a static salt and 16384 iterations for key derivation
Chunk read levels: [2 3], write level: 2
Compression level: 100
Average chunk size: 4194304
Maximum chunk size: 16777216
Minimum chunk size: 1048576
Chunk seed: 36a44ef1d058a5e57096fc226fbdaa9bb7c4acafd6fa82fec8542ef34dc1e9b3
Reading the environment variable DUPLICACY_PASSWORD
id: , revisions: [], tag: , showFiles: false, showChunks: false
Listing all snapshot ids

D:\Restore>

Any idea?

Can you try this build: https://acrosync.com/duplicacy/duplicacy_win_x64_2.1.0a.exe?

I suspect it was the extra slash at the end of the path that caused the issue. This 2.1.0a build removes the extra slash.

Thanks for you continuous support!

I think you almost nailed it:

D:\Restore>C:\Users\Timo\AppData\Local\Duplicacy\duplicacy_win_x64_2.1.0a.exe -d list -a
Storage set to N:\Duplicacy
Reading the environment variable DUPLICACY_PASSWORD
Reading password from keychain/keyring
Using a static salt and 16384 iterations for key derivation
Chunk read levels: [2 3], write level: 2
Compression level: 100
Average chunk size: 4194304
Maximum chunk size: 16777216
Minimum chunk size: 1048576
Chunk seed: 36a44ef1d058a5e57096fc226fbdaa9bb7c4acafd6fa82fec8542ef34dc1e9b3
Reading the environment variable DUPLICACY_PASSWORD
id: , revisions: [], tag: , showFiles: false, showChunks: false
Listing all snapshot ids
Listing N:\Duplicacy/snapshots error: Readdir N:\Duplicacy/snapshots: Das System kann den angegebenen Pfad nicht finden.

D:\Restore>

Looks like there still is a problem with the slashes \ vs. /

I can get you a new build that converts / to \, but according to the Windows doc, / is a valid path separator.

What kind of drive is this N: is? A local disk or a networked drive?

N: is a 2TB USB3.0 HDD now directly attached to my laptop. The file system is ext4 as it was connected to a Raspberry Pi for shared network backup via SFTP.

Windows doesn’t seem to support ext4 natively. What software do you use to mount the drive?

Full-licensed versions of Paragon ExtFS for Windows and since yesterday Linux File Systems for Windows by Paragon Software

You can install Ubuntu in Virtualbox, directly connect your external drive to Ubuntu, and run the Linux version of Duplicacy to do the restore.

This build should work better: https://acrosync.com/duplicacy/duplicacy_win_x64_2.1.0b.exe

Thanks, but output looks again like version 2.1.0:

D:\Restore>C:\Users\Timo\AppData\Local\Duplicacy\duplicacy_win_x64_2.1.0b.exe -d list -a
Storage set to N:\Duplicacy
Reading the environment variable DUPLICACY_PASSWORD
Reading password from keychain/keyring
Using a static salt and 16384 iterations for key derivation
Chunk read levels: [2 3], write level: 2
Compression level: 100
Average chunk size: 4194304
Maximum chunk size: 16777216
Minimum chunk size: 1048576
Chunk seed: 36a44ef1d058a5e57096fc226fbdaa9bb7c4acafd6fa82fec8542ef34dc1e9b3
Reading the environment variable DUPLICACY_PASSWORD
id: , revisions: [], tag: , showFiles: false, showChunks: false
Listing all snapshot ids

D:\Restore>

Will try the Ubuntu restore later!

OK, got it to list all snapshots and revisions with Ubuntu! :slight_smile:

After discovering the latest revision number with Duplicacy under Ubuntu, I was finally able to start the restore under Windows by using the latest Duplicacy CLI build 2.1.0b and entering the correct revision number!

Any idea why Duplicacy CLI is working but not the GUI and not the “list” command?

Quick update: I was able to restore 30GB out of 927GB until I run into missing chunks, e.g.

G:\Restore>C:\Users\Timo\AppData\Local\Duplicacy\duplicacy_win_x64_2.1.0b.exe restore -overwrite -r 74
Storage set to N:\Duplicacy
Restoring G:\Restore to revision 74
Chunk 434548aa7855f2bb3e36d6355acc901918f077e602fdd45e29652317a84c6f89 can't be found

G:\Restore>

Tried different revisions for restore but that 30GB is all I’ve got out of my backup.

-> Any tips before I give up on my Duplicacy backup?