ADSM-L

Re: [ADSM-L] what is the proper syntax for the incluede/exclude in linux list

2010-08-06 16:58:09
Subject: Re: [ADSM-L] what is the proper syntax for the incluede/exclude in linux list
From: Skylar Thompson <skylar2 AT U.WASHINGTON DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Fri, 6 Aug 2010 13:56:52 -0700
I think for systems where /tmp is a non-disk filesystem (e.g. swap on
Solaris) it will be ignored by the TSM client. For systems where it is a
regular disk filesystem or just a subdirectory of / it would be backed up.

On 08/06/10 13:03, Erwin Zavala wrote:
experience and reading the /tmp is and was backed up unless you exclude it
... at least in 5.4

On Fri, Aug 6, 2010 at 3:22 PM, Richard Sims<rbs AT bu DOT edu>  wrote:

On Aug 6, 2010, at 2:48 PM, yoda woya wrote:

Actually... /tmp is included

Are you saying that on the basis of belief from reading, or from actual
experience? The Unix client has historically omitted the /tmp file system
from default processing backup, due to its nature. That is documented under
the DOMain option, where "all-local" is the default, and with that default,
the documentation says "The /tmp directory is not included."

If you perform a default backup and find that the /tmp file system is being
included, do 'dsmc query inclexcl' and see if /tmp is being included by some
client-side or server-side specification.  If not, you have basic to contact
TSM Support with that issue.

If /tmp is a not a file system, but a subdirectory of /, you can, if
necessary, use Exclude.Dir for it.  Normally, you would not want to back up
the root file system, as it usually contains system elements that are
planted via kickstart or the like, and would be reconstructed via that
method in case of disk or system failure.

My question question is the syntax

domain ALL-LOCAL - /x -/y   or
domain ALL-LOCAL - /x /y   or
domain ALL-LOCAL - /x, /y  ... etc

The manual specifies that each should have a minus sign abutted to the
front of it. In any case, there should be no need for you to perform an
explicit exclusion for /tmp as a file system.  If /tmp were a subdirectory
and you wanted to exclude it via a Domain spec, you would have to force it
to be a domain via the VIRTUALMountpoint option - which is more than you
would want to do.



*Storage Archive Manager, Version 5.4*
------------------------------
How special file systems are
handled<
http://publib.boulder.ibm.com/infocenter/tivihelp/v1r1/topic/com.ibm.itsmfdt.doc_5.4/ans5000002.htm#ToC_189


Special file systems contain dynamic information generated by the
operating
system; they contain no data or files. The Tivoli Storage Manager client
ignores special file systems and their contents. Special file systems
include the following:

   - the /proc file system on most of the UNIX platforms
   - the /dev/fd file system on Solaris
   - the /dev/pts on Linux






On Thu, Aug 5, 2010 at 5:35 PM, Richard Sims<rbs AT bu DOT edu>  wrote:

The client manual explains that /tmp and /proc are not inherently
included in Unix backups.
And to exclude some other file system on the Domain statement, precede
it with a minus sign (not a tilde); or use Exclude.Fs.

   Richard Sims


On Aug 5, 2010, at 4:53 PM, yoda woya wrote:

I am trying to exclude /proc and /tmp and backup everything else...


is it  domain ALL-LOCAL ~/tmp ~/proc??




--
-- Skylar Thompson (skylar2 AT u.washington DOT edu)
-- Genome Sciences Department, System Administrator
-- Foege Building S048, (206)-685-7354
-- University of Washington School of Medicine