DLE splitting problem

2013-04-11 Thread Vytas-JWRL

Hi,

I am trying to split a large directory into separate DLEs unfortunately 
it does not appear to be working.  Amanda version is 2.6.1p2 installed 
using apt-get on a debian server.


The following line is from the currently running amdump showing that the 
estimated dump size is 162gigs,  however I thought I had excluded the 
Line_xx directories which contain the bulk of the image data.  The DLE 
should only be about 500megs in size.  Can anyone point me to what I am 
doing wrong?


Thanks,

Vytas

hopper:/mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06 0 
162g dumping  223g (137.76%) (20:28:02)



hopper /mnt/raid2/projects/Alberta/PLVI {
  comp-user-tar
  exclude file optional ./Source_Files/
  }

hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files {
  comp-user-tar
  exclude file optional ./1210h06/
  }

hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_10
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_11
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_12
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_13
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_14
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_15
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_16
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_17
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_18
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_19
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_20
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_21
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_22
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_23
comp-user-tar

hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06 {
  comp-user-tar
  exclude file optional ./Line_10/
  exclude file append ./Line_11/
  exclude file append ./Line_12/
  exclude file append ./Line_13/
  exclude file append ./Line_14/
  exclude file append ./Line_15/
  exclude file append ./Line_16/
  exclude file append ./Line_17/
  exclude file append ./Line_18/
  exclude file append ./Line_19/
  exclude file append ./Line_20/
  exclude file append ./Line_21/
  exclude file append ./Line_22/
  exclude file append ./Line_23/
  }


--
Vytas Janusauskas
JWRL Geomatics Inc.
Phone: 613-454-5807 ext.100
Email: vy...@jwrl.ca


Re: DLE splitting problem

2013-04-11 Thread Jean-Louis Martineau

On 04/11/2013 08:04 AM, Vytas-JWRL wrote:

Hi,

I am trying to split a large directory into separate DLEs 
unfortunately it does not appear to be working.  Amanda version is 
2.6.1p2 installed using apt-get on a debian server.


The following line is from the currently running amdump showing that 
the estimated dump size is 162gigs,  however I thought I had excluded 
the Line_xx directories which contain the bulk of the image data.  The 
DLE should only be about 500megs in size.  Can anyone point me to what 
I am doing wrong?

Try to remove the / at the end of the exclude.
eg. exclude file optional ./Source_Files

Jean-Louis


Thanks,

Vytas

hopper:/mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06 0 162g 
dumping  223g (137.76%) (20:28:02)



hopper /mnt/raid2/projects/Alberta/PLVI {
  comp-user-tar
  exclude file optional ./Source_Files/
  }

hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files {
  comp-user-tar
  exclude file optional ./1210h06/
  }

hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_10
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_11
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_12
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_13
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_14
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_15
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_16
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_17
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_18
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_19
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_20
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_21
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_22
comp-user-tar
hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06/Line_23
comp-user-tar

hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06 {
  comp-user-tar
  exclude file optional ./Line_10/
  exclude file append ./Line_11/
  exclude file append ./Line_12/
  exclude file append ./Line_13/
  exclude file append ./Line_14/
  exclude file append ./Line_15/
  exclude file append ./Line_16/
  exclude file append ./Line_17/
  exclude file append ./Line_18/
  exclude file append ./Line_19/
  exclude file append ./Line_20/
  exclude file append ./Line_21/
  exclude file append ./Line_22/
  exclude file append ./Line_23/
  }






Re: DLE splitting problem

2013-04-11 Thread Nathan Stratton Treadway
On Thu, Apr 11, 2013 at 11:04:47 -0400, Vytas-JWRL wrote:
 hopper /mnt/raid2/projects/Alberta/PLVI/Source_Files/1210h06 {
   comp-user-tar
   exclude file optional ./Line_10/
   exclude file append ./Line_11/

I agree with Jean-Louis that you need to remove the trailing /
characters from the directly names.  Also, if your goal is to exclude
_all_ the Line_ subdirectories, you might be able to replace all those
separate entries with a single wildcarded entry (e.g ./Line_*) or
at least just a few entries (e.g. ./Line_1?, etc.).

If you haven't discovered it already, you may find this Wiki page to be
useful in understanding how exclude works in Amanda:
  http://wiki.zmanda.com/index.php/Exclude_and_include_lists


(Finally, while I don't think it's causing any explicit problem,
note that the optional argument only applies to exclude list, not
exclude file.)

Nathan




Nathan Stratton Treadway  -  natha...@ontko.com  -  Mid-Atlantic region
Ray Ontko  Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239