Skip to content

WIP: backup by timestamp - #48

Draft
ClaytonNorthey92 wants to merge 2 commits into
mainfrom
clayton/backup-by-timestamp
Draft

WIP: backup by timestamp#48
ClaytonNorthey92 wants to merge 2 commits into
mainfrom
clayton/backup-by-timestamp

Conversation

@ClaytonNorthey92

Copy link
Copy Markdown
Contributor

No description provided.

// the block closest to (now - entry.SecondsAgo), rewinds op-geth to it, and
// stores a new snapshot of dataDirs from that point.
func (d *Dave) runBackupStrategyEntry(ctx context.Context, client *opGethClient, opts SnapshotOptions, dataDirs []string, entry BackupStrategyEntry) (err error) {
target := time.Now().Unix() - int64(entry.SecondsAgo)
Comment thread internal/dave/backup_strategy.go Fixed
Comment thread internal/dave/opgeth.go Fixed
Comment thread internal/dave/opgeth.go Fixed
Comment thread internal/dave/opgeth.go Fixed
Comment thread internal/dave/opgeth.go Fixed
Comment thread internal/dave/opgeth.go Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants