Compare commits
No commits in common. "479e709b4eb17fd12ba308548868c47205b0d51e" and "e5a04822369f7ab76bcba8cd9cc3b1c4c7c0ed5e" have entirely different histories.
479e709b4e
...
e5a0482236
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,3 @@
|
||||
/flake.lock
|
||||
/go.sum
|
||||
/.env
|
||||
/*.dump
|
||||
|
||||
@ -45,8 +45,6 @@
|
||||
|
||||
export GOOS=linux
|
||||
export GOARCH=amd64
|
||||
export CGO_CFLAGS=-Wno-error=cpp;
|
||||
|
||||
|
||||
# Exec zsh to replace the current shell process with zsh.
|
||||
# This ensures your prompt and zsh configurations load correctly.
|
||||
|
||||
@ -1,8 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Ensure the environment is sourced
|
||||
source .env
|
||||
|
||||
pg_dump \
|
||||
-h "$PSQL_HOST" \
|
||||
-U "$PSQL_USERNAME" \
|
||||
|
||||
@ -1,11 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Ensure the environment is sourced
|
||||
source .env
|
||||
|
||||
pg_restore \
|
||||
-v -d "$PSQL_DATABASE_BACKUP" \
|
||||
-U "$PSQL_USERNAME" \
|
||||
-h "$PSQL_HOST" \
|
||||
-U "$PSQL_USERNAME" \
|
||||
-v -d "$PSQL_DATABASE_BACKUP" \
|
||||
-c -F c backup.dump
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user