From owner-freebsd-questions Mon Jan 27 13:23:12 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 7845737B401 for ; Mon, 27 Jan 2003 13:23:10 -0800 (PST) Received: from above.proper.com (mail.proper.com [208.184.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A0A643EB2 for ; Mon, 27 Jan 2003 13:23:09 -0800 (PST) (envelope-from phoffman@proper.com) Received: from [165.227.249.18] (165-227-249-18.client.dsl.net [165.227.249.18]) by above.proper.com (8.11.6/8.11.3) with ESMTP id h0RLMdo28504; Mon, 27 Jan 2003 13:22:39 -0800 (PST) Mime-Version: 1.0 X-Sender: phoffprop@mail.proper.com Message-Id: In-Reply-To: <20030127161608.B49755-100000@zoraida.natserv.net> References: <20030127161608.B49755-100000@zoraida.natserv.net> X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . Date: Mon, 27 Jan 2003 13:22:34 -0800 To: Francisco Reyes From: Paul Hoffman Subject: Re: Which files and directories to backup? Cc: Mike Meyer , FreeBSD Questions List Content-Type: text/plain; charset="us-ascii" ; format="flowed" 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 At 4:18 PM -0500 1/27/03, Francisco Reyes wrote: >On Mon, 27 Jan 2003, Paul Hoffman wrote: > >> before I do a major upgrade. I then shove the backup offsite via ftp. > >I have not been sending the files out, but working on that. >First will encryp the files with gpg (GNU privacy) and then will use scp >to send the files out. I don't have FTP enabled on any of the, very few, >machines I admin. Of course, that works too. I use FTP because I can use 'mirror' (from /usr/ports/net/mirror) to pull down the automatic backups reliably, and because I simply don't back up any file that has passwords (none of the password-containing files in /etc, nor any directory called '.ssh', nor any private key file used for writing certificates). I could probably hack up mirror or some other system to use scp, but mirror works and I can quickly get the files to where I want them (namely, away from the server they are backing up). > > Much of what you are backing up is quite compressable, so you should >> most likely be using 'tar -czf' instead of just 'tar -cf' > >I don't recall posting the line I use to run tar, but I use bzip2 instead >of gzip so it's something like 'tar -cyf ....' gzip is more universally known that bzip2, so using it means that you are more likely to be able to recover your data in an emergency, such as on a non-BSD system. --Paul Hoffman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message