@@ -67,11 +67,11 @@ Usage:
6767
6868Examples:
6969
70- src snapshot upload -bucket=sourcegraph-cloud-data-migration- example-bucket -credentials=path/to/migration_private_key.json
70+ src snapshot upload -bucket=example-bucket-name -credentials=path/to/migration_private_key.json
7171
72- src snapshot upload -bucket=sourcegraph-cloud-data-migration- example-bucket -credentials=./migration_private_key.json -file=pgsql.sql
72+ src snapshot upload -bucket=example-bucket-name -credentials=./migration_private_key.json -file=pgsql.sql
7373
74- src snapshot upload -bucket=sourcegraph-cloud-data-migration- example-bucket -credentials=./migration_private_key.json -file="codeinsights.sql, codeintel.sql, pgsql.sql"
74+ src snapshot upload -bucket=example-bucket-name -credentials=./migration_private_key.json -file="codeinsights.sql, codeintel.sql, pgsql.sql"
7575
7676Args:
7777
@@ -95,10 +95,10 @@ Args:
9595` , strings .Join (listOfValidFiles , ", " ))
9696
9797 flagSet := flag .NewFlagSet ("upload" , flag .ExitOnError )
98- bucketName := flagSet .String ("bucket" , "" , "destination Cloud Storage bucket name " )
99- credentialsPath := flagSet .String ("credentials" , "" , "JSON credentials file for Google Cloud service account " )
100- fileArg := flagSet .String ("file" , strings .Join (listOfValidFiles , "," ), "comma-delimited list of files to upload" )
101- filterSQL := flagSet .Bool ("filter-sql" , true , "filter incompatible SQL statements from database dumps for import to Google Cloud SQL" )
98+ bucketName := flagSet .String ("bucket" , "" , "Name of the Google Cloud Storage bucket provided by Sourcegraph " )
99+ credentialsPath := flagSet .String ("credentials" , "" , "File path to the credentials file provided by Sourcegraph " )
100+ fileArg := flagSet .String ("file" , strings .Join (listOfValidFiles , "," ), "Specify which files from the ./src-snapshot directory to upload" )
101+ filterSQL := flagSet .Bool ("filter-sql" , true , "Filter incompatible SQL statements from database snapshots which break the import into Google Cloud SQL" )
102102
103103 // Register this command with the parent 'src snapshot' command.
104104 // The parent snapshot.go command runs all registered subcommands via snapshotCommands.run().
0 commit comments