Amanda-Users

Re: Problem with backup of windows shares

2005-08-22 12:06:34
Subject: Re: Problem with backup of windows shares
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda <amanda-users AT amanda DOT org>
Date: Mon, 22 Aug 2005 11:50:51 -0400
On Mon, Aug 22, 2005 at 04:55:06PM +0200, tanguy yoann wrote:
>        I have a problem with the backup of two windows
> shares. At the beginning, always works fine: I do a
> full backup of the shares (they have the same
> contents). After, I add a file of 255 kb in the two
> shares. I do an incremental backup and I've got a
> problem: one of the share just backup the file and the
> other backup all the share. But the two backups are
> going up to the level 1. Why I don't have an
> incremental backup for the two shares? 
> 
>       The debug file sendsize.XXX.debug seems to me very
> strange. There is notions of level 2 of backup. But we
> know that windows share could going up just at level 1.


This is mostly guesswork on my part without delving into
the actual mechanics of the code.

Remember that the server is not backing up a windows share
directly.  It is backing up a unix/linux client that happens
to have access to a windows share.  It is the client that
makes the distinction between local DLEs and remote DLEs.

So the planner and estimater on the server might ask the
reasonable size (reasonable to ask of a unix/linux client)
"if I do a level 0, level 1, and level 2 backup of this DLE,
what do you think the sizes will be?"

I note in your logs that the client has returned the same
size for both level 1 and level 2 (6804 KB).  Perhaps the
client code realizes that a true level 2 can not be done
on a PC share, and rather than returning an error "can't
be done", simply says the same value.  This seems to me to
be a reasonable response as the planner will chose the higher
level 1 over the level 2 if they are the same size.


-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)