HunterBeast on Nostr: Noted! For others on Linux, the command to do the above would be: tar --zstd -cvf ...
Noted! For others on Linux, the command to do the above would be: tar --zstd -cvf gossip-db-backup.tar.zst .local/share/gossip/lmdb
zstd compression is definitely worth it; gzip compression for my LMDB directory produced a file 362 MB in size and took 1.6 minutes. zstd produced an archive 49 MB in size and took only 10 seconds.
I also experimented with xz compression; that produced an archive 37 MB in size, but that took over 4 minutes to compress.
Published at
2023-08-13 01:51:37Event JSON
{
"id": "0000001a88511648dcd7d26947150f8489a32b1a735c6e68163fe1d7bc248780",
"pubkey": "000000000332c7831d9c5a99f183afc2813a6f69a16edda7f6fc0ed8110566e6",
"created_at": 1691891497,
"kind": 1,
"tags": [
[
"client",
"gossip"
],
[
"p",
"ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49"
],
[
"e",
"7ec9cdd62a91cafc9f01e58576827d6430b1357200fa30ea5acc416ef8748dee",
"wss://relay.damus.io/",
"root"
],
[
"nonce",
"13258597302982247584",
"24"
]
],
"content": "Noted! For others on Linux, the command to do the above would be: tar --zstd -cvf gossip-db-backup.tar.zst .local/share/gossip/lmdb\nzstd compression is definitely worth it; gzip compression for my LMDB directory produced a file 362 MB in size and took 1.6 minutes. zstd produced an archive 49 MB in size and took only 10 seconds.\nI also experimented with xz compression; that produced an archive 37 MB in size, but that took over 4 minutes to compress.",
"sig": "5d01533b168af1fe6361a210dfd685d52f411cebec36f4bb3de545865d51c927691da2c4b16c8c1d26fb985802a12796d7379fc1cef349d768a03636d95e200d"
}