Hi,
 
I'm using bacula to backup a DB2 database to a fifo.
 
The backup is working correctly thanks to the additions made to the developer's documentation.
 
The problem I have at the moment is getting the restore process to work.
 
The idea was to create the fifo (using mkfifo) in the same location as previously used then start the Db2
restore process using the usual DB2 restore db ...xxxx... commands in the 'run client before job' option but redirecting
standard input to null and standard output and standard error to a log file (as per the developer documentation)
 
While this part works, when the backed up fifo is restored it is forced into having the attributes:
/tmp/bacula-fifo (root, bacula) prw-r-----
This means that DB2 no longer has access to the fifo and responds with a 'Attempt to access media /tmp/bacula-fifo is denied' error.
 
Despite the fact the fifo is created with the following attributes when it was backed up originally (and prior to the restore process):
/tmp/bacula-fifo (db2inst1,db2grp1) prw-rw-rw
 
I'm using 1.36.3 (RHEL2.1AS and RHEL3AS)
 
Does anyone have any ideas?
 
Thanks,
 
Best Regards,
 
Brett
 

Reply via email to