Restore (list files) takes too long

Martin     Feb 17 5:16PM 2018 GUI


I'm trying to restore a few files from my backup set, but when I click "List Files" the GUI just hangs until I give up and kill it (some 30 minutes later).

Is it supposed to take such a long time and I should just keep waiting, or is this a bug?


gchen    Feb 17 10:25PM 2018

You can try the 2.1.0 beta which has an optimized workflow for listing and restoring:

At least you'll have a progress indicator showing the number of files processed vs the total number of files.

Martin    Feb 18 10:11AM 2018

Thanks - I've tried the 2.1.0 beta. Definitely better having the indeterminate progress bar rather than just freezing.

I don't see any info on number of files processed though, and the operation still seems to never complete which makes restore impossible :(

gchen    Feb 18 11:14PM 2018

If you don't see the number of files, then it is probably still downloading the file list. Can you run the CLI version to see how long it takes to list the files?

cd /path/to/repository
duplicacy list -r revision -files

The duplicacy executable can be downloaded from

Martin    Feb 23 4:59AM 2018

Running that command took about 10 minutes.

Piping to wc took less time (about 1 minute) and gave a count of 2248064.

Martin    Feb 27 9:33AM 2018

Any more thoughts on what the issue in the GUI could be?

gchen    Feb 27 11:45AM 2018

Can you remove the content of .duplicacy/cache and run the list command (with the -files option) to see how fast it is? The code in the GUI version to parse the CLI output is known to be inefficient -- I just wanted to know how much slower it is without the cache effect.

Martin    Mar 4 10:28AM 2018

Made a little difference - piping to wc was around 2 minutes whilst letting it print the output took 16 minutes.

gchen    Mar 5 10:01PM 2018

I plan to optimize the code that parses the CLI output in version 2.1.1.

Martin    Mar 6 10:24AM 2018

Thanks - let me know if you want me to test anything when you have it ready.

Log in to comment
Copyright © Acrosync LLC 2016-2017