Restoring backup of Red Hat Satellite server on a target Satellite server fails with an error could not connect to database template1

Solution Verified - Updated -

Issue

  • Unable to restore a backup of source Red Hat Satellite server on a target Red Hat Satellite server. The backup-restore task fails with below error:

    Failed executing runuser - postgres -c "reindexdb -a", exit status 1:
    reindexdb: error: could not connect to database template1: FATAL:  could not open file "base/1/XXXXX": No such file or directory
    

Environment

  • Red Hat Satellite 6.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content