Skip to content

STAC-24630: Add stackgraph-v2 backup/restore#32

Open
craffit wants to merge 2 commits into
mainfrom
stac-24630
Open

STAC-24630: Add stackgraph-v2 backup/restore#32
craffit wants to merge 2 commits into
mainfrom
stac-24630

Conversation

@craffit

@craffit craffit commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Adds documentation for the new sstackgraph backup/restore v2. The interaction is documented in this docs PR: rancher/stackstate-product-docs#360

@craffit
craffit force-pushed the stac-24630 branch 3 times, most recently from 140322e to fbd2289 Compare July 16, 2026 14:34
Comment thread cmd/stackgraphv2/abort.go
cmd := &cobra.Command{
Use: "abort",
Short: "Abort a partially backfilled restore.",
Long: "Abort a partially backfilled restore. This will not load (backfill) any data but keep the data as is." +

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please provide examples how to run this command. The same for backfill

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you put an example in the docs or in the --help section? (or both?)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put an example in the docs and improved the 'description'


func backfillCmd(globalFlags *config.CLIGlobalFlags) *cobra.Command {
cmd := &cobra.Command{
Use: "backfill",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it supposed to be executed by the user directly?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll try to clarify when this should be used

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I clarified both in the 'description' portion of the help command and in the docs

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