Hi
I am working on some recovery procedures on a AIX system at the moment. The
environment consists of two seperate servers with different file-systems and
mount points.
The source system is backed up regularly using a command along the following
lines
find / -name '*files*' - print | cpio -ocvB > /dev/rmt0
I want to be able restore the files from that tape on the target system but
direct the files into a different directory due to file-system space
constraints.
As the backups are using absolute referencing the cpio -id option is not
viable
The closest I have come to solving the problem is something like
cpio -ircvB "*files needed*" < /dev/rmt0
but the interactive nature of this is undesirable as it is intended as
procedures for an operator which can be kicked off and require no human
interaction, not to mention the risk of typos
Does anybody have a solution for this possibly using celver tricks with
pipes and sed/awk etc. I am out of ideas.
regards
MJW