Koozali.org: home of the SME Server

Home directory archive bit

Derek

Home directory archive bit
« on: May 31, 2002, 01:31:30 AM »
Hello,

When a file is modified or created in an ibay, the Windows archive bit is set, but not when a file is modified or created in a home directory. Does anyone know how to change this behaviour?

The create mask is 0660 for both ibays and home directories.

Thanks

Derek

Derek

Re: Home directory archive bit
« Reply #1 on: May 31, 2002, 10:56:40 PM »
Hmmm....creating a custom template for the smb.conf fragment 50Homes and messing with file/directory permissions is causing more trouble than it's worth. I'm going to give up on doing incremental backups based on the archive bit - unless someone has a foolproof solution? I guess it'll be incremental for ibays, full every time for home directories.

Tom Keiser

Re: Home directory archive bit
« Reply #2 on: June 01, 2002, 06:17:36 AM »
Derek:

   I may be completely off-base on this, but IIRC, Samba does not have any way to translate the DOS-style archive bit into a Unix-style filesystem. So you won't see them in I-bays or anything else on any SME or other Linux server.

   If you want to do differential backups, base them on the date last modified. If that date is > the date of the last full backup, then include it in the differential.

Regards,

Tom

Derek wrote:
>
> Hmmm....creating a custom template for the smb.conf fragment
> 50Homes and messing with file/directory permissions is
> causing more trouble than it's worth. I'm going to give up on
> doing incremental backups based on the archive bit - unless
> someone has a foolproof solution? I guess it'll be
> incremental for ibays, full every time for home directories.