Re: Archive attribute keeps getting reset
- From: "Roger" <roger@xxxxxxxxxxx>
- Date: Fri, 13 Jan 2006 10:18:38 -0800
I'll give that a try. Thanks
"Pegasus (MVP)" <I.can@xxxxxxx> wrote in message
news:e4Gsig%23FGHA.984@xxxxxxxxxxxxxxxxxxxxxxx
> Your remark "But every night the archive attribute gets turned on"
> contains some very useful information - it creates the impression
> that the attribute is not just turned on any old time but that this
> happens during the night, implying that it's a certain process that
> does the damage. If this was my machine then I would track down
> the exact time when this happens, by scheduling the batch file
> below to run once every five minutes on some machine with access
> to these files. When you know what time it happens then you can
> try to relate this to events taking place on your server at that time.
>
> @echo off
> for /F "tokens=*" %%* in ('attrib \\YourServer\YourShare\YourFile.txt')
> do
> echo %date% %time% %** >> c:\logs.txt
>
> Note that this is one single long line.
>
> Make sure to schedule the batch file under an account that
> has appropriate access to \\YourServer\YourShare.
>
>
> "Roger" <roger@xxxxxxxxxxx> wrote in message
> news:%233QgsR%23FGHA.2696@xxxxxxxxxxxxxxxxxxxxxxx
>> The date stamp does not change. These are archived files that in some
> cases
>> haven't been modified since 1998. But every night the archive attribute
>> gets turned on.
>>
>> "Pegasus (MVP)" <I.can@xxxxxxx> wrote in message
>> news:u0iAGY8FGHA.2300@xxxxxxxxxxxxxxxxxxxxxxx
>> >
>> > "Roger" <roger@xxxxxxxxxxx> wrote in message
>> > news:OcQw7N8FGHA.1452@xxxxxxxxxxxxxxxxxxxxxxx
>> >> I have a backup routine that backs up files if the archive attribute
>> >> is
>> > set
>> >> and clears the attribute. This is done using Robocopy switches. It
>> >> works
>> >> great for all my servers except for one, a 2000 server running IIS. I
>> > have
>> >> verified that the backup works correctly, clearing the archive
> attribute,
>> >> but each time when I check the next day the archive attribute is set
>> >> to
>> >> archive again, even though the file has not changed. This is
>> >> happening
>> >> on
>> > a
>> >> lot of files, so it is making my backups much larger than I want.
>> >> Does
>> >> anyone have any ideas? Is this a known problem with
>> >> 2000/IIS/Indexing,
>> >> or
>> >> something else? Thanks!
>> >>
>> >>
>> >
>> > I would start by examining the date stamp of the affected files.
>> >
>> >
>>
>>
>
>
.
- References:
- Archive attribute keeps getting reset
- From: Roger
- Re: Archive attribute keeps getting reset
- From: Pegasus \(MVP\)
- Re: Archive attribute keeps getting reset
- From: Roger
- Re: Archive attribute keeps getting reset
- From: Pegasus \(MVP\)
- Archive attribute keeps getting reset
- Prev by Date: Win2K3 Terminal Server slow, even stalls
- Next by Date: W2K3 - After-BSOD integrity checks
- Previous by thread: Re: Archive attribute keeps getting reset
- Next by thread: Re: Backup DHCP Server
- Index(es):
Relevant Pages
|