Struggeling to figure out restore cli commands

Hi,
I’ve read my way to that I need to run the restore command from the cli under order to get around gid/pid permission issues when restoring to/from my unraid machine. However, I can’t figure out how to do the command properly.

I have one storage repo called backup, in that storage repo I backup different folders separately. I would like to restore revision 99 from the appdata folder. My current command is: duplicacy restore -r 99 -stats -threads 4 -persist ”/backuproot/user/appdata/*” but I’m not sure where to set the repo and folder settings. Can anyone please help me?

Thanks!

This is explained in Duplicacy quick-start (CLI). Basically if your source directory is already initialized to run Duplicacy, you can just run the restore command this way:

$ duplicacy restore -r 99 -stats -threads 4 -persist

If you’re restoring to a new directory then you’ll need to initialize the directory first:

$ cd path/to/your/restore/dir   # this can be on the same or a different computer  
$ duplicacy init backup_id storage_url
$ duplicacy restore -r 99 -stats -threads 4 -persist
1 Like

Thanks. I must’ve missed it