Bug #20550

backup & restore do not work with remote DB

Added by Martin Bacovsky about 1 month ago.

Status:Assigned
Priority:Normal
Assigned To:Martin Bacovsky
Category:-
Target version:Foreman - Team Ivan Iteration 19
Difficulty:medium Pull request:
Bugzilla link:1052713
Story points-
Velocity based estimate-

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)

Also available in: Atom PDF