Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
tekton-postgresql
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2114ae25
authored
2022-02-23 15:50:48 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
s/file/target/ in database extraction.
1 parent
36b92788
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
scripts/export-dumps.sh
scripts/export-dumps.sh
View file @
2114ae2
...
...
@@ -17,11 +17,11 @@ for item in "$@"; do
remote
=
"
${
item
#*
:
}
"
case
"
$target
"
in
(
*
.sql.gz
)
database
=
"
$(
basename
"
$
file
"
.sql.gz
)
"
database
=
"
$(
basename
"
$
target
"
.sql.gz
)
"
_pgdump
"
$database
"
| gzip -9v >
"/workspace/exports/
$database
.sql.gz"
;;
(
*
.sql
)
database
=
"
$(
basename
"
$
file
"
.sql
)
"
database
=
"
$(
basename
"
$
target
"
.sql
)
"
_pgdump
"
$database
"
>
"/workspace/exports/
$database
.sql"
;;
(
*
)
...
...
Please
register
or
sign in
to post a comment