Networker

Re: [Networker] Should core directories/files be skipped?

2007-09-12 21:46:10
Subject: Re: [Networker] Should core directories/files be skipped?
From: Peter Viertel <Peter.Viertel AT MACQUARIE DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 13 Sep 2007 11:41:06 +1000
We got bitten a few times - Catalina's a good example - heaps of
developers use it.

You can't go round 'educating' developers to make exceptions - it's just
wasting peoples time and mindpower to save some tape space...

I just got rid of the core rule altogether...    Maybe we back up
another gig of core files over 20TB of data, about 0.0025 of a tape per
week...

The other option is to replace the skip directive with compressasm,
core files usually scrunch up really well.


> -----Original Message-----
> From: EMC NetWorker discussion 
> [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On Behalf Of George Sinclair
> Sent: Thursday, 13 September 2007 3:04 AM
> To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
> Subject: [Networker] Should core directories/files be skipped?
> 
> Hi,
> 
> By default, the 'Unix standard directives' skips all core files as:
> 
> << / >>
>         skip: tmp_mnt
>         +skip: core
> 
> This is the directive I usually use for most clients, but I've found 
> that this causes any file or directory with the name 'core' to get 
> skipped (not surprising, of course), even if it lives under 
> some other 
> file system other than / (that seems kinda surprising). I would have 
> thought that in order for a directory named 'core' to get 
> skipped under, 
> say, '/export/disk2/core', assuming /disk2 is a separate file system, 
> that there would need to be another entry for this in the 
> directive but 
> apparently not.  Anyway, maybe skipping core files is not a bad idea 
> (some can be quite large), but maybe we should still remove the line 
> that does this so in case a user, or some software package, creates a 
> directory named 'core' it will get backed up? For example, 
> consider the 
> following directory:
> 
> /var/apache/tomcat/webapps/tomcat-docs/catalina/docs/api/org/a
pache/catalina/core
> 
> This does contain data files. Also, I've seen some core directories, 
> under various OS patch install directories, for Java, too, 
> and there are 
> a lot of directories on Linux clients named 'core' that are 
> all buried 
> down umpteen levels like 
> /usr/src/kernels/2.6.9-42.0.10.EL-i686/net/core, etc.  Hmm ...
> 
> Any consensus on this? Any way to skip 'core' files but not 
> directories? 
> Maybe just remove the line from the directive and get these 
> previously 
> skipped areas backed up on the next fulls?
> 
> George
> 
> -- 
> George Sinclair - NOAA/NESDIS/National Oceanographic Data Center
> SSMC3 4th Floor Rm 4145       | Voice: (301) 713-3284 x210
> 1315 East West Highway        | Fax:   (301) 713-3301
> Silver Spring, MD 20910-3282  | Web Site:  http://www.nodc.noaa.gov/
> - Any opinions expressed in this message are NOT those of the 
> US Govt. - 
> 
> To sign off this list, send email to 
> listserv AT listserv.temple DOT edu and type "signoff networker" in 
> the body of the email. Please write to 
> networker-request AT listserv.temple DOT edu if you have any 
> problems with this list. You can access the archives at 
> http://listserv.temple.edu/archives/networker.html or
> via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
> 

NOTICE
This e-mail and any attachments are confidential and may contain copyright 
material of Macquarie Bank or third parties. If you are not the intended 
recipient of this email you should not read, print, re-transmit, store or act 
in reliance on this e-mail or any attachments, and should destroy all copies of 
them. Macquarie Bank does not guarantee the integrity of any emails or any 
attached files. The views or opinions expressed are the author's own and may 
not reflect the views or opinions of Macquarie Bank.

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER