Viewing a response to: @emrebeyler/re-tosch-re-emrebeyler-re-tosch-re-emrebeyler-steps-to-restore-a-hivemind-database-snapshot-20190123t134542215z
So far so good, a couple of minor things. It seems I had PostgreSQL 9.5 on my system. Then installing with your instructions worked fine. And all the continuing step also. Only thing that did not really work was your import command. Due to the password missing. Setting <a href="https://gist.github.com/AtulKsol/4470d377b448e56468baef85af7fd614">md5</a> as method requires the password input. Therefore I used a query like this to import, as you can read in the cited source: ``` psql --host=localhost --dbname=hive --username=hive -f hive_latest.sql ```
author | tosch |
---|---|
permlink | re-emrebeyler-re-tosch-re-emrebeyler-re-tosch-re-emrebeyler-steps-to-restore-a-hivemind-database-snapshot-20190123t140045378z |
category | hivemind |
json_metadata | {"tags":["hivemind"],"links":["https://gist.github.com/AtulKsol/4470d377b448e56468baef85af7fd614"],"app":"steemit/0.1"} |
created | 2019-01-23 14:00:45 |
last_update | 2019-01-23 14:00:45 |
depth | 5 |
children | 5 |
last_payout | 2019-01-30 14:00:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 559 |
author_reputation | 3,148,075,991,236 |
root_title | "Steps to restore a Hivemind database snapshot" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 78,815,276 |
net_rshares | 0 |
it the import (psql..) prints errors while importing the database, what you have is/will be a corrupted database. Somebody tried with 10.5 and failed.
author | emrebeyler |
---|---|
permlink | re-tosch-re-emrebeyler-re-tosch-re-emrebeyler-re-tosch-re-emrebeyler-steps-to-restore-a-hivemind-database-snapshot-20190123t140312865z |
category | hivemind |
json_metadata | {"tags":["hivemind"],"app":"steemit/0.1"} |
created | 2019-01-23 14:03:12 |
last_update | 2019-01-23 14:06:57 |
depth | 6 |
children | 4 |
last_payout | 2019-01-30 14:03:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 151 |
author_reputation | 448,535,049,068,622 |
root_title | "Steps to restore a Hivemind database snapshot" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 78,815,421 |
net_rshares | 0 |
That is also something I noticed. I dumped my previously synced database before importing.
author | tosch |
---|---|
permlink | re-emrebeyler-re-tosch-re-emrebeyler-re-tosch-re-emrebeyler-re-tosch-re-emrebeyler-steps-to-restore-a-hivemind-database-snapshot-20190123t140414466z |
category | hivemind |
json_metadata | {"tags":["hivemind"],"app":"steemit/0.1"} |
created | 2019-01-23 14:04:15 |
last_update | 2019-01-23 14:04:15 |
depth | 7 |
children | 3 |
last_payout | 2019-01-30 14:04:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 90 |
author_reputation | 3,148,075,991,236 |
root_title | "Steps to restore a Hivemind database snapshot" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 78,815,482 |
net_rshares | 0 |
Yeah, you need postgresql 10.6 :)
author | emrebeyler |
---|---|
permlink | re-tosch-re-emrebeyler-re-tosch-re-emrebeyler-re-tosch-re-emrebeyler-re-tosch-re-emrebeyler-steps-to-restore-a-hivemind-database-snapshot-20190123t140503287z |
category | hivemind |
json_metadata | {"tags":["hivemind"],"app":"steemit/0.1"} |
created | 2019-01-23 14:05:03 |
last_update | 2019-01-23 14:05:03 |
depth | 8 |
children | 2 |
last_payout | 2019-01-30 14:05:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 33 |
author_reputation | 448,535,049,068,622 |
root_title | "Steps to restore a Hivemind database snapshot" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 78,815,524 |
net_rshares | 0 |