after that step i sync the backup to a external server via rclone.
Now i tried to mount the external folder on my windows PC and check the repository. But im not able to because i have no permission.
What to do now ? Im a linux beginner, so please be patient with me.
You have to be a lot more precise regarding what that is supposed to mean. When exactly does the “no permission” problem show up? How is the folder mounted? Are you able to access any file there? Is it a problem reported by restic? What does “check the repository” mean?
First i tried via #1rclone mount remote:RepoPath X: #2 `Starting batch file CheckSnapshots.bat from drive X:’
→ Output is:
Z:\>CheckSnapshots.bat
Z:\>set currentDir=Z:\
Z:\>set resticPath=Z:\restic_0.15.0_windows_amd64.exe
Z:\>set passwoFile=Z:\passwort
Z:\>set resticRepo=Z:\
Z:\>for /F "delims=" %x in (Z:\passwort) do set RESTIC_PASSWORD=%x
Z:\>set RESTIC_PASSWORD=CryptoMagicrsXtVLrgMC25VQ9VPPwjFfkaK
Z:\>Z:\restic_0.15.0_windows_amd64.exe -r Z:\ unlock
Zugriff verweigert
The *.bat itself works fine from local NAS storage pointing to same repo locally.
If i try following it fails (restic executable from remote path)
restic_0.15.0_windows_amd64.exe -r .\ unlock
with local executable the call like following works (env. Path)
restic -r .\ check
Last thing i tried #1serve restic -v remote:RepoPath #2 `restic -r rest:http://localhost:8080/ check’ → Works fine, too
Sorry for the long post. But now i thing the problem points not to the repository itself. It looks more like a problem with calling a executable with mounted rclone drive… . Verbose print of rclone doesnt print anything usefull.
Yes that looks like Windows does not allow running the restic binary from the mounted drive (from rclone’s point of view everything is fine). I seem to remember that there are some restrictions in regard to running executables from network shares, but a quick search didn’t turn up any proper source for that.