Skip to content

Commit e7dfb8c

Browse files
Fix quotes in kattbot-backup-db.sh
1 parent c1829b8 commit e7dfb8c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

scripts/kattbot-backup-db.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
pg_dump kattbot > /tmp/kattbot.bak
55
# pg_dump --data-only --exclude-table-data=public.\"__EFMigrationsHistory\" kattbot > /tmp/kattbot.bak
66

7-
# create folder if it doesnt'exit
8-
mkdir -p $HOME/kattbot-db-backups
7+
# create folder if it doesn't exist
8+
mkdir -p "$HOME/kattbot-db-backups"
99

1010
# move backup file to backups folder
11-
mv /tmp/kattbot.bak $HOME/kattbot-db-backups/kattbot-$(date +%Y-%m-%d-%H:%M).bak
11+
mv /tmp/kattbot.bak "$HOME/kattbot-db-backups/kattbot-$(date +%Y-%m-%d-%H:%M).bak"

0 commit comments

Comments
 (0)