Save load and reset dapp::multi_index data
Save dapp::multi_index data
zeus backup-table <CONTRACT> <TABLE>
# optional flags:
--endpoint # endpoint of node
# default: localhost:13115
--output # output file name
# default: vram-backup-${CONTRACT}-${TABLE}-0-1578405972.json
# example
zeus backup-table lqdportfolio users --endpoint=http://kylin-dsp-2.liquidapps.io/{
"contract": "lqdportfolio",
"table": "users",
"timestamp": "2020-01-07T14:06:12.339Z",
"revision": 0,
"manifest": {
"next_available_key": 0,
"shards": 1024,
"buckets_per_shard": 64,
"shardbuckets": [
{
"key": 2,
"value": "015512202a1de9ce245a8d14b23512badc076aee71aad3aba30900e9c938243ce25b467d"
},
{
"key": 44,
"value": "015512205b43f739a9786fbe2c384c504af15d06fe1b5a61b72710f51932c6b62592d800"
},
...
]
}
}Load manifest
Clear table
Last updated
Was this helpful?