Restic -r \192.168.0.100\restic ls 12345678 /D/dir1/dir2
The above command does not list sub folder but dumps the full root list.
Restic -r \192.168.0.100\restic ls 12345678 /D/dir1/dir2
The above command does not list sub folder but dumps the full root list.
Is this in Windows or Linux? A little more information would probably help to troubleshoot this issue
What are you trying to do? Which version of restic do you use? If you want recursive listing, pass --recursive
to the restic ls
command… (for a recent version of restic only)
It is happening recursively I want to results only of a subfolder.
Secondly i want to know how to restore command only of a subfolder
I tried but i didn’t work…
So, let’s start at the beginning: Which version of restic are you using?
I understood that you want to list only a specific directory in a snapshot, without going into the sub-directories. Is that correct?
You can do that by using restic 0.9.3 (released yesterday) as follows:
$ restic ls 12345678 /D/dir1/dir2
Can you try that and report back?
Hi
I’ll Update u later
Yes it works
How about restoring a particular sub folder
-i does what I need
Include option
Glad you were able to figure it out