Revert "FIX: backup_restore.rb wants db user from user, not username (#28229)" (#28245)

This reverts commit 2e8273dcb4. We're seeing this cause issues in production multisite environments. Reverting while we investigate
This commit is contained in:
David Taylor 2024-08-06 14:11:48 +01:00 committed by GitHub
parent 998e035614
commit 6f80ebfc41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -135,7 +135,7 @@ module BackupRestore
DatabaseConfiguration.new(
config["backup_host"] || config["host"],
config["backup_port"] || config["port"],
config["user"] || username || ENV["USER"] || "postgres",
config["username"] || username || ENV["USER"] || "postgres",
config["password"] || password,
config["database"],
)