Re: apologies for non plain text

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 06 December 2005 11:11 am, Bryn M. Reeves wrote:
> jdow wrote:
> > From: "Bryan Hepworth" <bryan@xxxxxxxxxxxxxxx>
> >
> >> Hi Everyone
> >>
> >> I'm trying to back up /home to an external hard drive (maxtor usb)
> >> and wanted to keep the file permissions but when I do a
> >>
> >> cp -ar /home /media/usb it complains about not being able to do
> >> the permissions and they all go across as root instead.
> >>
> >> Anyone know where I'm going wrong?
> >
> > Copying from a Linux machine to a FAT filesystem?
> > {^_^}
>
> That's what it looks like.
>
> You can use tar if you need to preserve this information:
>
> tar cvf /media/usb/myfile.tar /home
>
> Then you can restore the archive with:
>
> cd /
> tar xvf /media/usb/myfile.tar
>
> If preserving SELinux contexts is important, use star instead.
>
> Kind regards,
>
> Bryn.

One thing to bear in mind is the max file size for a FAT based 
filesystems.  I got cought out on that one when it silently truncated 
the tar file.
-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux