Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Derek on May 31, 2002, 01:31:30 AM

Title: Home directory archive bit
Post by: Derek 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
Title: Re: Home directory archive bit
Post by: Derek 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.
Title: Re: Home directory archive bit
Post by: Tom Keiser 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.