From owner-freebsd-questions@FreeBSD.ORG Fri May 20 18:05:13 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B98EA16A4D0 for ; Fri, 20 May 2005 18:05:13 +0000 (GMT) Received: from mail25.sea5.speakeasy.net (mail25.sea5.speakeasy.net [69.17.117.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EEFF43DA1 for ; Fri, 20 May 2005 18:05:13 +0000 (GMT) (envelope-from omniBSD@speakeasy.net) Received: (qmail 28787 invoked from network); 20 May 2005 18:05:13 -0000 Received: by simscan 1.1.0 ppid: 28770, pid: 28781, t: 0.1215s scanners: clamav: 0.84/m:31/d:888 Received: from dsl093-027-134.hou1.dsl.speakeasy.net (HELO [10.20.30.10]) (omni@[66.93.27.134]) (envelope-sender ) by mail25.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 20 May 2005 18:05:12 -0000 Message-ID: <428E26E1.1030507@speakeasy.net> Date: Fri, 20 May 2005 13:05:21 -0500 From: Ash User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041104 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Trying to DTRT: backup UFS2 with POSIX.1e ACLs, how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2005 18:05:13 -0000 What is the recommended method to backup UFS2 file systems with ACLs enabled? I made the mistake of assuming (yes, yes, I'm well aware of the old adage) that dump(8) and restore(8) are compatible with POSIX.1e ACLs. I found during some testing that my assumption was either incorrect or I have not figured out how use dump/restore to properly play with ACLs. I've searched around the Interweb as well as the usual local sources (and read the man pages (dump(8), restore(8), acl(3), etc...) along with /usr/src/sys/ufs/ufs/README.acls) for an answer to creating backups and restoring UFS2 file systems with POSIX.1e ACLs enabled. I did not gain any insight from the local documentation and my Internet searches have produced conflicting results. In this ONLamp article (http://www.onlamp.com/lpt/a/4053), the author states that "FreeBSD's dump has been modified to understand UFS2 (including ACLs)." My experience has been to the contrary. I've also found newsgroup/mailing list articles stating that dump(8) does not yet understand ACLs and to use the archivers/star port. I don't have a problem installing a port to facilitate my backups (ACLs show up in snapshots, so I should be able to get a consistent backup), however I would obviously prefer to use dump(8)/restore(8), if I have the option. I'm running a relatively recently -STABLE (5.4-STABLE #0: Tue May 17 18:09:01 CDT 2005). I have been passing the following flags to dump(8)/restore(8) for testing: dump -0a -f < mount point | device name > restore -rf Any insight would be appreciated. Thanks, -Ash