ADSM-L

Re: [ADSM-L] Exclude excludes too much

2013-03-27 09:13:07
Subject: Re: [ADSM-L] Exclude excludes too much
From: "Meunier, Yann" <yann.meunier AT CAISSEDESDEPOTS DOT FR>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 27 Mar 2013 13:10:43 +0000
Hi,

I suggest you make the following changes:

PASSWORDACCESS  GENERATE
SCHEDLOGNAME    /var/log/tsm/schedule.log
Schedlogretention       30 d
ERRORLOGNAME    /var/log/tsm/error.log
Errorlogretention       30 d

DOMAIN ALL-LOCAL

EXCLUDE.DIR             /proc
EXCLUDE.DIR             /sys
EXCLUDE.DIR             /dev
EXCLUDE.DIR             /tmp
EXCLUDE         /var/log/tsm/schedule.log
EXCLUDE         /var/log/tsm/error.log

By default, the /var must should be saved and only the tsm logs will be 
excluded (+ exclude.dir)
If many files are open, I encourage you to use a management class in dynamic 
mode.

INCLUDE.DIR /var MGMTCLASS

Best regards,

Yann MEUNIER


-----Message d'origine-----
De : ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] De la part de 
Jens Bürger
Envoyé : mercredi 27 mars 2013 09:49
À : ADSM-L AT VM.MARIST DOT EDU
Objet : [ADSM-L] Exclude excludes too much

Hello everyone,

what I am trying to do is a rather simple task - I thought.

I just want to backup a whole Linux-system with TSM.

So I want to exclude all system-specific dirs and the TSM logs  (because 
otherwise there will be an error because TSM writes to the files while backing 
them up) from my (incremental) backup, but I especially want to INCLUDE the 
rest of /var/...

My problem is: I tried a bunch of options and combinations, but no matter what 
I set, TSM completely ignores /var then (and yes, I do not forget to restart 
dsmc schedule after changing the option-file).

So these are the respective lines of my dsm.sys:


EXCLUDE.DIR     /proc
EXCLUDE.DIR     /sys
EXCLUDE.DIR     /dev
EXCLUDE.DIR     /tmp
EXCLUDE /var/log/tsm/schedule.log
EXCLUDE /var/log/tsm/error.log
INCLUDE /var/
PASSWORDACCESS  GENERATE
SCHEDLOGNAME            /var/log/tsm/schedule.log
schedlogretention  30 d
ERRORLOGNAME            /var/log/tsm/error.log
errorlogretention  30 d

Any help appreciated...

Jens
Ce message et toutes les pièces jointes (ci-après le « message ») sont 
confidentiels et établis à l’intention exclusive de ses destinataires. Toute 
utilisation de ce message non conforme à sa destination, toute diffusion ou 
toute publication, totale ou partielle, est interdite, sauf autorisation 
expresse. Si vous recevez ce message par erreur, merci de le détruire sans en 
conserver de copie et d’en avertir immédiatement l’expéditeur. Internet ne 
permettant pas de garantir l’intégrité de ce message, la Caisse des Dépôts et 
Consignations décline toute responsabilité au titre de ce message s’il a été 
modifié, altéré, déformé ou falsifié. Par ailleurs et malgré toutes les 
précautions prises pour éviter la présence de virus dans nos envois, nous vous 
recommandons de prendre, de votre côté, les mesures permettant d'assurer la 
non-introduction de virus dans votre système informatique.

This email message and any attachments (“the email”) are confidential and 
intended only for the recipient(s) indicated. If you are not an intented 
recipient, please be advised that any use, dissemination, forwarding or copying 
of this email whatsoever is prohibited without Caisse des Depots et 
Consignations's prior written consent. If you have received this email in 
error, please delete it without saving a copy and notify the sender 
immediately. Internet emails are not necessarily secured, and declines 
responsibility for any changes that may have been made to this email after it 
was sent. While we take all reasonable precautions to ensure that viruses are 
not transmitted via emails, we recommend that you take your own measures to 
prevent viruses from entering your computer system.

<Prev in Thread] Current Thread [Next in Thread>