mirror of
https://github.com/LBRYFoundation/hub.git
synced 2025-08-23 09:27:23 +00:00
Update to use zstd archives for the snapshot file
This commit is contained in:
parent
8522b4268d
commit
7822ec79da
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ SNAPSHOT_URL="${SNAPSHOT_URL:-}" #off by default. latest snapshot at https://lbr
|
|||
if [[ "$HUB_COMMAND" == "scribe" ]] && [[ -n "$SNAPSHOT_URL" ]] && [[ ! -d /database/lbry-rocksdb ]]; then
|
||||
files="$(ls)"
|
||||
echo "Downloading and extracting hub snapshot from $SNAPSHOT_URL"
|
||||
wget --no-verbose -c "$SNAPSHOT_URL" -O - | tar x -C /database
|
||||
wget --no-verbose -c "$SNAPSHOT_URL" -O - | tar --use-compress-program=unzstd x -C /database
|
||||
fi
|
||||
|
||||
if [ -z "$HUB_COMMAND" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue