Skip to content

Commit c5c4eef

Browse files
authored
Merge branch 'main' into wb/go-1-25
2 parents 82e52c1 + 14811c7 commit c5c4eef

File tree

3 files changed

+595
-125
lines changed

3 files changed

+595
-125
lines changed

cmd/src/snapshot.go

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,23 @@ import (
88
var snapshotCommands commander
99

1010
func init() {
11-
usage := `'src snapshot' manages snapshots of Sourcegraph instance data. All subcommands are currently EXPERIMENTAL.
11+
usage := `'src snapshot' manages snapshots of Sourcegraph instance databases. All subcommands are currently EXPERIMENTAL.
1212
13-
USAGE
14-
src [-v] snapshot <command>
13+
Usage:
1514
16-
COMMANDS
15+
src snapshot <command>
16+
17+
The commands are:
18+
19+
databases export databases from a Sourcegraph instance
20+
restore restore databases from an export
21+
upload upload exported databases and summary file when migrating to Sourcegraph Cloud
1722
1823
summary export summary data about an instance for acceptance testing of a restored Sourcegraph instance
1924
test use exported summary data and instance health indicators to validate a restored and upgraded instance
25+
26+
Use "src snapshot [command] -h" for more information about a command.
27+
2028
`
2129
flagSet := flag.NewFlagSet("snapshot", flag.ExitOnError)
2230

0 commit comments

Comments
 (0)