On Friday 08 February 2008 09:34:28 am Jarkko Ypäjä wrote:
> Hello,
>
> I'm sorry to bother you all with constant questions(Red Mop solved the last
> question), but here comes the last one.

You don't learn if you don't ask questions.  And neither do I, apparently.  I 
actually sat and figured out the script to find the banks in the master.conf 
file.  As it turns out, I'm able to use it in one of my own scripts.  So keep 
asking so I can learn more about bash and dirvish. ;)

> I noticed that even I have all the backups running at the same time 22:00
> it seems that the Dirvish is backupping only one server at a time, at least
> while doing dirvish --vault root --init.
>
> Because it takes up to 6-8 hours to backup one server and the server which
> is running the backups isn't really having any resources used it would be
> great to have multiple servers backupping at once.
>

That is a problem with how dirvish-runall works.  It's also a problem I am 
experiencing, though on a smaller scale.  The best way I can figure to do it 
is to have multiple cron jobs.  Since I have more than one vault per server 
(because of different expiration needs), I am writing a script for each 
server, or one script that can handle paramaters, and then run it/them 
concurrently via different cron entries set to run at the same time.

In your case, I would make a single cron entry for dirvish-expire at, say, 
8pm , then at 9pm or so, run 'dirvish --vault (vaultname) for each vault.  I 
would avoid trying to run more than one vault at a time on any given backup 
client to prevent disk thrashing and to minimize resource usage.
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to