question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

provide a "light backup" option that works for the use-case of wanting to protect spending rights only

See original GitHub issue

OK so, according to https://wiki.byteball.org/backups (and the app itself):

Byteball uses a single extended private key for all wallets, BIP44 is used for wallet address derivation. There is a BIP39 mnemonic for backing up the wallet key, but it is not enough. Private payments and co-signers of multisig wallets are stored only in the app's data directory, so better use the built-in backup function!

But, if i understand correctly (please correct me if i’m wrong):

  • the .sqlite database has 59 tables and 113 indexes
  • multisig wallets are recommended “best practise” and so “most people” should/will have them
  • private payments are desirable or critical to some people but irrelevant to many others
  • a full backup of the entire .sqlite database could be equal to a full backup of the entire DAG if you’re running a full hub, which can be many GB and in the future TB or even PB

So, the use-case of only wanting to preserve/secure/transfer the basic right to spend your bytes on the network in the most minimal and robust way (no chance of unrelated data being corrupted in the backup/restore process and ruining your day) is not really supported atm, but IMO should be.

I’ve been lurking in the #helpdesk chat in slack and see people complaining about corrupt databases, often corresponding to backup imports.

It seems these corruption issues would be far less likely and much easier to debug if the size of the backup itself was kept as small as possible.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
JulianToshcommented, Jul 16, 2017

co-signers of multisig wallets are stored only in the app’s data directory

Well, you can thank me for making byteball 12.5 gigabytes more scarce than intended. #FML I only backed up the wallet seed and uninstalled it from my phone.

Why in the world is it set up that way? Either there needs to be a single recovery phrase for all wallets created, or individual backed up wallet seeds.

1reaction
thedavidmeistercommented, Jul 16, 2017

@tonyofbyteball well, assuming there’s a clear split between the two in the db structure, backing up less data means less can go wrong.

i don’t personally have a use case to back up the DAG, but maybe you might want to do something academic with it… but it is currently in the backup, so i assumed there is a reason?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Data Protection and Disaster Recovery - Nutanix
Backup vendors and analysts widely acknowledge snapshots as the most practical option for faster recovery. However, not all snapshot ...
Read more >
Guidance and best practices - Azure Backup - Microsoft Learn
Azure Backup comprehensively protects your data assets in Azure through a simple, secure, and cost-effective solution that requires zero- ...
Read more >
Disaster recovery options in the cloud - AWS Documentation
Disaster recovery strategies available to you within AWS can be broadly categorized into four approaches, ranging from the low cost and low complexity...
Read more >
Disaster Recovery on AWS: 4 Strategies and How to Deploy ...
Backup and restore – involves backing up your systems and restoring them from backup in case of disaster. Pilot light – involves running...
Read more >
12 Best Data Backup Solutions for Medium to Enterprise ...
The same applies to data. Your enterprise data backups need to be as safe as in a vault, and you must be sure...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found