AW: [Dirvish] shutdown after backup

Jacki jacki-dd at
Wed May 3 20:24:35 UTC 2006


thank you for your help
it works :-)


-----Ursprüngliche Nachricht-----
Von: dirvish-bounces at [mailto:dirvish-bounces at] Im
Auftrag von Keith Lofstrom
Gesendet: Mittwoch, 3. Mai 2006 15:37
An: Dirvish user and developer mailing list
Betreff: Re: [Dirvish] shutdown after backup

On Wed, May 03, 2006 at 11:21:36AM +0200, Jacki wrote:
> if installed a server with dirvish, that should backup my other server

> every night.
> the dirvish server need only to be switched on for the backup, he is 
> woken up by the rtc and starts dirvish
> QUESTION: is there any possibility to shutdown the dirvish server
> finishing with all vaults?
> i do not want to do this at a specific time per crontab, because the 
> connection is very slow and the whole backup could take a different 
> period of time.

Starting with the real time clock, then shutting down afterwards, is
an excellent idea for extra security for backups.   This lowers the
vulnerability of the backup server to external attack.  It might be
even better if you can move the starting time randomly, so that the
time the backup server is exposed changes.  You should design your
backup script so that if dirvish-runall does not complete, it still
schedules another backup the next day.

As Dave Howorth suggested, you can run a "wrapper" script from
cron.daily;  a simple one is here:

Note that I mount and unmount the backup drive, and I create a
one-line log entry.  I actually use a more elaborate script, with
more security features, but you can start from the simple one.


Keith Lofstrom          keithl at         Voice (503)-520-1993
KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon"
Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs
Dirvish mailing list
Dirvish at

More information about the Dirvish mailing list