I configured the localyum repo on Backup server:
$ vi /etc/yum.repos.d/nautilus.repo
[localyum]
name=localyum
baseurl=file:///packages/downloaded_rpms/
enabled=1
then I did yum info httpd
and it showed repo localyum
then yum install httpd
and finally systemctl enable httpd --now
and curl localhost
worked
However I still got
'httpd' package was not installed from 'localyum' yum repository on Backup Server