fix backup
This commit is contained in:
parent
9c487f6393
commit
23abfa4242
1 changed files with 1 additions and 4 deletions
|
|
@ -10,10 +10,7 @@
|
|||
: "${TARGET_FOLDER?TARGET_FOLDER is required}"
|
||||
|
||||
# Check for restore/backup argument
|
||||
ACTION=$1
|
||||
if [ -z "$ACTION" ]; then
|
||||
$ACTION="backup"
|
||||
fi
|
||||
ACTION=${1:-backup} # Default to 'backup' if no argument is passed
|
||||
|
||||
# Define the PostgreSQL dump command based on the version
|
||||
if [ "$POSTGRES_VERSION" = "17" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue