Date: Thu, 10 May 2007 07:59:28 +0200 From: Roland Smith <rsmith@xs4all.nl> To: L Goodwin <xrayv19@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: Backing up Samba share to USB jump drive? Message-ID: <20070510055928.GA38309@slackbox.xs4all.nl> In-Reply-To: <965182.90754.qm@web58109.mail.re3.yahoo.com> References: <965182.90754.qm@web58109.mail.re3.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 09, 2007 at 06:10:53PM -0700, L Goodwin wrote: > Here's another round of dumb questions for ya: >=20 > 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?=20 > 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. =20 > 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. >=20 > 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#FA= T32 Additionally, you'll have to recompile the kernel to support FAT32 filesystems >128GB, IIRC. Roland --=20 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) --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGQrTAEnfvsMMhpyURAr9cAKCCK8O0skfwDpFpeuj4y/eeWGNMJACfbPkK B23b4Uows5QDwnZX5buBMrI= =NQzg -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070510055928.GA38309>