Re: 2 bugs from Billy on hdup
Miek Gieben <[email protected]> Tue, 22 Mar 2005 15:47:22 +0100
| Newsgroups | gmane.comp.sysutils.backup.hdup.general |
|---|---|
| Message-ID | <[email protected]> |
[On 22 Mar, @ 14:57, Billy wrote in "Re: [hdup-user] 2 bugs from Bi ..."] > [On 21 Mar, @ 23:29, Billy wrote in "[hdup-user] 2 bugs from Billy ..."] > > Well, so far, I had a few problems here. I narrowed it down to some > > bugs in the code for one, and I'm not sure about the other. > > > > First, when I used the "exclude =" line in the global section, I needed > > to empty that in some of my host sections. But I found out the hard way > > that this causes the backup to miss a lot of files! > > well, it does say that in the manual page. Everything you say in the > global section is inherited by the other hosts. But I'm not sure > the 'exclude =' works as intended. Which could explain the crazyness > of myhost2... :( added some code to make this more sane (boy, I really should rewrite hdup...), but this now sets the var to NULL. Next thing that happens is that all the vars that are NULL, but have been defined in the [global] section, override these NULLs So having this: [global] exclude = bla [host] exclude = will surely lead to 'exlude = bla' for host. So if you really don't want that, don't specify those in the global section. Right now I can test for this, to hdup can emit a warning that this doen't do what you might think it does :) grtz Miek