Hi
If I understand correctly you have something like:
/data
|__/your_folder/
I don’t think restic supports adjusting the folder hierarchy. You can include
stuff to select what is going to be restored, but afaik it can’t remove an empty parent. This is because /data
might have some other stuff on it, so keeping the hierarchy is (imho) better choice.
If you don’t have many folders to backup and you really don’t like a parent folder, why not backing up like restic backup /data/your_folder
? If my above assumption is correct of course.