Problem: error “Make sure Foreman DB is up” while running foreman-maintain backup online -y /backup
Expected outcome: successful backup
Foreman and Proxy versions: 3.4.0 and 3.4.0
Foreman and Proxy plugin versions: 3.4.0 and 3.4.0
Distribution and version:
Other relevant data:
evgeni
January 19, 2023, 11:45am
2
I would expect it to work on a smart proxy, yeah.
As it doesn’t for you, I’d consider this a bug and we should fix it. But before that, I’d like to ask a few questions:
did you try an offline
backup? does that one work at any chance?
is that a smart proxy with or without content (katello) features? I assume without?
1 Like
evgeni
January 19, 2023, 12:25pm
3
I just tried on a nightly setup and both online and offline backups of a proxy with content worked fine.
sganesh
January 20, 2023, 12:06pm
4
yes evgeni, it looks fine on taking backup of smart proxy.
evgeni
January 20, 2023, 12:18pm
5
Did you change anything? There are no differences between the version in 3.4 and in nightly that should affect this.
yes i saw foreman was installed in smart proxy server so the backup was looking for foreman DB which eventually not exist in smart proxy, so uninstalled foreman from smart proxy and left foreman-proxy in the server which solved the issue to take a backup of smart proxy using foreman-maintain. Thanks.
evgeni
January 25, 2023, 7:30am
7
Ah yeah, that makes sense!
Cool that it works.