It is not possible to backup the UI host on OA 7.0, while trying to configure the system backup by following the steps from [OA Maintenance Guide] Configure system backup.
[root@osscore ~]# /usr/local/pem/bin/backup.sh -z -t ui Tag: ui Database host: osscore.example.com Output directory: /var/tmp/sysbackups Use gzip: yes ---------------- tar: Cowardly refusing to create an empty archive Try `tar --help' or `tar --usage' for more information. backup.sh error: backup failed
backup.sh script has not been adapted to 7.0 specifics yet, the improvement is expected in scope of request POA-110903.
Edit the script and replace the line with SELECT:
"SELECT c.host_id FROM components c JOIN packages p \ ON (p.pkg_id = c.pkg_id) WHERE p.name = 'chief' AND \ p.ctype = 'cp'"
with the following query:
"SELECT c.host_id FROM components c JOIN packages p ON (c.pkg_id = p.pkg_id) JOIN hosts h ON (c.host_id = h.host_id) WHERE p.name = 'pui-war' AND p.ctype= 'other'"