Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

channeldb+funding: implement streaming and regular RPCs for static backup format #175

Closed
aakselrod opened this Issue Apr 7, 2017 · 5 comments

Comments

Projects
None yet
4 participants
@aakselrod
Copy link
Collaborator

aakselrod commented Apr 7, 2017

A request has come in to allow online backup of the databases used by lnd so that the process doesn't have to be stopped for backup.

The channel DB can be backed up using https://godoc.org/github.com/boltdb/bolt#Tx.WriteTo

The wallet DB can be backed up using https://github.com/btcsuite/btcwallet/blob/master/walletdb/interface.go#L203 (DB.Copy()).

@johynpapin

This comment has been minimized.

Copy link

johynpapin commented Aug 24, 2017

Hello. Can I work on this issue?

@aakselrod

This comment has been minimized.

Copy link
Collaborator Author

aakselrod commented Aug 24, 2017

Sure. This should be an easy one, since we're no longer planning on integrating a LevelDB back-end at this time.

@johynpapin

This comment has been minimized.

Copy link

johynpapin commented Aug 24, 2017

In that case I will try to do that.
I want to make sure I understand the problem.
So I have to add an RPC to make a backup, and add the corresponding command in the cli?

@johynpapin johynpapin referenced this issue Aug 27, 2017

Closed

Backup #269

@Roasbeef Roasbeef added this to the v0.3.1-alpha milestone Aug 27, 2017

@Roasbeef Roasbeef modified the milestones: v0.3.1-alpha, v0.4-beta Sep 19, 2017

@Roasbeef Roasbeef modified the milestones: v0.4-beta, 0.4.1-beta Feb 21, 2018

@Roasbeef Roasbeef removed this from the 0.4.2-beta milestone May 2, 2018

@Roasbeef Roasbeef changed the title Allow online backup of channel db and wallet db channeldb+funding: implement streaming and regular RPCs for static backup format Jul 10, 2018

@Roasbeef

This comment has been minimized.

Copy link
Member

Roasbeef commented Jul 10, 2018

Note that this has evolved to the full static back up scheme. The goal here is to ensure there're no foot guns in the regular back up process for users.

@prusnak

This comment has been minimized.

Copy link

prusnak commented Aug 28, 2018

Is this being worked on? If yes, is there another tracking issue or pull request or even a branch name where the development takes place?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.