SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
exclude list not working on clients.
Author Message
Post exclude list not working on clients. 
Hi.

I have one client host that refuses to listen to the "exclude list" option in the dumptype.

I know it works, for example I backup a 120GB /amanda directory/parition on the tape
host that contains the directory holdingdisk, that is excluded in the dumptype:

define dumptype amandadir {
global
exclude list "/usr/local/etc/amanda/DailySet1/amanda_exclude.gtar"
program "GNUTAR"
}

and that file contains one line and one line only:

[root < at > tapehost /usr/local/etc/amanda/DailySet1] #>cat amanda_exclude.gtar
./holdingdisk

and that [thankfully Wink ] is not backed up.


So here is what I have (well the important stuff) with regards to the config
I have some problems with:

On the amanda tape server in amanda.conf:

define dumptype sambadir {
global
exclude list "/usr/local/etc/amanda/DailySet1/samba_exclude.gtar"
program "GNUTAR"
}

On the amanda tape server in disklist (amongst other partitions and hosts):
...
192.168.X.Y /var standard
192.168.X.Y /src standard
192.168.X.Y /samba sambadir
...

on the client 192.168.X.Y I have a file that is refered to above that contains

[root < at > 192.168.X.Y /] #>cat /usr/local/etc/amanda/DailySet1/samba_exclude.gtar
./Shares/Backup
./Shares/score_testing
./Shares/SharedBinariesWinNT
./Shares/SharedBinariesWin2000

Those directories are full of stuff that does not need to be backed up,
but when I look in the gnutar-list directory of that client:

[root < at > 192.168.X.Y /var/lib/amanda/gnutar-lists] #>grep "./Shares\/Backup" 192.168.X.Y_samba_1
2067 12304757 ./Shares/Backup/Software/DevStudio_SourceCode/VC/SAMPLES/SDK/OLE/INOLE2/CHAP07/PATRON
2067 11026541 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/custom/layout/modules
2067 278714 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa5.4.1/expl/productupdates/shared
2067 246195 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa/locale/ja
2067 10896037 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/cache/upload/upgrades/temp/k9D2wD/SugarPro-Upgrade-4.0.1-to-4.5.0d/include/ytree/TreeView/css
2067 10354877 ./Shares/Backup/ServerBackup/Documents/2000_11_31/Assessment Services/SPQ
2067 12370086 ./Shares/Backup/WebsServers/VPS_april2006/localicons_b4_update/Activate2/small
2067 12763398 ./Shares/Backup/WebsServers/Moja_aug2008/home/httpd/www.activate.com.au/dynamic/HVP_TP/pdf/ask
2067 11043546 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/modules/Studio/wizards
2067 11405291 ./Shares/Backup/Software/DevStudio_SourceCode/MyProjects/Colin Herbert
2067 10322192 ./Shares/Backup/ServerBackup/Documents/1998_12_31/Z_SystemAdministration/motherboards
2067 82041 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa.org.02_04_08/bin/etc
2067 10797122 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/cache/upload/upgrades/patch/SugarPro-Patch-3.5.1b-restore/include
2067 10715411 ./Shares/Backup/ServerBackup/Documents/2007_and_earlier/Consulting/Proposals/2002/Tender Submissions/NESA Aug02


So I am not sure why it does not work, basically it is 50GB of crap I do not need
and is only required for "historical purposes".

What am I doing wrong?

Jobst






--
Today is the first day of the rest of the mess.

| |0| | Jobst Schmalenbach, jobst < at > barrett.com.au, General Manager
| | |0| Barrett Consulting Group P/L & The Meditation Room P/L
|0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia

Post exclude list not working on clients. 
Jobst,

What you do looks good, post the sendbackup.*.debug file.

Jean-Louis

Jobst Schmalenbach wrote:
Hi.

I have one client host that refuses to listen to the "exclude list" option in the dumptype.

I know it works, for example I backup a 120GB /amanda directory/parition on the tape
host that contains the directory holdingdisk, that is excluded in the dumptype:

define dumptype amandadir {
global
exclude list "/usr/local/etc/amanda/DailySet1/amanda_exclude.gtar"
program "GNUTAR"
}

and that file contains one line and one line only:

