[Box Backup] I have the fear....

Ben Bennett boxbackup@fluffy.co.uk
Tue, 13 Mar 2007 19:47:11 -0400

Sorry, I appear to have confused people... then gone off the air for a
while (nice weather, kids, playground, etc.).

On Tue, Mar 13, 2007 at 10:05:24PM +0000, Chris Wilson wrote:
> On Tue, 13 Mar 2007, Chris Wilson wrote:
> >> You can see from the above the following history:
> >> 1) host.conf (id 00000081/sum 01107) existed when the first backup was
> >>   run.  This was the state before I updated the system and host.conf
> >>   needed to be changed
> >> 2) ._cfg0000_host.conf (0000171a/55758) was created pending the run
> >>   of the tool that updates the real config files.  This has the new
> >>   contents of the file.
> >> 3) Update tool ran, moving ._cfg0000_host.conf to host.conf, and
> >>   boxbackup spotted the change, but preserved the old contents as
> >>   (0000171d/1107), exactly the same contents as the predecessor version.
> >> 4) I touched host.conf
> >> 5) boxbackup correctly updated the server (00006cbc/55758)
> >
> >OK, so it appears that Box Backup did not notice that ._cfg0000_host.conf 
> >was moved over host.conf, and therefore did not back up host.conf again, 
> >until you touched the file. Is that your understanding as well?

I don't think that is the case... I just did another emerge and I see:

# ls -la ntp-client ._cfg0000_ntp-client 
-rw-r--r-- 1 root root 542 Mar 13 15:15 ._cfg0000_ntp-client
-rw-r--r-- 1 root root 745 Mar 13 15:15 ntp-client

So it doesn't touch the original.  I am waiting for my backup to occur
before I do the config merge, I will report in with the results.

I think something went wonky at step 3, but I don't know why.  For
some reason it made a backup with the contents of the original version
of the file, not the new ones.  It saw a change had occurred and made
a new version, but it was identical to the old version.