On Sun, Feb 16, 2014 at 03:29:03PM +0100, Charles Stroom wrote:
> I am now running my compiled 3.3.5 amanda on opensuse 13.1 and have 
> reformatted my disklist.  I have difficulties to understand what will be, or 
> what will be not included. To take an example, i have a directory
> /home/charles/pictures.  It contains sub-directories for a
> few cameras I have/had and a miscellany of smaller directories and
> files.
> "
> charles@fiume:~> du -sk pictures/
> 18292984        pictures/
> du -sk pictures/Canon_800IS/ pictures/Canon_G2
> 6926988 pictures/Canon_800IS/
> 6294604 pictures/Canon_G2
> "
> 
> I wanted to have Canon_G2 and Canon_800IS in a separate DLE and all the
> rest in another DLE, which would then become ~7Gb, ~7Gb and 4~Gb large.
> 
> In my disklist I have for these 3 DLEs:
> "
> fiume.localnet  Pictures_G2 /home/charles/pictures/Canon_G2 {
> #
> #   pictures in the Canon_G2 directory ~7Gb
> #
>     nocomp-generic
>     include "./*"
> } 2
> 
> fiume.localnet  Pictures_800IS  /home/charles/pictures/Canon_800IS {
> #
> #   pictures in the Canon_800IS directory ~7Gb
> #
>     nocomp-generic
>     include "./*"
> } 2
> 
> fiume.localnet  Pictures_rest   /home/charles/pictures {
> #
> #   all other pictures in the directory
> #
>     nocomp-generic
>     include "./*"
>     exclude "./Canon_800IS/*"
>     exclude "./Canon_G2/*"
> } 2
> "
> 
> My first backup failed (my dds4 tape is too small for a full backup
> first time), but when I looked at ..../amanda/dumps/20140216111623/
> what was left, I noticed:
> "
> fiume:/ # ll /work/amanda/dumps/20140216111623/
> total 18923752
> -rw------- 1 amanda amanda 1073741824 Feb 16 14:52 
> fiume.localnet.Pictures_800IS.0
> -rw------- 1 amanda amanda 1073741824 Feb 16 14:48 
> fiume.localnet.Pictures_800IS.0.1
> -rw------- 1 amanda amanda 1073741824 Feb 16 14:49 
> fiume.localnet.Pictures_800IS.0.2
> -rw------- 1 amanda amanda 1073741824 Feb 16 14:50 
> fiume.localnet.Pictures_800IS.0.3
> -rw------- 1 amanda amanda 1073741824 Feb 16 14:51 
> fiume.localnet.Pictures_800IS.0.4
> -rw------- 1 amanda amanda 1073741824 Feb 16 14:52 
> fiume.localnet.Pictures_800IS.0.5
> -rw------- 1 amanda amanda  650801152 Feb 16 14:52 
> fiume.localnet.Pictures_800IS.0.6
> -rw------- 1 amanda amanda 1073741824 Feb 16 14:47 
> fiume.localnet.Pictures_rest.0
> -rw------- 1 amanda amanda 1073741824 Feb 16 14:39 
> fiume.localnet.Pictures_rest.0.1
> -rw------- 1 amanda amanda 1073741824 Feb 16 14:46 
> fiume.localnet.Pictures_rest.0.10
> -rw------- 1 amanda amanda  473434112 Feb 16 14:47 
> fiume.localnet.Pictures_rest.0.11
> -rw------- 1 amanda amanda 1073741824 Feb 16 14:40 
> fiume.localnet.Pictures_rest.0.2
> -rw------- 1 amanda amanda 1073741824 Feb 16 14:40 
> fiume.localnet.Pictures_rest.0.3
> -rw------- 1 amanda amanda 1073741824 Feb 16 14:41 
> fiume.localnet.Pictures_rest.0.4
> -rw------- 1 amanda amanda 1073741824 Feb 16 14:42 
> fiume.localnet.Pictures_rest.0.5
> -rw------- 1 amanda amanda 1073741824 Feb 16 14:43 
> fiume.localnet.Pictures_rest.0.6
> -rw------- 1 amanda amanda 1073741824 Feb 16 14:44 
> fiume.localnet.Pictures_rest.0.7
> -rw------- 1 amanda amanda 1073741824 Feb 16 14:44 
> fiume.localnet.Pictures_rest.0.8
> -rw------- 1 amanda amanda 1073741824 Feb 16 14:45
> fiume.localnet.Pictures_rest.0.9
> 
> "
> 
> not very clear in this layout, but fiume.localnet.Pictures_rest alone
> totals to more than 11Gb, while it should only have ~4Gb.
> Do I not understand the disklist format?  What is wrong?
> 
> 
> 
> 
> But I have a few more disklist questions:
> example 1
> 
> fiume.localnet test1 /home/charles {
>       generic
> }
> 
> will this include ALL under /home/charles?
> 
> example 2
> fiume.localnet test2 /home/charles {
>       generic
>       include "./*"
> }
> 
> is this in fact the same as example 1?  All under /home/charles will
> be included?
> 
> example 3
> fiume.localnet test2 /home/charles {
>       generic
>       include "./big"
> }
> 
> Will this include all under /home/charles or ONLY all under
> /home/charles/big?
> 
> The manuals are not very clear, the 3rd parameter ("/home/charles")
> is called "diskdevice", but my understanding is that it can be any
> point in the file tree of the system.  Correct?
> Disklist also makes no distinction between different file systems,
> I think?  For example, in example 2, subdirectory "big" would be
> included even if on a different file system (or LV or partion).
> Correct?
> The 2nd parameter (e.g. "test2") is an arbitrary label, although
> it is called "diskname".  Correct?
> 
> Thanks Charles
> 
> 
> 
> 
> -- 
> Charles Stroom
> email: charles at no-spam.stremen.xs4all.nl (remove the "no-spam.")
>>> End of included message <<<

Get rid of the include ./*  and start all 3 from same directory.

Consider this setup.  Note, an include implies exclude all else.

fiume.localnet  Pictures_G2 /home/charles/pictures {
#
#   pictures in the Canon_G2 directory ~7Gb
#
    nocomp-generic
    include "./Canon_G2"
} 2

fiume.localnet  Pictures_800IS  /home/charles/pictures {
#
#   pictures in the Canon_800IS directory ~7Gb
#
    nocomp-generic
    include "./Canon_800IS"
} 2

fiume.localnet  Pictures_rest   /home/charles/pictures {
#
#   all other pictures in the directory
#
    nocomp-generic
    exclude "./Canon_800IS/*"
    exclude "./Canon_G2/*"
} 2

Jon
-- 
Jon H. LaBadie                 [email protected]
 11226 South Shore Rd.          (703) 787-0688 (H)
 Reston, VA  20190              (609) 477-8330 (C)

Reply via email to