[root < at > tapehost /usr/local/etc/amanda/DailySet1] #>cat amanda_exclude.gtar
./holdingdisk

and that [thankfully Wink ] is not backed up.


So here is what I have (well the important stuff) with regards to the config
I have some problems with:

On the amanda tape server in amanda.conf:

define dumptype sambadir {
global
exclude list "/usr/local/etc/amanda/DailySet1/samba_exclude.gtar"
program "GNUTAR"
}

On the amanda tape server in disklist (amongst other partitions and hosts):
...
192.168.X.Y /var standard
192.168.X.Y /src standard
192.168.X.Y /samba sambadir
...

on the client 192.168.X.Y I have a file that is refered to above that contains

[root < at > 192.168.X.Y /] #>cat /usr/local/etc/amanda/DailySet1/samba_exclude.gtar
./Shares/Backup
./Shares/score_testing
./Shares/SharedBinariesWinNT
./Shares/SharedBinariesWin2000

Those directories are full of stuff that does not need to be backed up,
but when I look in the gnutar-list directory of that client:

[root < at > 192.168.X.Y /var/lib/amanda/gnutar-lists] #>grep "./Shares\/Backup" 192.168.X.Y_samba_1
2067 12304757 ./Shares/Backup/Software/DevStudio_SourceCode/VC/SAMPLES/SDK/OLE/INOLE2/CHAP07/PATRON
2067 11026541 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/custom/layout/modules
2067 278714 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa5.4.1/expl/productupdates/shared
2067 246195 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa/locale/ja
2067 10896037 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/cache/upload/upgrades/temp/k9D2wD/SugarPro-Upgrade-4.0.1-to-4.5.0d/include/ytree/TreeView/css
2067 10354877 ./Shares/Backup/ServerBackup/Documents/2000_11_31/Assessment Services/SPQ
2067 12370086 ./Shares/Backup/WebsServers/VPS_april2006/localicons_b4_update/Activate2/small
2067 12763398 ./Shares/Backup/WebsServers/Moja_aug2008/home/httpd/www.activate.com.au/dynamic/HVP_TP/pdf/ask
2067 11043546 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/modules/Studio/wizards
2067 11405291 ./Shares/Backup/Software/DevStudio_SourceCode/MyProjects/Colin Herbert
2067 10322192 ./Shares/Backup/ServerBackup/Documents/1998_12_31/Z_SystemAdministration/motherboards
2067 82041 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa.org.02_04_08/bin/etc
2067 10797122 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/cache/upload/upgrades/patch/SugarPro-Patch-3.5.1b-restore/include
2067 10715411 ./Shares/Backup/ServerBackup/Documents/2007_and_earlier/Consulting/Proposals/2002/Tender Submissions/NESA Aug02


So I am not sure why it does not work, basically it is 50GB of crap I do not need
and is only required for "historical purposes".

What am I doing wrong?

Jobst








Post exclude list not working on clients. 
Thanks for replying, Jean-Louis.

I have trouble finding them for the host AND partitions in question.
I can only find the sendbackup.*.debug files for the tape host itself
but not the client machines (none of them).

They should be in /tmp/amanda but they are not (except on the
tape host itslef). Bugger. Need to do some research.

Jobst



-----Original Message-----
From: Jean-Louis Martineau <martineau < at > zmanda.com>
To: Jobst Schmalenbach <jobst < at > barrett.com.au>
Cc: amanda-users < at > amanda.org
Subject: Re: exclude list not working on clients.
Date: Fri, 26 Feb 2010 10:03:21 -0500

Jobst,

What you do looks good, post the sendbackup.*.debug file.

Jean-Louis

Jobst Schmalenbach wrote:
Hi.

I have one client host that refuses to listen to the "exclude list" option in the dumptype.

I know it works, for example I backup a 120GB /amanda directory/parition on the tape
host that contains the directory holdingdisk, that is excluded in the dumptype:

define dumptype amandadir {
global
exclude list "/usr/local/etc/amanda/DailySet1/amanda_exclude.gtar"
program "GNUTAR"
}

and that file contains one line and one line only:

[root < at > tapehost /usr/local/etc/amanda/DailySet1] #>cat amanda_exclude.gtar
./holdingdisk

