From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 15:57:32 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 822D216A4CE for ; Mon, 23 Feb 2004 15:57:32 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 36E8743D1F for ; Mon, 23 Feb 2004 15:57:32 -0800 (PST) (envelope-from freebsd@stevenfettig.com) Received: (qmail 69434 invoked from network); 23 Feb 2004 23:57:31 -0000 Received: from c68.115.22.188.jvl.wi.charter.com (HELO stevenfettig.com) (68.115.22.188) by relay.pair.com with SMTP; 23 Feb 2004 23:57:31 -0000 X-pair-Authenticated: 68.115.22.188 Message-ID: <403A9361.5060500@stevenfettig.com> Date: Mon, 23 Feb 2004 17:57:21 -0600 From: "Steven N. Fettig" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040213 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Richard Beyer References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: 'FreeBSD Questions List' Subject: Re: backup 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, 23 Feb 2004 23:57:32 -0000 I think there are better ways per se, but that is usually personal opinion... That being said, there are a few questions: 1) how big of an installation are you trying to back up? 2) is it necessary to back up all of the information? 3) do you have access to a faster drive (this one may not be relevant, as you may have no other option)? The handbook has a good primer on backing up FreeBSD using dump, tar and cpio at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html Given the slow speed of USB 1.0 and assuming you are backing up a relatively large amount of data, you might want to try compressing your backup so that it does not take up so much space and therefore is able to made faster. A full dump backup of the /usr directory or slice is certainly advisable. You could do a compressed dump backup via: dump -0uan -f - /usr | gzip > /volume_to_backup_to/usr_backup_date.gz If needed, you can then do this to all of the primary volumes/slices on your system (look at fstab if you aren't sure which are primary slices). You would need to use piping to restore the backup, though and that can get tricky if your new system that you need to restore the data to isn't sized the same as the old and isn't using the same version of dump. Considering the potential problems associated with dump, I still prefer it because I have never had problems using it myself. Another option is to use tar, but I rarely use it to make a compressed backup, so someone else might be more helpful with syntax. (man tar would also be helpful) HTH, Steve Fettig Richard Beyer wrote: >We're currently doing a back up of a FreeBSD 4.9 (2) server by plugging a >USB external drive in and then doing > > > >cp /dev/ad0 /dev/da0 > > > >This takes about 30 hours, (USB 1). > > > >Is this the best way to do it, or can someone suggest a better way. We'd >rather not have the server offline while we do it. > > > >Cheers, > >Richard > > > > > > > >_______________________________________________ >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" > >