backup & restore do not work with remote DB
|Status:||Ready For Testing|
|Assigned To:||Martin Bacovsky|
|Target version:||Foreman - Team Ivan Iteration 21|
|Difficulty:||medium||Pull request:||https://github.com/Katello/katello-packaging/pull/499, https://github.com/Katello/katello-installer/pull/550|
|Velocity based estimate||-|
|Release||Katello Backlog||Release relationship||Auto|
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)