Shadow Copy - Can I configure how often?

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

Mamamegs

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]*_
 
J

Joe Couvillion[MSFT]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top