Alexander Neumann
Alexander Neumann
Great idea, implementation will need to be discussed. Thanks for reporting this!
This is certainly possible and a good idea, thanks for raising the issue. During restore, we already have all information we need (metadata and content-chunk lists for the files).
Hm, interesting idea. You could just use `restic snapshots > /dev/null` command, if it exits with a non-zero exit code, the repo exists. You could even add more tests, like...
Hm. But then we need to define what a repo is. The snapshots command will do a bit more, true, it'll try to decrypt one of the key files, decrypt...
Almost: When `restic snapshots` returns zero, the repo exists and can be accessed successfully. A non-zero exit code means something went wrong: The repo does not exist, the server isn't...
I think the code is safe if it is not run several times concurrently. It won't accidentally overwrite anything or so. In terms of security, attackers who are able to...
@whereisaaron I agree with you, reopened.
Hm, why not just replace `/` by `_` and `_` by `__`? Isn't `%` a special character in `cmd.exe`, for environment variable expansion? I find this easier to read: *...
Looks good :)
I'll pin this issue for now