Level / Level/awesome

Advice on taking backup?

Open
#20 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
JavaScript
Stars
315
Forks
21
PR merge metrics
No merged PRs in 30d

Description

How do you guys and girls take backup of your level db data?

Do you (A) just copy out the files level create on disc or do you (b) implement a export feature which dumps all data in the database to file for later import?

If A: How does this work with having the db open by the running node program? Do you close down, backup and then open the database again or do you just copy out files wile running?

If B: Do you export all data every time or do you do diffs? If the database is large, how much would a full export slow down the other operations?

Or do you simply do more advanced stuff where you write to multiple databases on different machines (in different data centers) and look at that as backup?

Maybe we are missing some backup modules for level. At least there should be some advice on how to backup / avoid data loss in the documentation I think.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are identified in the issue. Start by reviewing the LevelDB-related resources and existing documentation in this repository, then define backup guidance that addresses open databases, full exports, incremental differences, and replication; done means the recommended approach and its operational limits are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
databases, documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.