katello-backup fails on Red Hat Capsule with error: can't find group for postgres.

Solution Unverified - Updated -

Issue

  • Capturing katello-backup on Capsule fails with below given error:
[root@capsule /]# katello-backup --online-backup /katello_bkp
Starting backup: 2018-11-16 13:53:47 +0000
Creating backup folder /katello_bkp/katello-backup-20181116135347
/usr/share/ruby/fileutils.rb:1102:in `getgrnam': can't find group for postgres (ArgumentError)
        from /usr/share/ruby/fileutils.rb:1102:in `fu_get_gid'
        from /usr/share/ruby/fileutils.rb:1062:in `chown_R'
        from /bin/katello-backup:189:in `create_directories'
        from /bin/katello-backup:306:in `<main>'
  • Why am I able to take a katello-backup on Satellite but the same fails on Capsule?

Environment

  • Red Hat Satellite Capsule 6.x.

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