Skip to content

Commit

Permalink
Change default bucket.
Browse files Browse the repository at this point in the history
  • Loading branch information
rolftimmermans committed Nov 3, 2022
1 parent 87d96ab commit fea616b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v1.2.0

* Change the default value of the `b2bucket` flag to `voormedia-eu-db-backups`.

# v1.1.0

* Fix decryption parameters for database backups.
2 changes: 1 addition & 1 deletion cmd/restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func init() {
cmdRestore.Flags().String("b2id", os.Getenv("B2_ACCOUNT_ID"), "Specifies the Backblaze B2 account ID")
cmdRestore.Flags().String("b2key", os.Getenv("B2_ACCOUNT_KEY"), "Specifies the Backblaze B2 account key")
cmdRestore.Flags().String("b2encrypt", os.Getenv("B2_ENCRYPTION_KEY"), "Specifies the Backblaze B2 encryption key")
cmdRestore.Flags().String("b2bucket", "voormedia-db-backups", "Specifies the Backblaze B2 backup bucket")
cmdRestore.Flags().String("b2bucket", "voormedia-eu-db-backups", "Specifies the Backblaze B2 backup bucket")
cmdRestore.Flags().String("dbconfig", "./config/database.yml", "Specifies the location of the application's database configuration file")
cmdRestore.Flags().String("port", "3306", "Specifies the port to use when restoring the target database")
cmdRestore.Flags().String("host", "127.0.0.1", "Specifies the host to use when restoring the target database.")
Expand Down

0 comments on commit fea616b

Please sign in to comment.