SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Help on exclude files ...Please
Author Message
Post Help on exclude files ...Please 
Hi to all



Please help me I tried to exclude files or directories on a Linux Client version 5.5.03 without any success and it makes me crazy.



I want to backup "/" and "/boot"



Under "/" I have several directories as "/var/tmp" or "/var/log" or "/tmp" I don't want to backup



In the dsm.opt I add this line: domain ALL-LOCAL



In the dsm.sys I add this line: inclexcl /opt/tivoli/tsm/client/ba/bin/cciprnt.excl



On the file cciprnt.excl I tried several options as exclude.dir and more … but always I saw the files on "/tmp" or "/var/tmp"



One example of this file:



exclude.dir "/var/tmp"

exclude.dir "/var/log"

exclude.dir "/tmp"

exclude.dir "/root/Archive"



include "/.../*"

include "/boot/.../*"



Regards

Robert Ouzen

Post Help on exclude files ...Please 
Hi Robert,
You know that TSM reads the include and exclude from the bottom and up.
Plus that exclude.dir doesn't work in UNIX/Linux. (Don't know if they finally have include that to 5.5 client) but you should type like

Exclude /var/tmp/*

To exclude all data in /var/tmp

Hope this helping you.

Best Regards / Med Vänlig Hälsning
Christian Svensson
Products Specialist

Cristie Nordic AB
Visit Address: Knarrarnäsgatan 7, Kista Entre
Support, WW: +44-1453-84 7009
Support, US: +1-866-832-2267
Cell: +46-70-325 1577
E-Mail: Christian.Svensson < at > Cristie.se
Skype: cristie.christian.svensson
Visit Us < at > www.cristie.com



-----Ursprungligt meddelande-----
Från: ADSM: Dist Stor Manager [mailto:ADSM-L < at > VM.MARIST.EDU] För Robert Ouzen Ouzen
Skickat: den 16 juli 2008 14:12
Till: ADSM-L < at > VM.MARIST.EDU
Ämne: Help on exclude files ...Please

Hi to all



Please help me I tried to exclude files or directories on a Linux Client version 5.5.03 without any success and it makes me crazy.



I want to backup "/" and "/boot"



Under "/" I have several directories as "/var/tmp" or "/var/log" or "/tmp" I don't want to backup



In the dsm.opt I add this line: domain ALL-LOCAL



In the dsm.sys I add this line: inclexcl /opt/tivoli/tsm/client/ba/bin/cciprnt.excl



On the file cciprnt.excl I tried several options as exclude.dir and more ... but always I saw the files on "/tmp" or "/var/tmp"



One example of this file:



exclude.dir "/var/tmp"

exclude.dir "/var/log"

exclude.dir "/tmp"

exclude.dir "/root/Archive"



include "/.../*"

include "/boot/.../*"



Regards

Robert Ouzen

Post Help on exclude files ...Please 
As I frequently advise, do 'dsmc q inclexcl' rather than inspecting
client options files: have TSM report to you what *it* believes your
Include-Exclude list to be, which will also pull in any server-side
specs.

Richard Sims

Post Help on exclude files ...Please 
Christian Svensson wrote:
Hi Robert,
You know that TSM reads the include and exclude from the bottom and up.
Plus that exclude.dir doesn't work in UNIX/Linux. (Don't know if they finally have include that to 5.5 client) but you should type like


exclude.dir most certainly does work with linux/unix.

But,

what I would do is do a 'dsmc q inclexcl' so you know what is and isn't
picked up by the client. Your rules seem to be fine. What exactly is the
client not doing or doing that is not up to your expectations?



Exclude /var/tmp/*

To exclude all data in /var/tmp

Hope this helping you.

Best Regards / Med Vänlig Hälsning
Christian Svensson
Products Specialist

Cristie Nordic AB
Visit Address: Knarrarnäsgatan 7, Kista Entre
Support, WW: +44-1453-84 7009
Support, US: +1-866-832-2267
Cell: +46-70-325 1577
E-Mail: Christian.Svensson < at > Cristie.se
Skype: cristie.christian.svensson
Visit Us < at > www.cristie.com



-----Ursprungligt meddelande-----
Från: ADSM: Dist Stor Manager [mailto:ADSM-L < at > VM.MARIST.EDU] För Robert Ouzen Ouzen
Skickat: den 16 juli 2008 14:12
Till: ADSM-L < at > VM.MARIST.EDU
Ämne: Help on exclude files ...Please

Hi to all



Please help me I tried to exclude files or directories on a Linux Client version 5.5.03 without any success and it makes me crazy.



I want to backup "/" and "/boot"



Under "/" I have several directories as "/var/tmp" or "/var/log" or "/tmp" I don't want to backup



In the dsm.opt I add this line: domain ALL-LOCAL



In the dsm.sys I add this line: inclexcl /opt/tivoli/tsm/client/ba/bin/cciprnt.excl



On the file cciprnt.excl I tried several options as exclude.dir and more ... but always I saw the files on "/tmp" or "/var/tmp"



One example of this file:



exclude.dir "/var/tmp"

exclude.dir "/var/log"

exclude.dir "/tmp"

exclude.dir "/root/Archive"



include "/.../*"

include "/boot/.../*"



Regards

Robert Ouzen


--
Met vriendelijke groeten,

Remco Post, PLCS

Post Help on exclude files ...Please 
Hi Richard and others

I left only the /var/tmp/.../* on the inclexcl file to test , I do a q inclexcl as Richard suggest but I still see the files under /var/tmp ???


tsm> q inclexcl
*** FILE INCLUDE/EXCLUDE ***
Mode Function Pattern (match from top down) Source File
---- --------- ------------------------------ -----------------
No exclude filespace statements defined.
Excl Directory /.../.TsmCacheDir TSM
Exclude All /var/tmp/.../* "/opt/tivoli/tsm/client/ba/bin/cciprnt2.excl"
No DFS include/exclude statements defined.

Robert

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L < at > VM.MARIST.EDU] On Behalf Of Richard Sims
Sent: Wednesday, July 16, 2008 3:34 PM
To: ADSM-L < at > VM.MARIST.EDU
Subject: Re: [ADSM-L] Help on exclude files ...Please

As I frequently advise, do 'dsmc q inclexcl' rather than inspecting
client options files: have TSM report to you what *it* believes your
Include-Exclude list to be, which will also pull in any server-side
specs.

Richard Sims

Post Help on exclude files ...Please 
On Jul 16, 2008, at 8:15 AM, Christian Svensson wrote:

... Plus that exclude.dir doesn't work in UNIX/Linux. ...

It has always worked, from all my experience and observations. And
I've seen no problem reports. Please cite APARs, alerts, or
advisories which support the claim that it doesn't work, rather than
putting a blanket statement out there like that to the user community.

Richard Sims

Post Help on exclude files ...Please 
Hi to all

Eureka !!!! I just needed to kill the dsmcad , to load it back and I got what I need. ( I was loading the backup/restore from a browser)

I exclude those directories with exclude.dir /var/tmp and it worked fine.

Thanks to all

Robert

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L < at > VM.MARIST.EDU] On Behalf Of Richard Sims
Sent: Wednesday, July 16, 2008 3:47 PM
To: ADSM-L < at > VM.MARIST.EDU
Subject: Re: [ADSM-L] SV: Help on exclude files ...Please

On Jul 16, 2008, at 8:15 AM, Christian Svensson wrote:

... Plus that exclude.dir doesn't work in UNIX/Linux. ...

It has always worked, from all my experience and observations. And
I've seen no problem reports. Please cite APARs, alerts, or
advisories which support the claim that it doesn't work, rather than
putting a blanket statement out there like that to the user community.

Richard Sims

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