erigontech / erigontech/erigon

seg backup/mirror command

Open
#18,571 2 comments 0 reactions 0 assignees View on GitHub
ErigonDB
Dominant language
Go
Stars
3.6k
Forks
1.5k
Avg merge
1d 16h
Merged PRs (30d)
455

Description

source: https://discord.com/channels/687972960811745322/886550095749873666/1452020965570515107

essentially, create some kind of backup of datadir. Most of the data is in immutable snapshots, so we should be able to use hardlinks for cheap backups.

- devs/devops sometimes creates backups of files before attempting some commands, specially on new servers.
- useful for dev workflows - create backup, execute some offline commands on it to get it to a desired `datadir state` from which some bug can be reproduced, then create multiple backups of this backup to be able to test things on a particular state.
- users are not always aware of the different offline commands/recovery strategies, and often shoot themselves on foot - they do something wrong or it's not easy to test commands out ("my datadir works, why mess with it?"). Giving them a way to do backups can provide a safer env to try out things, debug things more independently etc.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.