kmwoley / restic-windows-backup

Powershell scripts to run Restic backups on Windows
MIT License
330 stars 68 forks source link

task fails but works in powershell #76

Open rebelga opened 1 year ago

rebelga commented 1 year ago

Works in powershell: .\backup.ps1

Task scheduler run produces error: "Repository string could not be parsed."

$Env:RESTIC_REPOSITORY='\remotehost\share\path\there'

I've also tried a dozen variations with URIs and mapped drive to no avail. Any ideas?