Greetings,
First of all thank you for creating this tool. I’m really liking it so far. I did run into an issue or this is more of a question rather.
Before that, let me explain why I’m doing what I’m doing.
Recently, I had my hard-disk(non-backup) crash so I had to restore from my backup. And since this machine only had 2GB of RAM it kept throwing OOM (out of memory) error. So I figured I could just take the backup disk and restore it from my more powerful machine. Only problem is I didn’t have the right adapter to connect my RAID disk to this new powerful machine which meant I didn’t have enough hard-disk space in my powerful machine to initiate restore process in that machine. So, I figured I could restore it directly through scp/sftp on --target
but that doesn’t appear to be exactly doing what I had hoped.
This is what I’ve tried so far.
restic -r /path/of/backup restore <snapshot_id> --target 'sftp:user@host:/restore/target/path'
But that keeps creating a new directory in my $HOME
instead. Maybe I’m missing something or just wondering if this feature is even supported yet.