Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restic backup.ps1 and sftp with NO-IP address #80

Open
LMSDF opened this issue Apr 16, 2023 · 0 comments
Open

Restic backup.ps1 and sftp with NO-IP address #80

LMSDF opened this issue Apr 16, 2023 · 0 comments

Comments

@LMSDF
Copy link

LMSDF commented Apr 16, 2023

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!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant