Mailing List Archive

Reset Archive Bits
I'm looking at running differentials during the week and then backing up
weekly.0 Monday morning at 12:05. The problem is I need a way to reset
all the archive bits right before that. How can I do this? By the way
cifs only environment.


Steve Evans
Computing Services
(619) 594-0653
RE: Reset Archive Bits [ In reply to ]
how about the "attrib -a /s" command? -a = clear the archive bit and /s = subdirectories

-----Original Message-----
From: Steve Evans [mailto:sevans@foundation.sdsu.edu]
Sent: Tuesday, August 20, 2002 10:13 AM
To: toasters@mathworks.com
Subject: Reset Archive Bits


I'm looking at running differentials during the week and then backing up weekly.0 Monday morning at 12:05. The problem is I need a way to reset all the archive bits right before that. How can I do this? By the way cifs only environment.


Steve Evans
Computing Services
(619) 594-0653
RE: Reset Archive Bits [ In reply to ]
by the way, a "full" backup (assuming you do that once a week) should clear the archive bit as well.

regards,

Paul Benn
Network Appliance

-----Original Message-----
From: Steve Evans [mailto:sevans@foundation.sdsu.edu]
Sent: Tuesday, August 20, 2002 10:13 AM
To: toasters@mathworks.com
Subject: Reset Archive Bits


I'm looking at running differentials during the week and then backing up weekly.0 Monday morning at 12:05. The problem is I need a way to reset all the archive bits right before that. How can I do this? By the way cifs only environment.


Steve Evans
Computing Services
(619) 594-0653
RE: Reset Archive Bits [ In reply to ]
The only problem is it didn't work on hidden files.



Steve Evans
Computing Services
(619) 594-0653


-----Original Message-----
From: Benn, Paul [mailto:paul.benn@netapp.com]
Sent: Tuesday, August 20, 2002 11:15 AM
To: Steve Evans; toasters@mathworks.com
Subject: RE: Reset Archive Bits


how about the "attrib -a /s" command? -a = clear the archive bit
and /s = subdirectories

-----Original Message-----
From: Steve Evans [mailto:sevans@foundation.sdsu.edu]
Sent: Tuesday, August 20, 2002 10:13 AM
To: toasters@mathworks.com
Subject: Reset Archive Bits


I'm looking at running differentials during the week and
then backing up weekly.0 Monday morning at 12:05. The problem is I need
a way to reset all the archive bits right before that. How can I do
this? By the way cifs only environment.


Steve Evans
Computing Services
(619) 594-0653
RE: Reset Archive Bits [ In reply to ]
Well my goal is to run a differential on the active file system monday
through friday. Then on Monday morning at 12:05 am do a full on
weekly.0. Then I need to reset the archive bits on the active file
system so that the differential Monday night will backup the proper
data.

-----Original Message-----
From: Benn, Paul [mailto:paul.benn@netapp.com]
Sent: Tuesday, August 20, 2002 12:02 PM
To: Steve Evans
Subject: RE: Reset Archive Bits


don't know specifically what you're trying to achieve but
perhaps you could create a script to run on the Windows machine once a
week that might do what you want. you'd need to leverage rsh and
manually create and delete the weekly snapshot.

something like:

REM delete the snapshot created the week before
rsh [filer's host name] [-l username] snap delete [snapshot
name]
REM reset the archive bits
attrib -a /s
REM create a snapshot that you want to backup from

rsh [filer's host name] [-l username] snap create [snapshot
name]
REM run the backup
ntbackup [options]

-----Original Message-----
From: Steve Evans [mailto:sevans@foundation.sdsu.edu]
Sent: Tuesday, August 20, 2002 11:48 AM
To: Benn, Paul
Subject: RE: Reset Archive Bits


Not if I backup the snapshot though right?



Steve Evans
Computing Services
(619) 594-0653


-----Original Message-----
From: Benn, Paul [mailto:paul.benn@netapp.com]
Sent: Tuesday, August 20, 2002 11:20 AM
To: Steve Evans; toasters@mathworks.com
Subject: RE: Reset Archive Bits


by the way, a "full" backup (assuming you do
that once a week) should clear the archive bit as well.

regards,

Paul Benn
Network Appliance

-----Original Message-----
From: Steve Evans
[mailto:sevans@foundation.sdsu.edu]
Sent: Tuesday, August 20, 2002 10:13 AM
To: toasters@mathworks.com
Subject: Reset Archive Bits


I'm looking at running differentials
during the week and then backing up weekly.0 Monday morning at 12:05.
The problem is I need a way to reset all the archive bits right before
that. How can I do this? By the way cifs only environment.


Steve Evans
Computing Services
(619) 594-0653