and that [thankfully Wink ] is not backed up.


So here is what I have (well the important stuff) with regards to the config
I have some problems with:

On the amanda tape server in amanda.conf:

define dumptype sambadir {
global
exclude list "/usr/local/etc/amanda/DailySet1/samba_exclude.gtar"
program "GNUTAR"
}

On the amanda tape server in disklist (amongst other partitions and hosts):
...
192.168.X.Y /var standard
192.168.X.Y /src standard
192.168.X.Y /samba sambadir
...

on the client 192.168.X.Y I have a file that is refered to above that contains

[root < at > 192.168.X.Y /] #>cat /usr/local/etc/amanda/DailySet1/samba_exclude.gtar
./Shares/Backup
./Shares/score_testing
./Shares/SharedBinariesWinNT
./Shares/SharedBinariesWin2000

Those directories are full of stuff that does not need to be backed up,
but when I look in the gnutar-list directory of that client:

[root < at > 192.168.X.Y /var/lib/amanda/gnutar-lists] #>grep "./Shares\/Backup" 192.168.X.Y_samba_1
2067 12304757 ./Shares/Backup/Software/DevStudio_SourceCode/VC/SAMPLES/SDK/OLE/INOLE2/CHAP07/PATRON
2067 11026541 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/custom/layout/modules
2067 278714 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa5.4.1/expl/productupdates/shared
2067 246195 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa/locale/ja
2067 10896037 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/cache/upload/upgrades/temp/k9D2wD/SugarPro-Upgrade-4.0.1-to-4.5.0d/include/ytree/TreeView/css
2067 10354877 ./Shares/Backup/ServerBackup/Documents/2000_11_31/Assessment Services/SPQ
2067 12370086 ./Shares/Backup/WebsServers/VPS_april2006/localicons_b4_update/Activate2/small
2067 12763398 ./Shares/Backup/WebsServers/Moja_aug2008/home/httpd/www.activate.com.au/dynamic/HVP_TP/pdf/ask
2067 11043546 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/modules/Studio/wizards
2067 11405291 ./Shares/Backup/Software/DevStudio_SourceCode/MyProjects/Colin Herbert
2067 10322192 ./Shares/Backup/ServerBackup/Documents/1998_12_31/Z_SystemAdministration/motherboards
2067 82041 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa.org.02_04_08/bin/etc
2067 10797122 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/cache/upload/upgrades/patch/SugarPro-Patch-3.5.1b-restore/include
2067 10715411 ./Shares/Backup/ServerBackup/Documents/2007_and_earlier/Consulting/Proposals/2002/Tender Submissions/NESA Aug02


So I am not sure why it does not work, basically it is 50GB of crap I do not need
and is only required for "historical purposes".

What am I doing wrong?

Jobst








Post exclude list not working on clients. 
They are on the client machine.

Jean-Louis

Jobst Schmalenbach wrote:
Thanks for replying, Jean-Louis.

I have trouble finding them for the host AND partitions in question.
I can only find the sendbackup.*.debug files for the tape host itself
but not the client machines (none of them).

They should be in /tmp/amanda but they are not (except on the
tape host itslef). Bugger. Need to do some research.

Jobst



-----Original Message-----
From: Jean-Louis Martineau <martineau < at > zmanda.com>
To: Jobst Schmalenbach <jobst < at > barrett.com.au>
Cc: amanda-users < at > amanda.org
Subject: Re: exclude list not working on clients.
Date: Fri, 26 Feb 2010 10:03:21 -0500

Jobst,

What you do looks good, post the sendbackup.*.debug file.

Jean-Louis

Jobst Schmalenbach wrote:

Hi.

I have one client host that refuses to listen to the "exclude list" option in the dumptype.

I know it works, for example I backup a 120GB /amanda directory/parition on the tape
host that contains the directory holdingdisk, that is excluded in the dumptype:

define dumptype amandadir {
global
exclude list "/usr/local/etc/amanda/DailySet1/amanda_exclude.gtar"
program "GNUTAR"
}

and that file contains one line and one line only:

[root < at > tapehost /usr/local/etc/amanda/DailySet1] #>cat amanda_exclude.gtar
./holdingdisk

and that [thankfully Wink ] is not backed up.


