[Samba] re[3]: [Samba]NT ACLs and backup.

Greg Freemyer freemyer-ml at norcrossgroup.com
Wed Jan 30 09:34:55 GMT 2002


Buchan,

Thanks for the info.

At his point I think I will give XFS a shot.  It sounds like it might be a more =
mature solution than the ACLs for ext2/ext3 approach.

I still have not got a solution to the issue of backing up external SMB shares =
complete with their ACL metadata.

I went to Amanda's site, and they use Samba to backup WIndows machines.  And =
from what I understand smbclient with the tar option does handle the NT ACLs.

If anyone has a solution to this issue, I would appreciate knowing about it.  =
Even if it is a commercial product (that runs on Linux).

Greg

 >>  XFS has xfsdump and xfsrestore, which apparently can be used with tools=20
 >>  like amanda, which does a full backup of the filesystem including ACLs.

 >>  Btw, Mandrake 8.1 and later ship XFS ACLs out thew box, with=20
 >>  samba-2.2.1a with ACL support. Might be a bit less work than recompiling=20
 >>  both the kernel and samba on Rehdat. Newer versions of samba (2.2.2, and=20
 >>  soon 2.2.3) for Mandrake 8.1 (with almost-out-the-box winbind support)=20
 >>  are avaiable at http://ranger.dnsalias.com/mandrake/samba .

 >>  Buchan


 >>  > Message: 4
 >>  > Date: Tue, 29 Jan 2002 14:21:02 -0500
 >>  > From: Greg Freemyer <freemyer-ml at NorcrossGroup.com>
 >>  > Subject: re[2]: [Samba]NT ACLs and backup.
 >>  > To: David Brodbeck <DavidB at mail.interclean.com>,
 >>  >     <samba at lists.samba.org>
 >>  > Organization: The NorcrossGroup
 >>  >=20
 >>  > David,
 >>  >=20
 >>  > I'm at the conceptual stage.  I have a dedicated Redhat 7.2 box setup
 >>  for =3D
 >>  > testing, but I can change the config/filesystems as required.
 >>  >=20
 >>  > I want to build a dedicated "SMB storage and backup" server for our
 >>  office.  =3D
 >>  > Sort of a NAS device with tape capability.
 >>  >=20
 >>  > My goal is to have this box do 3 things:
 >>  >=20
 >>  > 1) Serve SMB shares with full NT/2000 ACL support.
 >>  > 2) Be able to backup/restore the above on a file by file basis and have
 >>  the ACL =3D
 >>  > metadata maintained.
 >>  > 3) Use smbclient with the tar option to backup other SMB servers, and
 >>  again be =3D
 >>  > able to maintain the ACL metadata.
 >>  >=20
 >>  > For 2) above, I need to understand where the ACL metadata is stored, and
 >>  which =3D
 >>  > backup technology will allow it to be restored correctly.
 >>  >=20
 >>  > I gather from you comment below, that some Linux filesystems support
 >>  Linux =3D
 >>  > ACLs, and with those Samba uses this space to hold the NT ACLs.
 >>  >=20
 >>  > Could you tell me which Linux Filesystems do this, and which backup
 >>  tools =3D
 >>  > correctly handle the Linux ACL metadata.  (I always use standard
 >>  permissions =3D
 >>  > under UNIX/Linux, so I have never had to do worry about them.)
 >>  >=20
 >>  > For 3) above, I tried the smbclient from Samba V2.2.1, but when I did
 >>  the =3D
 >>  > restore, it did not restore the ACL metadata.  I'm hoping that I either
 >>  did =3D
 >>  > something wrong, or that there is a different backup/restore tool that
 >>  supports =3D
 >>  > this feature.
 >>  >=20
 >>  > Thanks for your help,
 >>  >=20
 >>  > Greg Freemyer
 >>  > Internet Engineer
 >>  > Deployment and Integration Specialist
 >>  > The Norcross Group
 >>  > www.NorcrossGroup.com
 >>  >=20
 >>  >=20


 >>  --=20
 >>  |----------------Registered Linux User #182071-----------------|
 >>  Buchan Milne                Mechanical Engineer, Network Manager
 >>  Cellphone * Work       +27 82 472 2231 * +27 21 808 2497 ext 202
 >>  Stellenbosch Automotive Engineering         http://www.cae.co.za






Greg Freemyer
Internet Engineer
Deployment and Integration Specialist
The Norcross Group
www.NorcrossGroup.com






More information about the samba mailing list