From owner-freebsd-questions@FreeBSD.ORG Wed Jun 9 15:01:30 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 C54E616A4CE for ; Wed, 9 Jun 2004 15:01:30 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FC2243D4C for ; Wed, 9 Jun 2004 15:01:30 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from daleco.biz ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 9 Jun 2004 10:02:48 -0500 Message-ID: <40C72648.1040709@daleco.biz> Date: Wed, 09 Jun 2004 10:01:28 -0500 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040406 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Karen Donathan References: <20040609102723.H167@gwhs.kana.k12.wv.us> In-Reply-To: <20040609102723.H167@gwhs.kana.k12.wv.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Jun 2004 15:02:48.0734 (UTC) FILETIME=[D41EDBE0:01C44E32] cc: freebsd-questions@freebsd.org Subject: Re: Backup question 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: Wed, 09 Jun 2004 15:01:30 -0000 Karen Donathan wrote: >Hello. > > What is the best way to back up the html directory? We do not have a >tape drive. > There are many. Keep watching the list and some might show up. >Is there a way to have an automated .tar file created and >sent as email so I could save it on another server? Any help would be >great! > >Thanks >Karen Donathan >George Washington High School >Charleston, WV > > There are lots of ways, I'm sure, although, like I said, this strategy might not be the best option --- I'm no expert. OTOH, if it works ... Hmm, something like this in cron? You'd need to get acquainted with shar(1), that old sneaky archiving process.... tar -R mydir -cf mydir.tar && shar mydir.tar > mydir.tar.shar && mail me@somehost < mydir.tar.shar HTH, Kevin Kinsey DaleCo, S.P.