decred / dcrdata

Decred block explorer, with packages and apps for data collection and storage. Written in Go.
https://dcrdata.decred.org/
ISC License
129 stars 128 forks source link

Need postgresql backup and restore scripts #435

Open chappjc opened 6 years ago

chappjc commented 6 years ago

The /dev folder should have scripts to backup and restore the PostgreSQL database, with matching data from ~/.dcrdata/data/net

orthomind commented 6 years ago

I'm considering looking into this issue. Overall, I'd be interested in managing various scripts/tasks using https://github.com/go-task/task rather than raw scripts. If you're happy, and I take this on, I'd look at starting with go-task by creating an entry to backup and restore.

chappjc commented 6 years ago

sounds good @orthomind

orthomind commented 5 years ago

Is this still needed and of interest? I may have some time to contribute over the next week or two.

chappjc commented 5 years ago

Yes, it is. It's probably just a few commands, but it's valuable as an example at least.