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

Waiting for connection to repository (01.cloudstorage.reevo.it) #87

Open
EnricoSx opened this issue Jul 29, 2023 · 1 comment
Open

Waiting for connection to repository (01.cloudstorage.reevo.it) #87

EnricoSx opened this issue Jul 29, 2023 · 1 comment

Comments

@EnricoSx
Copy link

EnricoSx commented Jul 29, 2023

RESTIC_REPOSITORY-> s3:https://01.cloudstorage.reevo.it/buckettest
$repository_host -> 01.cloudstorage.reevo.it
$connection_string -> https://01.cloudstorage.reevo.it/buckettest

[[Internet]] Waiting for connection to repository (01.cloudstorage.reevo.it)... 10
[[Internet]] Waiting for connection to repository (01.cloudstorage.reevo.it)... 9
[[Internet]] Waiting for connection to repository (01.cloudstorage.reevo.it)... 8
[[Internet]] Waiting for connection to repository (01.cloudstorage.reevo.it)... 7
[[Internet]] Waiting for connection to repository (01.cloudstorage.reevo.it)... 6
[[Internet]] Waiting for connection to repository (01.cloudstorage.reevo.it)... 5
[[Internet]] Waiting for connection to repository (01.cloudstorage.reevo.it)... 4
[[Internet]] Waiting for connection to repository (01.cloudstorage.reevo.it)... 3

instal work correctly and create bucket

i run from powershell as administrator
PS C:\restic> powershell -ExecutionPolicy Bypass -NonInteractive -NoLogo -NoProfile -Command ".\backup.ps1; exit $LASTEXITCODE"

restic backup from cmd work correctly

@iampnp
Copy link

iampnp commented Dec 7, 2024

in the backup.ps1 file

function Invoke-ConnectivityCheck {
    Param($SuccessLog, $ErrorLog)
    
+    $InternetTestAttempts = 0
    
    if($InternetTestAttempts -le 0) {
        "[[Internet]] Internet connectivity check disabled. Skipping." | Out-File -Append $SuccessLog    
        return $true
    }

I added
"$InternetTestAttempts = 0"
helped skipping check the internet checking. rest works fine!

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

2 participants