Hi. Consider me a Restic rookie. Right now, I’m restoring a 44 GB file (a VM image) using:
$ restic restore latest --password-file=password --include /path/to/vm_image.vdi --target "$HOME/restore"
repository 3a4bd577 opened (version 1)
restoring <Snapshot 3f6cc21e of [/home/hb] at 2023-02-13 18:00:05.34288589 -0800 -0800 by hb@laptop> to /home/hb/restore
This has been going on for a couple of hours (and I expect it to take many more hours to download). However, it looks like restic restore
allocates a 44 GB target file immediately, because immediately after launching restore, I saw:
ls -l /home/hb/restore/vm_image.vdi
-rw------- 1 hb hb 44220547072 Feb 17 21:19 /home/hb/restore/vm_image.vdi
and this is still the case.
So, to add to the wishlist here: it would be nice to get per-file restore progress updates.
Related question: What happens if I interrupt the current restic restore
process; will it resume where the file was interrupted, or will it start over from scratch?