Skip to content

Commit a13f250

Browse files
author
Rub21
committed
Rename db backup files
1 parent 040b4c2 commit a13f250

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

images/backup-restore/start.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
export PGPASSWORD=$POSTGRES_PASSWORD
33

44
date=$(date '+%y%m%d_%H%M')
5-
backupFile=osmseed-${date}.sql.gz
5+
backupFile=osmseed-db-${date}.sql.gz
66
stateFile="state.txt"
77
restoreFile="backup.sql.gz"
88

9+
echo "Start... $DB_ACTION action"
910
# Backing up DataBase
1011
if [ "$DB_ACTION" == "backup" ]; then
1112
# Backup database and make maximum compression at the slowest speed

0 commit comments

Comments
 (0)