We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 040b4c2 commit a13f250Copy full SHA for a13f250
images/backup-restore/start.sh
@@ -2,10 +2,11 @@
2
export PGPASSWORD=$POSTGRES_PASSWORD
3
4
date=$(date '+%y%m%d_%H%M')
5
-backupFile=osmseed-${date}.sql.gz
+backupFile=osmseed-db-${date}.sql.gz
6
stateFile="state.txt"
7
restoreFile="backup.sql.gz"
8
9
+echo "Start... $DB_ACTION action"
10
# Backing up DataBase
11
if [ "$DB_ACTION" == "backup" ]; then
12
# Backup database and make maximum compression at the slowest speed
0 commit comments