Backing up Samba share to USB jump drive?

Ted Mittelstaedt tedm at toybox.placo.com
Fri May 11 16:46:35 UTC 2007



> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Bill Moran
> Sent: Wednesday, May 09, 2007 6:17 PM
> To: L Goodwin
> Cc: freebsd-questions at freebsd.org
> Subject: Re: Backing up Samba share to USB jump drive?
> 
> 
> L Goodwin <xrayv19 at yahoo.com> 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.
> > Will this work, and is it a "good idea"?
> 
> Sure.
> 
> > 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.
> 
> Every jump drive I've seen comes pre-formatted as FAT-32.  The only
> problem with this is you'll lose POSIX file permissions when you copy
> the files. 


Use the tar program on the UNIX system to save your files then copy 
them over, this will preserve permissions, etc.

Ted


More information about the freebsd-questions mailing list