RE: Backing up Samba share to USB jump drive?

2007-05-11 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Bill Moran
 Sent: Wednesday, May 09, 2007 6:17 PM
 To: L Goodwin
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Backing up Samba share to USB jump drive?
 
 
 L Goodwin [EMAIL PROTECTED] 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backing up Samba share to USB jump drive?

2007-05-10 Thread Roland Smith
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)


pgpHjgR7IF74A.pgp
Description: PGP signature


Re: Backing up Samba share to USB jump drive?

2007-05-10 Thread L Goodwin
Thanks, Roland.

--- Roland Smith [EMAIL PROTECTED] 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Backing up Samba share to USB jump drive?

2007-05-09 Thread L Goodwin
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?

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...


 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backing up Samba share to USB jump drive?

2007-05-09 Thread Bill Moran
L Goodwin [EMAIL PROTECTED] 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.  If you're not using the file permissions, then it isn't
a problem.

 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...

It's your choice.  You can leave the drive formatted FAT-32 for compat
with other OSen, or you can newfs it to a ufs filesystem to maintain
unix-style file permissions.

In my experience, jump drives behave just like any other drive.

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backing up Samba share to USB jump drive?

2007-05-09 Thread L Goodwin
Thanks, Bill!

--- Bill Moran [EMAIL PROTECTED] wrote:

 L Goodwin [EMAIL PROTECTED] 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.  If you're not using the file
 permissions, then it isn't
 a problem.
 
  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...
 
 It's your choice.  You can leave the drive formatted
 FAT-32 for compat
 with other OSen, or you can newfs it to a ufs
 filesystem to maintain
 unix-style file permissions.
 
 In my experience, jump drives behave just like any
 other drive.
 
 -- 
 Bill Moran
 http://www.potentialtech.com
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]