On Mon, 25 Apr 2005 at 3:26pm, Bryan K. Walton wrote > On Mon, Apr 25, 2005 at 04:02:42PM -0400, Jon LaBadie wrote: > > > > Any reason not to use dump on the ext3 FS? Perhaps another > > bad assumption, but I assume it preserves acl's. > > Hmmm, I'll have to look at that. If I understand dump correctly, it > cannot backup by directory, but rather backs up entire filesystems, > correct? If that is correct, then it might not work for me. The > filesystem in question is 147GB large.
That is correct. The kludge I use to backup directories (rather than FSs) with ACLs is to run a script before the backup. The script, in essence, does 'getfacl -R $DIR_WITH_ACLS > /home/amanda/$DIR_WITH_ACLS.acls.txt'. In the event you need to restore the directory, put the data back, and then do 'setfacl --restore=$DIR_WITH_ACLS.acls.txt $DIR_WITH_ACLS'. Of course, I also make sure that /home/amanda is getting backed up -- otherwise put the ACL file somewhere else. If I have a whole FS that's not too big and needs ACLs, I'll often format it XFS and use xfsdump for just this reason. -- Joshua Baker-LePain Department of Biomedical Engineering Duke University
