restic-windows-backup icon indicating copy to clipboard operation
restic-windows-backup copied to clipboard

Restic backup.ps1 and sftp with NO-IP address

Open LMSDF opened this issue 2 years ago • 0 comments

Hi there I have a problem with this script and i dont know what can be I can : C:\restic>restic.exe -r sftp:[email protected]:/home/osmc/lmfaustino backup c:\Intel enter password for repository: repository 98822536 opened (version 2, compression level auto) created new cache in C:\Users\Luis Faustino\AppData\Local\restic no parent snapshot found, will read all files

Files: 4 new, 0 changed, 0 unmodified Dirs: 4 new, 0 changed, 0 unmodified Added to the repository: 149.354 KiB (12.905 KiB stored)

processed 4 files, 147.127 KiB in 0:02 snapshot 5f92352c saved

But when i change $Env:RESTIC_REPOSITORY='sftp:[email protected]:/home/osmc/lmfaustino' on script it failed with message: PS C:\Windows\system32> C:\restic\backup.ps1 [[Backup]] Failed - cannot access repository. [[Backup]] Sleeping for 15 min and then retrying... [[History]] Backup success rate: 38 / 51 (74,51%)

Can any one help!!!

LMSDF avatar Apr 16 '23 11:04 LMSDF