From owner-freebsd-questions Sun Jan 26 15:28: 2 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5979D37B401 for ; Sun, 26 Jan 2003 15:28:00 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id 5C93E43EB2 for ; Sun, 26 Jan 2003 15:27:54 -0800 (PST) (envelope-from mwm-dated-1044055669.3fadd8@mired.org) Received: (qmail 4380 invoked from network); 26 Jan 2003 23:27:49 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 26 Jan 2003 23:27:49 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15924.28404.975979.636400@guru.mired.org> Date: Sun, 26 Jan 2003 17:27:48 -0600 To: Francisco Reyes Cc: FreeBSD Questions List Subject: Re: Which files and directories to backup? In-Reply-To: <20030126180330.L17637-100000@zoraida.natserv.net> References: <20030126180330.L17637-100000@zoraida.natserv.net> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.68 (Shut Out) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In <20030126180330.L17637-100000@zoraida.natserv.net>, Francisco Reyes typed: > What files or directories shoud I ignore when doing a tar backup? > > So far my include list is: > /etc > /usr/home > /usr/local/etc > /usr/src/sys/i386/conf > /var/log > /root > /.profile > /.cshrc > > And my exclude list is > /root/.netscape/cache > /etc/fstab It's a bad idea to exclude fstab. > /etc/mtree > /etc/isdn > /etc/uucp isdn and uucp are probably not ignorable if you are using them. > /usr/local/etc/codepages/ > > > Planning to create a separate tar just for /usr/local > How about /var? > should I backup all of it? You can exclude /var/run, /var/spool/lock, /var/backups, /var/rwho and /var/tmp. Other things you may be able to exclude depending on whether or not you are using them include; /var/msgs the messages system, which is the msgs command /var/mail delivered mail /var/spool/lpd line printer spool /var/spool/mqueue sendmail /var/spool/uucp,uucppublic uucp http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message