From owner-freebsd-questions@FreeBSD.ORG Mon Sep 6 23:37:21 2004 Return-Path: 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 B108E16A4D9 for ; Mon, 6 Sep 2004 23:37:18 +0000 (GMT) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 163DE43D2D for ; Mon, 6 Sep 2004 23:37:18 +0000 (GMT) (envelope-from lists@mactutor.biz) Received: from [192.168.0.20] (really [68.64.69.17]) by mta11.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040906233717.QIEJ404.mta11.adelphia.net@[192.168.0.20]>; Mon, 6 Sep 2004 19:37:17 -0400 In-Reply-To: <016001c49462$5c561df0$0200a8c0@astral> References: <5878D00B313A8D4E8D00B7E3082FC693067A1D@FF01.marsik.org> <413CE62A.9020902@makeworld.com> <016001c49462$5c561df0$0200a8c0@astral> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: mailing lists at MacTutor Date: Mon, 6 Sep 2004 19:37:17 -0400 To: John Lee X-Mailer: Apple Mail (2.619) cc: freebsd-questions@freebsd.org Subject: Re: data backup software for freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2004 23:37:22 -0000 John, By the nature of your questions I'll respond that it would not be unreasonable (nor uncommon) to do this: tar czf /usr/local/archives/etc.tar.gz -C / etc usr/local/etc where 'c' means create, 'z' means compress (using gzip), and 'f' is the name of the archive file to write on. '-C' means change to this directory before performing the archive. 'etc usr/local/etc' are the directories that are to be included in the archive. I prefer to date my archives in the filename and do this (I also like long options): tar --create --verbose --gzip --directory=/ \ --file=/usr/local/archives/etc-2004.09.06-archive.tgz \ etc > /usr/local/archives/etc-2004.09.06-archive.log tar --create --verbose --gzip --directory=/ \ --file=/usr/local/archives/usr.local.etc-2004.09.06-archive.tgz \ usr/local/etc > \ /usr/local/archives/usr.local.etc-2004.09.06-archive.log I then diff the log files against the archives as a check. tar tzf /usr/local/archives/etc-2004.09.06-archive.tgz | \ diff -s - /usr/local/archives/etc-2004.09.06-archive.log U can use scp (or some ftp agent) to shoot the archives and logs to your ftp server as you wish. Also, consider doing the following: man tar man gzip man diff Happy Tarring, Alex On Sep 6, 2004, at 6:39 PM, John Lee wrote: > hmm, are there any popular free data backup software > for freebsd? > > i hope to backup my /etc and important files to another > server via ftp. > > --john. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Alexander Sendzimir (owner) 802 863 5502 MacTutor: Apple Mac OS X Consulting info@mactutor.biz