Thanks Charlie. Updated my HowTo to reflect your suggestions.
Again, comments welcomed.

Regards,

Darrell

> -----Original Message-----
> From: Charlie Brady [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 27, 2001 7:21 PM
> To: Darrell May
> Cc: John Bennett; [EMAIL PROTECTED]
> Subject: Taper HOWTO (was RE: [e-smith-devinfo] More flexbackup I/O
> errors)
> 
> 
> 
> On Tue, 27 Feb 2001, Darrell May wrote:
> 
> > Charlie Brady wrote:
> > <...>
> > > Taper obviously works for some where flexbackup doesn't.
> > <...>
> >
> > I've created and posted this HowTo:
> >
> > http://netsourced.com/e-smith/howto-taper.html
> >
> > As always, I'm sure there may be a better way to accomplish
> > the desired result of switching to use Taper instead of
> > flexbackup.  This seemed the simplest to implement and allow
> > the e-smith-manager functions (except tape restore), and
> > even my custom 'Backup Now' function to work with taper.
> >
> > I'm not advocating this switch.  I feel flexbackup is the
> > better e-smith choice but if for whatever reason flexbackup
> > doesn't work for your hardware, this is a built-in
> > alternative that can easily be implemented.
> >
> > Comments, hints, suggestions are always welcomed.
> 
> Rather than replace 30flexbackup (as you effectively do by creating a
> custom-template of that name), leave it intact, and instead 
> create a file
> 30taper containing your text.
> 
> /usr/sbin/taper -T scsi -U / -p /root/taper/taper_prefs
> 
> Then do:
> 
> /sbin/e-smith/db configuration setprop backup Program taper
> /sbin/e-smith/signal-event console-save
> 
> For extra marks, change 30taper to:
> 
> {
>     use esmith::db;
> 
>     local %services = (
>         backup => $backup,
>     );
> 
>     my $program = db_get_prop(\%services, 'backup', 'Program');
> 
>     $OUT .=
>         (defined $program && $program eq 'flexbackup')
>             ? "/usr/sbin/taper -T scsi -U / -p 
> /root/taper/taper_prefs"
>             : "# taper is not enabled as the backup Program";
> }
> 
> This will allow you to change from taper to flexbackup and 
> v.v. as fashion
> dictates.
> 
> For full marks, template your taper_prefs file to support 
> both SCSI and
> native IDE tape drive devices (the Device property of the "backup"
> service).
> 
>   Charlie Brady                         [EMAIL PROTECTED]
>   http://www.e-smith.org (development)  
> http://www.e-smith.com (corporate)
>   Phone: +1 (613) 368 4376 or 564 8000  Fax: +1 (613) 564 7739
>   e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada
> 
> 

Reply via email to