So here is what I have (well the important stuff) with regards to the config
I have some problems with:

On the amanda tape server in amanda.conf:

define dumptype sambadir {
global
exclude list "/usr/local/etc/amanda/DailySet1/samba_exclude.gtar"
program "GNUTAR"
}

On the amanda tape server in disklist (amongst other partitions and hosts):
...
192.168.X.Y /var standard
192.168.X.Y /src standard
192.168.X.Y /samba sambadir
...

on the client 192.168.X.Y I have a file that is refered to above that contains

[root < at > 192.168.X.Y /] #>cat /usr/local/etc/amanda/DailySet1/samba_exclude.gtar
./Shares/Backup
./Shares/score_testing
./Shares/SharedBinariesWinNT
./Shares/SharedBinariesWin2000

Those directories are full of stuff that does not need to be backed up,
but when I look in the gnutar-list directory of that client:

[root < at > 192.168.X.Y /var/lib/amanda/gnutar-lists] #>grep "./Shares\/Backup" 192.168.X.Y_samba_1
2067 12304757 ./Shares/Backup/Software/DevStudio_SourceCode/VC/SAMPLES/SDK/OLE/INOLE2/CHAP07/PATRON
2067 11026541 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/custom/layout/modules
2067 278714 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa5.4.1/expl/productupdates/shared
2067 246195 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa/locale/ja
2067 10896037 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/cache/upload/upgrades/temp/k9D2wD/SugarPro-Upgrade-4.0.1-to-4.5.0d/include/ytree/TreeView/css
2067 10354877 ./Shares/Backup/ServerBackup/Documents/2000_11_31/Assessment Services/SPQ
2067 12370086 ./Shares/Backup/WebsServers/VPS_april2006/localicons_b4_update/Activate2/small
2067 12763398 ./Shares/Backup/WebsServers/Moja_aug2008/home/httpd/www.activate.com.au/dynamic/HVP_TP/pdf/ask
2067 11043546 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/modules/Studio/wizards
2067 11405291 ./Shares/Backup/Software/DevStudio_SourceCode/MyProjects/Colin Herbert
2067 10322192 ./Shares/Backup/ServerBackup/Documents/1998_12_31/Z_SystemAdministration/motherboards
2067 82041 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa.org.02_04_08/bin/etc
2067 10797122 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/cache/upload/upgrades/patch/SugarPro-Patch-3.5.1b-restore/include
2067 10715411 ./Shares/Backup/ServerBackup/Documents/2007_and_earlier/Consulting/Proposals/2002/Tender Submissions/NESA Aug02


So I am not sure why it does not work, basically it is 50GB of crap I do not need
and is only required for "historical purposes".

What am I doing wrong?

Jobst











Post exclude list not working on clients. 
Hi.

all of the machines in question are an upgrade to CentOS 5.4
and it seems there was an error in updating the packages and
hence confusing PATH etc. When I checked via "amadmin version"
it reported a different version as from "yum list installed | grep ama".

So I went back to my usual way of handling these type of packages
and compiled it myself and all clients and server run the same
amanda now 2.6.0p2. The reason why I used that I had a local tar,
and I knew this would work (as it did before).

With this I wanted to make sure that every possible error is gone
and all packages match and pathnames are correct.


However a couple of things I like to mention:

The problem I described below is gone and it seemed that upon saving
and exit a "c" character sneaked into the pathname of the exclude file
which is really hard to see.

