I am trying restore a specific directory from a snapshot of /storage/media
The full path of the directory I am trying to restore is:
"/storage/media/tvshows/X-Men - The Animated Series (1992) [tvdbid-76115]"
I checked the snapshot I am trying to restore from with restic ls
I tried with both the path inside of quotes and without and escaped
restic ls latest /storage/media/tvshows/X-Men\ -\ The\ Animated\ Series\ \(1992\)\ \[tvdbid-76115\]
snapshot 370f0c5c of [/storage/media] filtered by [/storage/media/tvshows/X-Men - The Animated Series (1992) [tvdbid-76115]/] at 2024-02-08 01:52:06.884960471 +0000 UTC):
/storage/media/tvshows/X-Men - The Animated Series (1992) [tvdbid-76115]
/storage/media/tvshows/X-Men - The Animated Series (1992) [tvdbid-76115]/Season 01
/storage/media/tvshows/X-Men - The Animated Series (1992) [tvdbid-76115]/Season 02
/storage/media/tvshows/X-Men - The Animated Series (1992) [tvdbid-76115]/Season 03
/storage/media/tvshows/X-Men - The Animated Series (1992) [tvdbid-76115]/Season 04
/storage/media/tvshows/X-Men - The Animated Series (1992) [tvdbid-76115]/Season 05
restic ls latest "/storage/media/tvshows/X-Men - The Animated Series (1992) [tvdbid-76115]"
snapshot 370f0c5c of [/storage/media] filtered by [/storage/media/tvshows/X-Men - The Animated Series (1992) [tvdbid-76115]] at 2024-02-08 01:52:06.884960471 +0000 UTC):
/storage/media/tvshows/X-Men - The Animated Series (1992) [tvdbid-76115]
/storage/media/tvshows/X-Men - The Animated Series (1992) [tvdbid-76115]/Season 01
/storage/media/tvshows/X-Men - The Animated Series (1992) [tvdbid-76115]/Season 02
/storage/media/tvshows/X-Men - The Animated Series (1992) [tvdbid-76115]/Season 03
/storage/media/tvshows/X-Men - The Animated Series (1992) [tvdbid-76115]/Season 04
/storage/media/tvshows/X-Men - The Animated Series (1992) [tvdbid-76115]/Season 05
However I could not get restic to restore the folder, I tried both of the commands below and neither restored any files
restic restore latest --target /storage/restore/ --include /storage/media/tvshows/X-Men\ -\ The\ Animated\ Series\ \(1992\)\ \[tvdbid-76115\]
restic restore latest --target /storage/restore/ --include "/storage/media/tvshows/X-Men - The Animated Series (1992) [tvdbid-76115]/"
I have assumed that this is related to spaces and square brackets in the path but I am unsure, would appreciate any insight or advice about what I am doing wrong.