|
Packit |
667938 |
.... backup.pl ,....
|
|
Packit |
667938 |
|
|
Packit |
667938 |
Date: Thu, 17 Jul 1997 14:31:32 +0200
|
|
Packit |
667938 |
From: Emanuele Leonardi <Emanuele.Leonardi@roma1.infn.it>
|
|
Packit |
667938 |
To: mrtg@list.ee.ethz.ch
|
|
Packit |
667938 |
|
|
Packit |
667938 |
It wakes up at 23:54 every night and copies all the current daily gifs
|
|
Packit |
667938 |
for the given list of routers to a directory named with the current date
|
|
Packit |
667938 |
(e.g. 970717). The Perl code is extremely straightforward so there
|
|
Packit |
667938 |
should be no problem in understanding it.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
The cron entry I use is:
|
|
Packit |
667938 |
54 23 * * * /usr/local/lib/mrtg-2.2/backup.pl 1>>
|
|
Packit |
667938 |
/usr/local/lib/mrtg-2.2/backup.log 2>&1
|
|
Packit |
667938 |
|
|
Packit |
667938 |
I'll be very happy to discuss any possible improvement or modification.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
Ciao
|
|
Packit |
667938 |
|
|
Packit |
667938 |
Emanuele
|
|
Packit |
667938 |
|
|
Packit |
667938 |
|
|
Packit |
667938 |
|
|
Packit |
667938 |
... mrtg.archiver.pl .....
|
|
Packit |
667938 |
|
|
Packit |
667938 |
From: Rawlin Blake <blake@nevada.edu>
|
|
Packit |
667938 |
To: dlr@bungi.com, oetiker@ee.ethz.ch, Emanuele Leonardi <Emanuele.Leonardi@roma1.infn.it>
|
|
Packit |
667938 |
Date: Mon, 4 Jan 1999 15:05:38 -0800 (PST)
|
|
Packit |
667938 |
Subject: mrtg-archiver
|
|
Packit |
667938 |
|
|
Packit |
667938 |
|
|
Packit |
667938 |
I have made some revisions to mrtg-archiver for use at my site. In the
|
|
Packit |
667938 |
hopes that those changes will help others, I have appended my version.
|
|
Packit |
667938 |
|
|
Packit |
667938 |
Changes include:
|
|
Packit |
667938 |
Weekly archiving of week gifs, monthly archiving of month gifs, yearly
|
|
Packit |
667938 |
archiving of year gifs.
|
|
Packit |
667938 |
Specification of which interfaces you want summary files saved for.
|
|
Packit |
667938 |
Terse error messages. (I happen to prefer shorter messages, to each their
|
|
Packit |
667938 |
own :-) )
|
|
Packit |
667938 |
Creation of the archive directory if it doesn't exist.
|
|
Packit |
667938 |
Symlinking of the mrtg gifs instead of copying (I have limited disk space)
|
|
Packit |
667938 |
|
|
Packit |
667938 |
|
|
Packit |
667938 |
---------
|
|
Packit |
667938 |
blake@nevada.edu http://www.nevada.edu/~blake
|
|
Packit |
667938 |
|
|
Packit |
667938 |
How far would Moses have gone if he had taken a poll in Egypt? What would
|
|
Packit |
667938 |
Jesus Christ have preached if he had taken a poll in the land of Israel?
|
|
Packit |
667938 |
What would have happened to the Reformation if Martin Luther had taken a
|
|
Packit |
667938 |
poll? It isn't polls or public opinion of the moment that counts. It is
|
|
Packit |
667938 |
right and wrong and leadership.
|
|
Packit |
667938 |
-- USA President Harry S Truman
|
|
Packit |
667938 |
==========================================================================
|