On Tue, 16 Jan 2001, Darrell May wrote:
> > > I think you pointed me in the right direction. Did you
> > mean it calls
> > > /etc/e-smith/events/actions/tape-restore-flexbackup? I
> > could not find
> > > S10tape-restore-flexbackup on the hard drive. If I want to
> > edit the restore
> > > action, is this the place?
> >
> > Did you look real hard :)
> >
> > /etc/e-smith/events/restore-tape/S10tape-restore-flexbackup ->
> > ../actions/tape-restore-flexbackup
>
> Bear with me Peter, I'm new at all this. I may need a hand hold along the
> way to learning all this 'stuff'. I used find -type f -name
> "S10tape-restore-flexbackup" which I guess doesn't find links?
Nope. The -f argument says only find "files"
> Anyhow,
> S10tape-restore-flexbackup is just a link to
> /etc/e-smith/events/actions/tape-restore-flexbackup, so if I want to edit
> the restore action, do I edit
> /etc/e-smith/events/actions/tape-restore-flexbackup or does this file get
> generated/overwritten by any other process?
If you want to edit the restore action, AND the backup program is
flexbackup, then edit
/etc/e-smith/events/actions/tape-restore-flexbackup
(remembering thatit will be overwritten if you upgrade the
e-smith-flexbackup RPM).
If you want to use a different program (such as taper) then create
/etc/e-smith/events/actions/tape-restore-taper with the appropriate
contents (use tape-restore-flexbackup as a guide) and then create the
symlink:
cd /etc/e-smith/events/restore-tape
ln -s ../actions/tape-restore-taper S10tape-restore-taper
To find files try this one instead. Firstly, seed the locate database
by running the command:
/etc/cron.daily/slocate
You only need to do this if it's been less than 24 hours since you
installed your e-smith server. This job is run as a daily cron job
locate tape-restore
/etc/e-smith/events/actions/tape-restore-flexbackup
/etc/e-smith/events/restore-tape/S10tape-restore-flexbackup
/etc/e-smith/templates/sbin/e-smith/tape-restore
/etc/e-smith/templates/sbin/e-smith/tape-restore/template-begin
/etc/e-smith/templates/sbin/e-smith/tape-restore/template-end
The clue to where to look was in the fact that I said the event was
called restore-tape. So to find out what that event does, you look in
/etc/e-smith/events/restore-tape.
--
Regards
Peter
----------
Peter Samuel [EMAIL PROTECTED]
http://www.e-smith.org (development) http://www.e-smith.com (corporate)
Phone: +1 613 368 4398 Fax: +1 613 564 7739
e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada
"If you kill all your unhappy customers, you'll only have happy ones left"