From owner-freebsd-questions@FreeBSD.ORG Thu May 10 15:32:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 286D216A402 for ; Thu, 10 May 2007 15:32:24 +0000 (UTC) (envelope-from xrayv19@yahoo.com) Received: from web58107.mail.re3.yahoo.com (web58107.mail.re3.yahoo.com [68.142.236.130]) by mx1.freebsd.org (Postfix) with SMTP id D100F13C447 for ; Thu, 10 May 2007 15:32:23 +0000 (UTC) (envelope-from xrayv19@yahoo.com) Received: (qmail 78312 invoked by uid 60001); 10 May 2007 15:32:23 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=DXZ/bEuQU/BQTVu7o+MIl5PtXJ01X1fRXhS4RuDpLWNNBt/UwNSyhdLCKAm6s1CJsyfUC1sareKq8vk2jmom2pQ/V5Y32UbF/OYwvD3A48hqC2gcADtP7y9CJZFHQxYM7xJzPGFC9/p8FALyjZ7YRYtlSudtA8sIRNCxEIHxS8w=; X-YMail-OSG: u.2RqYcVM1lQRP04n3JRazSndFvkvfGQwJApSFSTKt7.gyy7WnMsOLxPyt6ntC_6lxoSkhVXV2uB6mpl_wgS5mljnA-- Received: from [131.191.24.2] by web58107.mail.re3.yahoo.com via HTTP; Thu, 10 May 2007 08:32:23 PDT Date: Thu, 10 May 2007 08:32:23 -0700 (PDT) From: L Goodwin To: Roland Smith In-Reply-To: <20070510055928.GA38309@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <236053.77135.qm@web58107.mail.re3.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: Backing up Samba share to USB jump drive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2007 15:32:24 -0000 Thanks, Roland. --- Roland Smith wrote: > On Wed, May 09, 2007 at 06:10:53PM -0700, L Goodwin > wrote: > > Here's another round of dumb questions for ya: > > > > Can USB jump drives be used to back-up a Samba > share? > > If so, what do I need to do to prepare the USB > drive > > to accept files? > > Since I don't really need to compress or encrypt, > I > > was thinking about simply copying the entire > directory > > tree using the cp command, instead of using dump, > tar, > > cpio. > > If you don't want to save multiple versions of the > same tree (from > different dates), you could use rsync. It might be a > lot quicker than cp > because it skips files that haven't changed since > the last backup. > > But unless your collection of files is almost as > large as the USB drive, > I would keep saving backups of different dates (with > tar & gzip) until > you run out of space and have to start deleting > older backups. > > > Will this work, and is it a "good idea"? > > Certainly. > > > The filesystem to be backed up is a single common > UFS > > shared via Samba. All PC users have access to the > same > > set of files (no user-specific directories). The > files > > to be backed up are Word, Excel, PDF, etc. > > > > I don't want to buy the drives until I know if it > will > > work and how to do it. Do I need to UFS format the > > drives? I assume the drive will have to be mounted > > like any other drive... > > Reformatting as UFS seems a good idea. Most drives > come with a FAT32 > filesystem, which has to use large clusters (16 or > 32k) on bigger > drives. This can waste a lot of space if you're > backing up lots of small > files. Have a look at > http://en.wikipedia.org/wiki/File_Allocation_Table#FAT32 > > Additionally, you'll have to recompile the kernel to > support FAT32 > filesystems >128GB, IIRC. > > Roland > -- > R.F.Smith > http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed > email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 > A725 (KeyID: C321A725) > ____________________________________________________________________________________ Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. http://farechase.yahoo.com/promo-generic-14795097