[Dirvish] More than on tree per backup?

Richard Geoffrion dirvish at rain4us.net
Fri Feb 9 16:11:22 UTC 2007


Kelsey Cummings wrote:
> I just wanted to check to see if anyone using dirvish had already hacked                          
> it to allow specification of multiple trees in a single config yet.                               
> The method outlined in the url below is not so much and would be a real                           
> issue to maintain over the number of systems that we plan on backing up                           
> with dirvish.                                                                                     
>                                                                                                   
> http://www.dirvish.org/pipermail/dirvish/2006-April/000680.html 
>
>   
You know... I can't for the LIFE of me figure out or make myself 
understand WHY someone would want to do that.  I didn't understanding 
back in 2006..and I don't understand now.   I guess I've never been in a 
situation that would require me to think of using dirvish in that respect.

What I *CAN* understand is grouping related vaults.  Rather than fight 
the includes and excludes, why not just give each of the "trees" its own 
vault, then group the vaults together in a bank.  There is no hard and 
fast rule that says you can't have multiple banks on the same physical 
device.

Let's say that you start with this configuration:
*Device /dev/usbdrive1 is mounted onto mountpoint /banks/backupdrive1  
and has vaults in there named 'server-root', 'server-usr', 
'server-home', and 'server-var'.

*Your /etc/dirvish/master.conf lists your BANK as /banks/backupdrive1

What you "COULD" do is to re-arrange your directory structure on 
/banks/backupdrive1 and add an extra layer.

*Make a directory called /banks/backupdrive1/mainserver  and move all of 
your existing vaults into './mainserver'
*edit your master.conf file and modify the path for the bank
*Make a NEW directory called  /banks/backupdrive1/etcgroupings  and 
create vaults in './groupings' named...
  server-etc1, server-etc3, ..et al...
*edit your master.conf file to ADD the new bank location.


But then...maybe I'm totally lost...which I think I am.  Good luck though.

-- 
Richard




More information about the Dirvish mailing list