From owner-freebsd-questions Thu Jan 24 3: 5:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mxzilla1.xs4all.nl (mxzilla1.xs4all.nl [194.109.6.54]) by hub.freebsd.org (Postfix) with ESMTP id D844337B417 for ; Thu, 24 Jan 2002 03:05:38 -0800 (PST) Received: from xs4.xs4all.nl (rene@xs4.xs4all.nl [194.109.6.45]) by mxzilla1.xs4all.nl (8.12.0/8.12.0) with ESMTP id g0OB5bKV020362 for ; Thu, 24 Jan 2002 12:05:37 +0100 (CET) Received: (from rene@localhost) by xs4.xs4all.nl (8.9.0/8.9.0) id MAA18157 for questions@freebsd.org; Thu, 24 Jan 2002 12:05:37 +0100 (CET) Date: Thu, 24 Jan 2002 12:05:37 +0100 From: rene@xs4all.nl To: questions@freebsd.org Subject: backups using tar? Message-ID: <20020124120536.O10869@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i 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 Hello. I've got a system that I regularly update with cvsup, then rebuilding my world and all and in general I'm very happy with this. However, backups are a necessity and I've got them down with dump & restore. Now, I'd also like to be able to do it with tar. the idea being that instead of fixing my personal and config files together with my system, I'd be able to keep them seperate. Restoration would then be a matter of installing the latest (desired) branch of FreeBSD onto a new harddisk, then unpacking the tar file from root under that. I've found some NetBSD HowTo that has a line on how to accomplish this, but it doesn't quite do the trick for FreeBSD. find / -type f -newer /etc/rc ! \ \( -name "backup" -or -name "burn" \) \ -exec tar -rvf $backupfile {} \; the problem is that this line includes most of my /usr/ports, /usr/bin/, practically my complete system. Then I might aswell dump it ;) What would I need to tell tar in order not to take any system files, just my personal files? Please take into account that I cvsup sometimes. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message