<HTML>
<HEAD>
<TITLE>Re: [hobbit] More Newbie questions.. sorry in advance..</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>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:<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'>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></FONT><FONT SIZE="5"><FONT FACE="Book Antiqua"><SPAN STYLE='font-size:12pt'><B>Rafal Roginela<BR>
</B></SPAN></FONT><SPAN STYLE='font-size:12pt'><FONT FACE="Times New Roman"> <BR>
</FONT></SPAN></FONT><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>