Project

General

Profile

Bug #20550

backup & restore do not work with remote DB

Added by Martin Bacovsky almost 4 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
medium
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

It is not possible to run katello-backup and katello-restore with remote DB.

The scripts are trying to access the local postgresql service directly as postgres's superuser and do not reflect DB configuration.
The backup procedure needs some changes to handle the situation when it does not have the superuser privileges for the DB (e.g. when the DB is managed by different team)


Related issues

Blocked by Foreman - Bug #23223: foreman-installer --reset fails to drop databaseClosed2018-04-11

Associated revisions

Revision 81fcaa5f (diff)
Added by Martin Bacovsky over 3 years ago

Fixes #20550 - support --reset for remote postgres

Revision c23b9bf2
Added by John Mitsch over 3 years ago

Merge pull request #550 from mbacovsky/20550_reset_remote_db

Refs #20550 - Reset remote database

History

#1 Updated by Martin Bacovsky almost 4 years ago

  • Project changed from Packaging to Katello

#2 Updated by Martin Bacovsky almost 4 years ago

  • Target version changed from 1.18.0-RC1 to 226

#3 Updated by The Foreman Bot almost 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello-packaging/pull/499 added

#4 Updated by The Foreman Bot almost 4 years ago

  • Pull request https://github.com/Katello/katello-installer/pull/550 added

#5 Updated by Justin Sherrill almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 114

#6 Updated by Martin Bacovsky over 3 years ago

  • Blocked by Bug #23223: foreman-installer --reset fails to drop database added

#7 Updated by The Foreman Bot over 3 years ago

  • Legacy Backlogs Release (now unused) deleted (114)

#8 Updated by John Mitsch over 3 years ago

  • Pull request deleted (https://github.com/Katello/katello-packaging/pull/499)

Removing old katello-packaging PR, only the katello-installer PR is needed

#9 Updated by Justin Sherrill over 3 years ago

  • Legacy Backlogs Release (now unused) set to 338

#10 Updated by Martin Bacovsky over 3 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF