Re: New Hard Drive, System Transfer

From: Arthur Hagen (art_at_broomstick.com)
Date: 08/14/04


Date: Sat, 14 Aug 2004 12:19:16 -0400

imotgm <imotgm_REMOVE@invalid-yahoo.com> wrote:
> On Sat, 14 Aug 2004 01:41:02 -0400, Arthur Hagen wrote:
>
>> I would recommend against this. That won't copy ACLs or file
>> streams, and will modify the Change timestamp.
>
> I have anywhere from 9 to 12 distros on my main machine, at any given
> time, and move them around from disk to disk, fairly regularly, as the
> need arises, and have never, repeat never, experienced the slightest
> problem using this method.

That doesn't mean that *others* won't have this problem. If, for example,
you have a file server for Windows boxes that uses ACLs (in which case you
would be using XFS -- the only file system that works well with Samba), your
approach would mess the access controls up completely. What would you do
then -- claim that it works for you won't restore his permissions.

>> I'd either use dump/restore (for ext2), xfsdump/xfsrestore (for
>> xfs), or copy using cpio.
>
> You may use whatever pleases you; this is Linux, and you have choices.

This isn't so much about choices as about making as good copies as possible.
The dump/xfsdump utilities, unlike cp -a, preserves the file *and* its
metadata verbatim.

-- 
*Art


Relevant Pages

  • Re: New Hard Drive, System Transfer
    ... That won't copy ACLs or file ... >> streams, and will modify the Change timestamp. ... cp -a filename newname ...
    (alt.os.linux.suse)
  • Re: Sauberes Backupkonzept per ftp fuer gemieteten Housingserver
    ... >> Florian Frank wrote: ... > Weil ACLs weder speichern noch wiederherstellen kann? ... Kann die EA-Unterstützung von dar mit den ACLs von XFS nix anfangen? ...
    (de.comp.os.unix.misc)
  • Best approach for SAMBA server with ACLs?
    ... I´m trying to figure out what the best approach may be to set up a SAMBA ... In an announcement of the 2.6.x kernels, I´ve read that these kernels will ... XFS came in the standard kernel. ... Maybe reiserfs can provide ACLs, but I don´t like it. ...
    (Debian-User)
  • Re: Windowsdaten auf Linux Filesystem
    ... > und Samba ACLs unterstützen. ... Lange Zeit hat nur XFS ... Koennen beim Backup schon verloren gehen. ... auf Filesystem und das Backupprogramm an. ...
    (microsoft.public.de.german.win2000.sonstiges)
  • Re: Windowsdaten auf Linux Filesystem
    ... >> und Samba ACLs unterstützen. ... Lange Zeit hat nur XFS ... das sie ein Backup überstehen. ...
    (microsoft.public.de.german.win2000.sonstiges)