Greetings,
I use the find command to feed the backup command to accomplish a system backup. The example would be:
find /usr \
/var \
/home \
/ -xdev|backup -ivqf /dev/rmt0
The -xdev is supposed to find everything in / that is within the hd4 filesystem. It is not supposed to find /tmp as an example. This has work this way for a long time. Suddenly my backups began to fail because it wanted a second tape volume and I have no logic in the script to deal with this. The reason it is requesting the second volume all of the sudden is that the find command is feeding it the name of filesystems outside of /. Has anyone else found this behavior and if so how the heck have you gotten around it. Or is this a new flaw in the find command?
Larry Bennett
Senior Systems Programmer
Ecolab, Inc.
I use the find command to feed the backup command to accomplish a system backup. The example would be:
find /usr \
/var \
/home \
/ -xdev|backup -ivqf /dev/rmt0
The -xdev is supposed to find everything in / that is within the hd4 filesystem. It is not supposed to find /tmp as an example. This has work this way for a long time. Suddenly my backups began to fail because it wanted a second tape volume and I have no logic in the script to deal with this. The reason it is requesting the second volume all of the sudden is that the find command is feeding it the name of filesystems outside of /. Has anyone else found this behavior and if so how the heck have you gotten around it. Or is this a new flaw in the find command?
Larry Bennett
Senior Systems Programmer
Ecolab, Inc.