Hi guys,
i backuped a lot of applications into one restic repository. If i restore one of the applications i always get the folder structure of the absolute source path.
For example if i restore following tool to “D:\restore”:
See Restoring from backup — restic 0.16.0 documentation : restore <snapshot>:<subfolder>, so try adding :Z:\Software right after the snapshot ID in your restore command. I haven’t tried it with Windows and its drive letters, so can’t say exactly how it works there.
EDIT: Note that for this to have a chance of working you must be using restic 0.16.0 or newer.
Puh i didnt expect a different path handling here. Is there any chance of creating a backup without saving the full path ? Best would be to only save the last folder. for example “Matlab”
@KamikazeePL Good idea. I can see that the path string is different to windows. No ‘:’ for example.
Is there no option to backup using the absolute path but without including the full path in the backup? I had the same problem with borg and it would be amazing if we could have this option. For example:
I don’t want to create bash scripts like this:
cd /folder/to/backup
restic backup .
It would be much better to have an option where we could use an absolute path without including the full path in the backup like this:
restic backup --partial-path /folder/to/backup
or something like that.
Any chance of an option like this?