Our tape backup software (run through windows) backs up items based on whether the archive attribute is set or not. If it is set, then it needs to be backed up. Then it removes the attribute. When a user modifies a file, the attribute is again set. This is how it normally works. Samba will not allow the Archive Attribute to be unchecked. Is there anyway to allow this functionality. Samba 2.2.8a ---- also is the option available in Samba3? **********CONFIDENTIALITY STATEMENT********** This e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. It is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this email is not the intended recipient, or agent responsible for delivering or copying of this communication, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please reply to the sender that you have received the message in error, then delete it. Thank you
On Tue, 3 Jun 2003, Brandon Lederer wrote:> Our tape backup software (run through windows) backs up items based on > whether the archive attribute is set or not. If it is set, then it needs to > be backed up. Then it removes the attribute. When a user modifies a file, > the attribute is again set. This is how it normally works. Samba will not > allow the Archive Attribute to be unchecked. Is there anyway to allow this > functionality. > > Samba 2.2.8a ---- also is the option available in Samba3?man smb.conf search for "map archive" - John T. -- John H Terpstra Email: jht@samba.org
I think this (below) is what you're looking for (from the smb.conf documentation). However, I don't think it will accomplish (I haven't tried it though) your goal. Sounds like you're trying to do incremental/differential backups. Since there are no archive bits for your windows backup server to look at, it doesn't know what's changed. You need software that keeps a database of what's been backed up when and can make decisions based on modified dates. There are several linux based backup packages that can do that, as well as some enterprise level backup software with linux agents/clients that do it also. Most are pretty expensive. The one I decided to to use is Novanet from Novastor, mostly due to price and it worked. I have to say it's not the fastest backup software I've used, but it gets the job done. Rick S.>From smb.conf documentation:=========================map archive (S) This controls whether the DOS archive attribute should be mapped to the UNIX owner execute bit. The DOS archive bit is set when a file has been modified since its last backup. One motivation for this option it to keep Samba/your PC from making any file it touches from becoming executable under UNIX. This can be quite annoying for shared source code, documents, etc... Note that this requires the create mask parameter to be set such that owner execute bit is not masked out (i.e. it must include 100). See the parameter create mask for details. Default: map archive = yes ========================== -----Original Message----- From: Brandon Lederer [mailto:brandonl@hms4emc.com] Sent: Tuesday, June 03, 2003 1:16 PM To: samba@lists.samba.org Subject: [Samba] Archive attribute Our tape backup software (run through windows) backs up items based on whether the archive attribute is set or not. If it is set, then it needs to be backed up. Then it removes the attribute. When a user modifies a file, the attribute is again set. This is how it normally works. Samba will not allow the Archive Attribute to be unchecked. Is there anyway to allow this functionality. Samba 2.2.8a ---- also is the option available in Samba3? **********CONFIDENTIALITY STATEMENT********** This e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. It is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this email is not the intended recipient, or agent responsible for delivering or copying of this communication, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please reply to the sender that you have received the message in error, then delete it. Thank you -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba ************************************* This e-mail may contain privileged or confidential material intended for the named recipient only. If you are not the named recipient, delete this message and all attachments. Unauthorized reviewing, copying, printing, disclosing, or otherwise using information in this e-mail is prohibited. We reserve the right to monitor e-mail sent through our network. *************************************
Incremental backups is exactly what I am going after. I am not sure whether I will be able to accomplish this or not. -----Original Message----- From: Rick Segeberg [mailto:rick.segeberg@waterford.org] Sent: Tuesday, June 03, 2003 2:31 PM To: samba@lists.samba.org Subject: RE: [Samba] Archive attribute I think this (below) is what you're looking for (from the smb.conf documentation). However, I don't think it will accomplish (I haven't tried it though) your goal. Sounds like you're trying to do incremental/differential backups. Since there are no archive bits for your windows backup server to look at, it doesn't know what's changed. You need software that keeps a database of what's been backed up when and can make decisions based on modified dates. There are several linux based backup packages that can do that, as well as some enterprise level backup software with linux agents/clients that do it also. Most are pretty expensive. The one I decided to to use is Novanet from Novastor, mostly due to price and it worked. I have to say it's not the fastest backup software I've used, but it gets the job done. Rick S.>From smb.conf documentation:=========================map archive (S) This controls whether the DOS archive attribute should be mapped to the UNIX owner execute bit. The DOS archive bit is set when a file has been modified since its last backup. One motivation for this option it to keep Samba/your PC from making any file it touches from becoming executable under UNIX. This can be quite annoying for shared source code, documents, etc... Note that this requires the create mask parameter to be set such that owner execute bit is not masked out (i.e. it must include 100). See the parameter create mask for details. Default: map archive = yes ========================== -----Original Message----- From: Brandon Lederer [mailto:brandonl@hms4emc.com] Sent: Tuesday, June 03, 2003 1:16 PM To: samba@lists.samba.org Subject: [Samba] Archive attribute Our tape backup software (run through windows) backs up items based on whether the archive attribute is set or not. If it is set, then it needs to be backed up. Then it removes the attribute. When a user modifies a file, the attribute is again set. This is how it normally works. Samba will not allow the Archive Attribute to be unchecked. Is there anyway to allow this functionality. Samba 2.2.8a ---- also is the option available in Samba3? **********CONFIDENTIALITY STATEMENT********** This e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. It is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this email is not the intended recipient, or agent responsible for delivering or copying of this communication, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please reply to the sender that you have received the message in error, then delete it. Thank you -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba ************************************* This e-mail may contain privileged or confidential material intended for the named recipient only. If you are not the named recipient, delete this message and all attachments. Unauthorized reviewing, copying, printing, disclosing, or otherwise using information in this e-mail is prohibited. We reserve the right to monitor e-mail sent through our network. ************************************* -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
I had to go with new software that was "linux aware" and could do it based on modified date. I found Novastor's Novanet for Linux and Danz Restrospect Backup (windows interface only) to work, but mostly played with and ended up purchasing Novanet mainly because we wanted a native linux solution. Retrospect will backup samba shares, but it's a windows only program. I'll be interested if you can make it work using the archive mapping (or other) option. Rick S. -----Original Message----- From: Brandon Lederer [mailto:brandonl@hms4emc.com] Sent: Tuesday, June 03, 2003 1:50 PM To: samba@lists.samba.org Subject: RE: [Samba] Archive attribute Incremental backups is exactly what I am going after. I am not sure whether I will be able to accomplish this or not. -----Original Message----- From: Rick Segeberg [mailto:rick.segeberg@waterford.org] Sent: Tuesday, June 03, 2003 2:31 PM To: samba@lists.samba.org Subject: RE: [Samba] Archive attribute I think this (below) is what you're looking for (from the smb.conf documentation). However, I don't think it will accomplish (I haven't tried it though) your goal. Sounds like you're trying to do incremental/differential backups. Since there are no archive bits for your windows backup server to look at, it doesn't know what's changed. You need software that keeps a database of what's been backed up when and can make decisions based on modified dates. There are several linux based backup packages that can do that, as well as some enterprise level backup software with linux agents/clients that do it also. Most are pretty expensive. The one I decided to to use is Novanet from Novastor, mostly due to price and it worked. I have to say it's not the fastest backup software I've used, but it gets the job done. Rick S.>From smb.conf documentation:=========================map archive (S) This controls whether the DOS archive attribute should be mapped to the UNIX owner execute bit. The DOS archive bit is set when a file has been modified since its last backup. One motivation for this option it to keep Samba/your PC from making any file it touches from becoming executable under UNIX. This can be quite annoying for shared source code, documents, etc... Note that this requires the create mask parameter to be set such that owner execute bit is not masked out (i.e. it must include 100). See the parameter create mask for details. Default: map archive = yes ========================== -----Original Message----- From: Brandon Lederer [mailto:brandonl@hms4emc.com] Sent: Tuesday, June 03, 2003 1:16 PM To: samba@lists.samba.org Subject: [Samba] Archive attribute Our tape backup software (run through windows) backs up items based on whether the archive attribute is set or not. If it is set, then it needs to be backed up. Then it removes the attribute. When a user modifies a file, the attribute is again set. This is how it normally works. Samba will not allow the Archive Attribute to be unchecked. Is there anyway to allow this functionality. Samba 2.2.8a ---- also is the option available in Samba3? **********CONFIDENTIALITY STATEMENT********** This e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. It is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this email is not the intended recipient, or agent responsible for delivering or copying of this communication, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please reply to the sender that you have received the message in error, then delete it. Thank you -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba ************************************* This e-mail may contain privileged or confidential material intended for the named recipient only. If you are not the named recipient, delete this message and all attachments. Unauthorized reviewing, copying, printing, disclosing, or otherwise using information in this e-mail is prohibited. We reserve the right to monitor e-mail sent through our network. ************************************* -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba ************************************* This e-mail may contain privileged or confidential material intended for the named recipient only. If you are not the named recipient, delete this message and all attachments. Unauthorized reviewing, copying, printing, disclosing, or otherwise using information in this e-mail is prohibited. We reserve the right to monitor e-mail sent through our network. *************************************