On Wed, Sep 28, 2011 at 4:48 PM, Martin Langhoff
<martin.langh...@gmail.com> wrote:
> On Wed, Sep 28, 2011 at 12:02 PM, Sameer Verma <sve...@sfsu.edu> wrote:
>> We are making an archival copy of the /library on one of our school
>> servers. du -hc | grep total on the /library/users directory shows
>> 4.7GB. Copying that over to a 16GB ext2 formatted USB took all night
>> and is still going, and df -h from another console shows 7GB on te USB
>> stick and its still writing. Any ideas how 4.7GB became 7GB?
>
> Ouch. Yes, I know how. We use hardlinked trees for backups.
>
> You want to use rsync with the -H option to preserve hardlinks, disk
> space, and sanity.

Thanks! rsync -rH does it.

cheers,
Sameer
_______________________________________________
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel

Reply via email to