What surprises me that such an error that is fairly severe is not reported
in the email that is send to the admin after a finished backup. Other
errors are reported, e.g. missing tape etc or when a file has vanished during
backup (e.g. temporary files like firefox' parent.lock).

But there was no mention that the exclude file was not found ... Is this intended??


Jobst










On Fri, Feb 26, 2010 at 09:32:06PM -0500, Jean-Louis Martineau (martineau < at > zmanda.com) wrote:
They are on the client machine.

Jean-Louis

Jobst Schmalenbach wrote:
Thanks for replying, Jean-Louis.

I have trouble finding them for the host AND partitions in question.
I can only find the sendbackup.*.debug files for the tape host itself
but not the client machines (none of them).

They should be in /tmp/amanda but they are not (except on the
tape host itslef). Bugger. Need to do some research.

Jobst



-----Original Message-----
From: Jean-Louis Martineau <martineau < at > zmanda.com>
To: Jobst Schmalenbach <jobst < at > barrett.com.au>
Cc: amanda-users < at > amanda.org
Subject: Re: exclude list not working on clients.
Date: Fri, 26 Feb 2010 10:03:21 -0500

Jobst,

What you do looks good, post the sendbackup.*.debug file.

Jean-Louis

Jobst Schmalenbach wrote:
Hi.

I have one client host that refuses to listen to the "exclude
list" option in the dumptype.

I know it works, for example I backup a 120GB /amanda
directory/parition on the tape host that contains the directory
holdingdisk, that is excluded in the dumptype:

define dumptype amandadir {
global
exclude list "/usr/local/etc/amanda/DailySet1/amanda_exclude.gtar"
program "GNUTAR"
}

and that file contains one line and one line only:

[root < at > tapehost /usr/local/etc/amanda/DailySet1] #>cat
amanda_exclude.gtar ./holdingdisk

and that [thankfully Wink ] is not backed up.


So here is what I have (well the important stuff) with regards
to the config I have some problems with:

On the amanda tape server in amanda.conf:

define dumptype sambadir {
global
exclude list "/usr/local/etc/amanda/DailySet1/samba_exclude.gtar"
program "GNUTAR"
}

On the amanda tape server in disklist (amongst other partitions and hosts):
...
192.168.X.Y /var standard
192.168.X.Y /src standard
192.168.X.Y /samba sambadir
...

on the client 192.168.X.Y I have a file that is refered to above that contains

[root < at > 192.168.X.Y /] #>cat /usr/local/etc/amanda/DailySet1/samba_exclude.gtar
./Shares/Backup
./Shares/score_testing
./Shares/SharedBinariesWinNT
./Shares/SharedBinariesWin2000
Those directories are full of stuff that does not need to be backed up,
but when I look in the gnutar-list directory of that client:

[root < at > 192.168.X.Y /var/lib/amanda/gnutar-lists] #>grep "./Shares\/Backup" 192.168.X.Y_samba_1
2067 12304757 ./Shares/Backup/Software/DevStudio_SourceCode/VC/SAMPLES/SDK/OLE/INOLE2/CHAP07/PATRON
2067 11026541 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/custom/layout/modules
2067 278714 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa5.4.1/expl/productupdates/shared
2067 246195 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa/locale/ja
2067 10896037 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/cache/upload/upgrades/temp/k9D2wD/SugarPro-Upgrade-4.0.1-to-4.5.0d/include/ytree/TreeView/css
2067 10354877 ./Shares/Backup/ServerBackup/Documents/2000_11_31/Assessment Services/SPQ
2067 12370086 ./Shares/Backup/WebsServers/VPS_april2006/localicons_b4_update/Activate2/small
2067 12763398 ./Shares/Backup/WebsServers/Moja_aug2008/home/httpd/www.activate.com.au/dynamic/HVP_TP/pdf/ask
2067 11043546 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/modules/Studio/wizards
2067 11405291 ./Shares/Backup/Software/DevStudio_SourceCode/MyProjects/Colin Herbert
2067 10322192 ./Shares/Backup/ServerBackup/Documents/1998_12_31/Z_SystemAdministration/motherboards
2067 82041 ./Shares/Backup/WebsServers/Moja_aug2008/home/sympa.org.02_04_08/bin/etc
2067 10797122 ./Shares/Backup/ServerBackup/SomeStuffPre2008/BCG_CRM_4.5.0d/cache/upload/upgrades/patch/SugarPro-Patch-3.5.1b-restore/include
2067 10715411 ./Shares/Backup/ServerBackup/Documents/2007_and_earlier/Consulting/Proposals/2002/Tender Submissions/NESA Aug02


So I am not sure why it does not work, basically it is 50GB of crap I do not need
and is only required for "historical purposes".

What am I doing wrong?

Jobst








--
Note to DOS users: UNIX is a lot more FUN - Peter Norton

| |0| | Jobst Schmalenbach, jobst < at > barrett.com.au, General Manager
| | |0| Barrett Consulting Group P/L & The Meditation Room P/L
|0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB