Red Hat Satellite backup fails with an error 'Postgres user needs write access to the backup directory'
Issue
- Is it possible to take the online backup of the Satellite on other directories apart from
/tmp
and/var/tmp
? -
While taking Satellite backup on other directories we get the error 'Postgres user needs write access to the backup directory'.
# satellite-backup /backup Starting backup: 2018-xx-xx xx.xx.xx +xxxx Creating backup folder /backup/satellite-backup-xxxxx Sorry, user root is not allowed to execute '/usr/bin/test -w /backup/satellite-backup-xxxxx' as postgres on satellite.example.com ****cancelled**** Postgres user needs write access to the backup directory Please select a directory, such as /tmp or /var/tmp which allows Postgres write access
Environment
- Red Hat Satellite 6.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.