Skip to content

curl error message #1087

Closed Answered by ElToro1966
ElToro1966 asked this question in Q&A
Feb 11, 2025 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

Yeah, you're right, it's version 2.4.1. As for the curl error; an environment variable in the backup script wasn't specified ($BACKUP_HEALTH_CHECK), thus the error. The backup script:

#!/bin/bash

# full/incremental backup parameter
if [[ $1 == "full" ]]; then
    IS_FULL=true
elif [[ $1 == "incremental" ]]; then
    IS_FULL=false
else
    echo "full/incremental not specified"
    exit 1;
fi

# local/remote backup parameter
if [[ $2 == "local" ]]; then
    CREATE_COMMAND="create"
elif [[ $2 == "remote" ]]; then
    CREATE_COMMAND="create_remote"
else
    echo "local/remote not specified"
    exit 1;
fi

DATETIME=$(date -u +%Y-%m-%dT%H-%M-%S)
BACKUP_NAME_FULL="auto_full_$DATETIME"
BACKUP_N…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ElToro1966
Comment options

@Slach
Comment options

@ElToro1966
Comment options

Answer selected by Slach
@Slach
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants