Skip to content

backups not possible when node is only #237

@frank-bee

Description

@frank-bee

To be able to recover a full node fast and easy, if would be nice to allow full backups in an automatic way: Creating disc snapshots instead of application / database backups.

I tried this on AWS with automated backups , which creates backups while the vm is running.

Trying to relaunch the node from such a backup leads to the following errors

Error: unit not found: RWxLmESDr7........B1nFk/ljbKQ=
    at Object.ifNotFound (/home/obyte/obyte-hub/node_modules/ocore/storage.js:1685:13)
    at /home/obyte/obyte-hub/node_modules/ocore/storage.js:54:21
    at /home/obyte/obyte-hub/node_modules/ocore/kvstore.js:30:13
    at /home/obyte/obyte-hub/node_modules/levelup/lib/levelup.js:164:14
    at /home/obyte/obyte-hub/node_modules/encoding-down/index.js:51:21
(node:3467) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 ready listeners added. Use emitter.setMaxListeners() to increase limit
/home/obyte/obyte-hub/node_modules/ocore/storage.js:1685
                        throw Error("unit not found: "+row.unit);

Probably the obyte core is not able to deal with small database inconsistencies?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions