Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/backrest/backrest.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ def fetch_config():
"repo1-retention-full-type", "repo1-path", "repo1-host-user",
"repo1-host", "repo1-cipher-type", "log-level-console",
"repo1-type", "process-max", "compress-level", "pg1-path",
"pg1-user", "pg1-database", "db-socket-path", "pg1-port",
"pg1-host"
"pg1-user", "pg1-database", "db-socket-path", "pg1-port"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice! Should we also remove this line?

"pg1-host": "127.0.0.1",

Otherwise, it looks like we'll have an unused pg1-host variable (with a bad value) in the SQLite database.

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.

Yes it was mentioned in the ticket to remove it

]
for param in params:
config[param] = util.get_value("BACKUP", param)
Expand Down
1 change: 0 additions & 1 deletion src/backrest/install-backrest.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ def configure_backup_settings():
"pg1-path": "xx",
"pg1-user": "xx",
"pg1-port": "5432",
"pg1-host": "127.0.0.1",
"db-socket-path": "/tmp",
"global:archive-push": {
"compress-level": "3"
Expand Down