<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Re: [hobbit] More Newbie questions.. sorry in advance..</title>
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Book Antiqua";
        panose-1:2 4 6 2 5 3 5 3 3 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks Tom,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>I have so much to learn!! This is what you
run to do daily backups, correct? <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>That is a much better way to do
exclusions! Very Cool! Thank you so much! <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><strong><b><font
size=3 color="#004080" face="Book Antiqua"><span style='font-size:12.0pt;
font-family:"Book Antiqua";color:#004080'>Rafal Roginela</span></font></b></strong><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>

</div>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Callahan, Tom
[mailto:CallahanT@tessco.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, March 21, 2008 10:50
AM<br>
<b><span style='font-weight:bold'>To:</span></b> hobbit@hswn.dk<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [hobbit] More Newbie
questions.. sorry in advance..</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Calibri><span
style='font-size:11.0pt;font-family:Calibri'>I use these lines:<br>
EXCLUDE_NFS=`mount | grep nfs | awk '{print $3}'`<br>
EXCLUDE_LIST="$EXCLUDE_NFS proc kcore core sys dev srv mount media"<br>
<br>
for i in $EXCLUDE_LIST<br>
do<br>
        echo $i >> $EXCLUDE_FILE<br>
done<br>
<br>
<br>
To generate any NFS mounted partitions and others I want to exclude, to add as
a variable to exclude from backups as well, then my backup cmd is:<br>
<br>
/bin/tar zcpf $BACKUP_LOC/"$HOSTNAME"_backup.`date +%F`.tgz
--ignore-failed-read --exclude-from $EXCLUDE_FILE /<br>
<br>
<br>
On 3/21/08 11:33 AM, "Rafal Roginela"
<Rafal.Roginela@AmeriCashLoans.net> wrote:</span></font><o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Hi All,<br>
 <br>
Did some of the research on this already and have some ideas but I would like a
more concise list of directories to backup when I backup my CentOs 5 box
running the Hobbit Moinitor. I do have a “full backup” that I
actually made a script for that connects me to a windows box that is being
backed up to tape and dumps a nice bz2 file there. What I’m looking for
is the incremental or data directories that I should be backing up daily (I
figured /etc) but want to know of any other places that I should be backing up
my server on a daily basis. Here is the tar command that I run for a full
backup once a week:<br>
 <br>
“tar cvpjf "$backup_location/$backup_name" --exclude=/proc
--exclude=/lost+found --exclude=/mnt --exclude=/sys /”<br>
 <br>
And if someone knows of anything more I should be adding to the excludes that
would also help. <br>
 <br>
The server is pretty much a monitoring box running Hobbit monitoring my sites
and servers and OpenNMS to monitor my switches and firewalls. I’m doing
research now on cron to get these to fire off by themselves not me manually
running the scripts<br>
 <br>
Thank you Henrik and contributors for the great software! And thank you all for
the great responsiveness and great advice!!<br>
 <br>
Thank you,<br>
</span></font><b><font face="Book Antiqua"><span style='font-family:"Book Antiqua";
font-weight:bold'>Rafal Roginela<br>
<br>
</span></font></b><o:p></o:p></p>

</div>

</body>

</html>