Jason Boxman wrote: > ----- "Loren M. Lang" <[email protected]> wrote: > >> Jason Boxman wrote: > <snip> >>> I don't want to backup the entire host hourly, as I do so nightly >> anyway. >>> Would I want to create an entirely new 'host' for handling this, or >> would it make >>> sense to finally investigate the branch feature of Dirvish, or some >> other way? >> >> I create a separate vault per partition per server and, in some >> cases, >> multiple vaults per partition. I use xdev and exclude to ensure that >> there is no overlap in backed up data. I recommend putting data that >> is >> backed up more often into it's own vault and just running dirvish on >> that vault as appropriate. I have never looked into branches and am >> not >> sure when they would be used. > > I did that initially, but found it annoying to do a full metal restore > as I needed to sync over each partition instead of a single vault tree. > (I don't have a build server, so I either restore from backup or > reinstall. I prefer the former.) I suppose I could `cp -al` it to > another local directory, then restore from that...
My primary suggestion was putting a tree in different vaults which have a different backup policy/schedule. I just it easier to deal per partition since some partitions use ACLs or extended attributes which need to be enabled in dirvish. I have done one full restore with this configuration and did not find it terrible difficult to restore all vaults individually. After creating LVM volumes and formatting them I created the essential directories and mounted the volumes as appropriate. Then to restore them, I wrote a compound command and waited for it to finish: rsync -avvH server1-root/20090622/tree /; rsync -avHAX server1-home/20090622/tree /home; rsync ... > > What naming scheme are you using? I'm using foo.domain.net for my vaults. Currently it's foo-tree, though I might switch to using FQDNs. / and /home are different partition with xdev set to 1 in master.conf. Also, /home has ACLs where / does not so I have rsync-option: -A in default.conf for /home and home/biguserdir: server1-root server1-home # I have an exclude: /biguserdir/ server1-home_biguserdir ... server2-root ... > > Thanks! > > _______________________________________________ > Dirvish mailing list > [email protected] > http://www.dirvish.org/mailman/listinfo/dirvish > -- Loren M. Lang [email protected] http://www.alzatex.com/ Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: 10A0 7AE2 DAF5 4780 888A 3FA4 DCEE BB39 7654 DE5B
begin:vcard fn:Loren Lang n:Lang;Loren org:Alzatex, Inc. adr:;;6400 SW 213th Ave.;Aloha;OR;97007;USA email;internet:[email protected] tel;work:503-649-9693 x-mozilla-html:FALSE url:http://www.alzatex.com/ version:2.1 end:vcard
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Dirvish mailing list [email protected] http://www.dirvish.org/mailman/listinfo/dirvish
