[mrtg] Re: an archive

Aklei G. Kessy aklei at habari.co.tz
Wed Oct 2 17:54:25 MEST 2002


Thanks for the showing me how to do this. am running my MRTG in a RedHat 
linux 7.2 OS and when i try to run this command it gives the following error

bash: ${/home/backup/}mrtg_day_'date +%y%m%d'.tar.gz: bad substitution

can anyone please help on this?




On Tuesday 01 October 2002 11:48 am, you wrote:
> sure,
>
> on UNIX platforms just do something like a
> tar cpzf (use z only if you want compression also) ${PATH1}mrtg_day_`date
> +%y%m%d`.tar.gz *-day.png (do a set PATH1=where_I_want_my_archive first)
>
> On Tue, Oct 01, 2002 at 05:07:45PM -0300, Aklei G. Kessy wrote:
> > Hi everyone!
> >
> > I wanted to create an archive for the daily records of MRTG. My MRTG only
> > produce daily, weekly, monthly and yearly graphs but i want to keep the
> > daily graphs in archives so that i can review sometime to know what
> > exactly happened in a particular day.
> >
> > Can anyone help on this?
> >
> > aklei.
> >
> > --
> > Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> > Archive     http://www.ee.ethz.ch/~slist/mrtg
> > FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
> > WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list