I have a backup (snapshot) in a store:
Store: hosted
Snapshot: TEST
Revision: 61
What I want to be able to do is pull one or more files, matching a pattern from the backup to a new location. (its complicated)
So, I create an empty folder:
mkdir TEST
cd TEST
duplicacy init TEST /path/to/storage/hosted
duplicacy restore -r61 “path/to/file/to/restore”
Duplicacy errors saying it can’t create the file. This is because the folders path/to/file/to does not already exist.
In this simple example, I could do
mkdir -p path/to/file/to
and the restore will then work, however the list of files to restore may include wildcards, so this is not really practical.
Is there an option to have duplicacy create the folders when it is restoring?