Re: Archive attribute keeps getting reset

Tech-Archive recommends: Fix windows errors by optimizing your registry



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.
>> >
>> >
>>
>>
>
>


.



Relevant Pages

  • Re: Cant schedule a batch file to run in the XP Pro Scheduler
    ... command window or a shortcut on the desktop. ... > If the bat file does not work from cmd, how will it work by scheduling it? ... Examples of Backup Batch ... The Partner who installed it wrote a batch file, which works fine, ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Network drive not reconnecting at restart
    ... It may be that mapped drives are only assigned at user logon. ... why you cannot do it thru scheduling the batch file to run at reboot time. ... > I then added a scheduled task to run the batch file at system startup. ...
    (microsoft.public.windows.server.sbs)
  • Re: Updating iSeries access for windows.
    ... We are currently running Client Access for windows ... I have a written a batch file that changes the Source Directory ... now is scheduling the update to happen on a Saturday when no one is ... VBScript) will be executed via a login script. ...
    (comp.sys.ibm.as400.misc)
  • Scheduling Batch File as Event
    ... The batch file runs perfectly when I ... Net Start "Service Name2" ... Net Start "Service Name1" ... administrative user/password when scheduling the event, ...
    (microsoft.public.win2000.general)
  • Scheduling a Batch File as an Event
    ... The batch file runs perfectly when I ... Net Start "Service Name2" ... Net Start "Service Name1" ... administrative user/password when scheduling the event, ...
    (microsoft.public.win2000.cmdprompt.admin)