Shadow Copy - Can I configure how often?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all,

I'm trying to get a better understanding of Vista's Shadow Copy. From what I
can tell, Shadow Copy is turned on by default, but I want to know can I set
when to make a shadow copy of a file or folder. Say for example, can I set
it to make a shadow copy every 4 hours? Or what schedule does Vista creates
shadow copies?

Thanks.

Kenny B.
 
Kenny expressed precisely :
Hello all,

I'm trying to get a better understanding of Vista's Shadow Copy. From
what I can tell, Shadow Copy is turned on by default, but I want to
know can I set when to make a shadow copy of a file or folder. Say
for example, can I set it to make a shadow copy every 4 hours? Or
what schedule does Vista creates shadow copies?

Thanks.

Kenny B.

Info on how Volume Shadow Copy works:
http://technet2.microsoft.com/windo...b7d8-42c3-b6c9-59c145b7765f1033.mspx?mfr=true

--
Mamamegs.

I reject your reality and substitute my own.
(Adam Savage)

www.vistabits.nl

MSN:
_*[email protected]*_
 
One thing to be clear about is the shadow copy works on the whole volume.
If that is what you want then running this script in task scheduler is one
way to get that.

Set Args = wscript.Arguments
If Args.Count() > 0 Then
RpName = Args.item(0)
Else
RpName = "Vbscript"
End If

Set obj =
GetObject("winmgmts:{impersonationLevel=impersonate}!root/default:SystemRestore")

If (obj.CreateRestorePoint(RpName, 0, 100)) = 0 Then
wscript.Echo "Success"
Else
wscript.Echo "Failed"
End If
 
Back
Top