geldata / geldata/gel-cli

Add an `--overwrite`/`--force`/`--create` flag for restore

Open
#1,533 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
175
Forks
32
PR merge metrics
No merged PRs in 30d

Description

`gel restore -I instance branch` currently fails if there's data or the branch doesn't exist.

It would save an extra step if we allowed the restore to overwrite, create or otherwise stomp the existing state of the database via an extra flag.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the `gel restore -I instance branch` command and trace how it handles existing data and missing branches. Clarify the intended behavior of `--overwrite`, `--force`, or `--create`, then define completion around restoring into both existing and nonexistent branches without the current failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, database
Issue type
Feature
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.