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.
2 parents cb79a88 + 11541a5 commit e00405dCopy full SHA for e00405d
scripts/postgresql-setup.sh
@@ -192,6 +192,7 @@ function restore_snapshot {
192
tar xvf "$1" --directory "$tmp_dir"
193
if test -d "${tmp_dir}/db/" ; then
194
# New pg_dump format
195
+ lstate_gz_file=$(find "${tmp_dir}/" -iname "*.lstate.gz")
196
if [ -n "${lstate_gz_file:-}" ] ; then
197
lstate_file=$(basename "${lstate_gz_file}" | sed 's/.gz$//')
198
gunzip --to-stdout "${lstate_gz_file}" > "$2/${lstate_file}"
0 commit comments