You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/data # apk --no-cache add --update tar
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
(1/1) Installing tar (1.32-r0)
Executing busybox-1.30.1-r3.trigger
OK: 245 MiB in 79 packages
/data # tar -I zstd -xvf github-ranks-backup.bin.zst
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
seems like file didn't download correctly. my bad
/data # ls -l github-ranks-backup.bin
-rw-r--r-- 1 root root 1862623243 Oct 12 04:11 github-ranks-backup.bin
UPDATE
file is correctly extracting to bin file - but not sure why it can't read it.....
keeps throwing error: 400: {"id":"V4wKCvKw","code":"bad_request","status":400,"detail":"invalid input: magic number mismatch"}
/data # sha1sum github-ranks-backup.bin 06e091675e72219e97a8a4e7e25e84efbc416251 github-ranks-backup.bin
UPDATE - some progress reverting to use this - some progress.
rankdb-cli --timeout=5m restore multilist --src="file" --src_file="/data/github-ranks-backup.bin.zst"
unfortunately doesn't succeed and seems to shutdown docker container
/data # zstd
/bin/sh: zstd: not found
it makes it hard to get the github-ranks-backup.bin on docker.
where to put the file so the api process can find file? ??? I tried to use the data / api / usr/bin
on imac we don't have /mnt
so I start using
UPDATE - file can be found by api process - but doesn't seem golang zstd is compatible with extracted contents from zstd.
related
https://github.com/klauspost/compress/blob/master/zstd/zstd.go#L49
UPDATE2.
seems like file didn't download correctly. my bad
/data # ls -l github-ranks-backup.bin
-rw-r--r-- 1 root root 1862623243 Oct 12 04:11 github-ranks-backup.bin
UPDATE
file is correctly extracting to bin file - but not sure why it can't read it.....
keeps throwing
error: 400: {"id":"V4wKCvKw","code":"bad_request","status":400,"detail":"invalid input: magic number mismatch"}
/data # sha1sum github-ranks-backup.bin
06e091675e72219e97a8a4e7e25e84efbc416251 github-ranks-backup.bin
UPDATE - some progress reverting to use this - some progress.
rankdb-cli --timeout=5m restore multilist --src="file" --src_file="/data/github-ranks-backup.bin.zst"
unfortunately doesn't succeed and seems to shutdown docker container
UPDATE - PROGRESS
The text was updated successfully, but these errors were encountered: