RE: Shadow Copy Management
Using vssadmin list shadows or diskshadow list shadows all provides you output that can be easily parsed via PowerShell to get you the creation dates. Then, you can use either of those two utilities to delete the shadow copies. From: Steph Balog [validemai...@gmail.com] Sent: Wednesday, May 06, 2009 9:26 AM To: NT System Admin Issues Subject: RE: Shadow Copy Management It is windows 2008, but how will diskshadow help in deleting certain shadow copies based on their dates? ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/ ~ ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/ ~
RE: Shadow Copy Management
It is windows 2008, but how will diskshadow help in deleting certain shadow copies based on their dates? ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/ ~
RE: Shadow Copy Management
That is much harder. It sounds like it might be possible with the vssadmin delete shadows command but you would need to know the ShadowID to delete. You can get these by running the vssadmin list shadows command but that dumps them all and you would need some eleet scripting skills to parse out the ShadowID from the output of that command. === Syntax vssadmin delete shadows /for=ForVolumeSpec [/oldest | /all | /shadow=ShadowID] [/quiet]Parameters Parameter Description /for=ForVolumeSpec Specifies the volume for which the shadow copy is to be deleted. /oldest Deletes only the oldest shadow copy. /all Deletes all of the shadow copies for the specified volume. /shadow=ShadowID Deletes the shadow copy specified by ShadowID. To get the shadow copy ID, use the vssadmin list shadows command. When you type a shadow copy ID, use the following format, where each X represents a hexadecimal character: ---- /quiet Specifies that the command will not display messages while it is running. Remarks You can delete only shadow copies that have the client-accessible type. -Original Message- From: Steph Balog [mailto:validemai...@gmail.com] Sent: Friday, May 01, 2009 11:37 AM To: NT System Admin Issues Subject: RE: Shadow Copy Management Thats the problem, i already created schedule but I need it to cycle out certain snaps. Like I take snaps every 2 hours each day, but the next day I want those snaps to go away. And then the ones I take every 6 hours, I want those to go away ever 2 days. And the ones I take once a day for a week, I want those to go away after a week. And then the ones I take once a week for 3 months, I want those to disappear when they are 3 months old. ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/ ~ ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/ ~
RE: Shadow Copy Management
You didn't say what server OS version - but the diskshadow tool in Server 2008 can help you with this. From: Steph Balog [validemai...@gmail.com] Sent: Friday, May 01, 2009 10:27 AM To: NT System Admin Issues Subject: Shadow Copy Management Is there any tools, any scripts, etc. that will allow me to manage multiple snapshot schedules. What I would like to do is, keep 12 snap shots in a 24 hour period, 2 snaps in a 48 hour period, and than 1 snap going back each day for 1 week and than 1 snap per week going baclk 3 months. (will not exceed 64 snap max). But I need to make sure that it doesnt keep snaping once every 2 hours over and over again. Help! ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/ ~ ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/ ~
RE: Shadow Copy Management
When you create the default snap schedule, I believe it just creates a scheduled task that shows up in control panel. You should be able to modify the schedule there to do what you want. You need to click the option to show multiple schedules and then with the advanced button you can make up any crazy schedule you want. Tom -Original Message- From: Steph Balog [mailto:validemai...@gmail.com] Sent: Friday, May 01, 2009 10:27 AM To: NT System Admin Issues Subject: Shadow Copy Management Is there any tools, any scripts, etc. that will allow me to manage multiple snapshot schedules. What I would like to do is, keep 12 snap shots in a 24 hour period, 2 snaps in a 48 hour period, and than 1 snap going back each day for 1 week and than 1 snap per week going baclk 3 months. (will not exceed 64 snap max). But I need to make sure that it doesnt keep snaping once every 2 hours over and over again. Help! ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/ ~ ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/ ~
RE: Shadow Copy Management
Thats the problem, i already created schedule but I need it to cycle out certain snaps. Like I take snaps every 2 hours each day, but the next day I want those snaps to go away. And then the ones I take every 6 hours, I want those to go away ever 2 days. And the ones I take once a day for a week, I want those to go away after a week. And then the ones I take once a week for 3 months, I want those to disappear when they are 3 months old. ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/ ~