dadamo
ADSM.ORG Member
I need a way to exclude files but not soft links (unix). Does anyone know
how to do this? If not, I'll try submitting a Product Enhancement
Request for TSM.
Background: my DBAs build all Oracle instances under the /oracle filesystem
and use soft links. Example:
/oracle/SID1/CNTR1/file1.ctl
is not on the /oracle filesystem because /oracle/SID1/CNTR1 is a soft link
to some other filesystem.
/oracle/SID1/CNTR1/file1.ctl -> /fs12.3/oracle/CNTR1
(Without soft links, the /oracle filesystem would have
to be 1 or 2 Terabytes to hold all the instances).
We use TDP or SQL-BackTrack (depending on host) to do hot backups of the
instances, so we want to exclude the instance files from the daily TSM incremental
backups. (TSM backups of active Oracle instance files are useless and the
incrementals run forever if such files aren't excluded.)
If I do
exclude /.../oracle/SID1/.../*
then the links are excluded, too.
During a Disaster Recovery test, the TSM restore of /oracle (and /fs12.3) didn't restore
the links. Therefore the SQL-BackTrack restore of the instance failed when /oracle
reached 100%. I had to manually recreate the links to get the SQL-BackTrack restore
to work.
A solution would be to exclude only files but include soft links. Does anyone know
how to do this?
how to do this? If not, I'll try submitting a Product Enhancement
Request for TSM.
Background: my DBAs build all Oracle instances under the /oracle filesystem
and use soft links. Example:
/oracle/SID1/CNTR1/file1.ctl
is not on the /oracle filesystem because /oracle/SID1/CNTR1 is a soft link
to some other filesystem.
/oracle/SID1/CNTR1/file1.ctl -> /fs12.3/oracle/CNTR1
(Without soft links, the /oracle filesystem would have
to be 1 or 2 Terabytes to hold all the instances).
We use TDP or SQL-BackTrack (depending on host) to do hot backups of the
instances, so we want to exclude the instance files from the daily TSM incremental
backups. (TSM backups of active Oracle instance files are useless and the
incrementals run forever if such files aren't excluded.)
If I do
exclude /.../oracle/SID1/.../*
then the links are excluded, too.
During a Disaster Recovery test, the TSM restore of /oracle (and /fs12.3) didn't restore
the links. Therefore the SQL-BackTrack restore of the instance failed when /oracle
reached 100%. I had to manually recreate the links to get the SQL-BackTrack restore
to work.
A solution would be to exclude only files but include soft links. Does anyone know
how to do this?