Cancelled

Small [url removed, login to view] script

I need a small deamon that would trigger every 24 hours (adjustable if possible via gui or config) that will do the following:

REMOVE the oldest backups from a Windows Server Backup Set.

I need to remove anything over 60 days, so you get current time/date and figure when is our trigger date.. [url removed, login to view] of may if we are on the 23rd of july..

then anything older then that we delete the shadow copies... it's a simple parse procedure. here are the windows commands i use manually...

1) running this gets me a list of all shadow copies.

Vssadmin list shadows > Desktop\[url removed, login to view]

IF YOU LOOK AT [url removed, login to view] youll find hundreds of:

Contents of shadow copy set ID: {d4676c38-0929-4e14-9aee-037c896b0825}

Contained 1 shadow copies at creation time: 6/3/2013 3:30:16 AM

Shadow Copy ID: {d6bff3b7-72f3-4df6-9abf-d12d27fd7c1e}

Original Volume: (\\?\Volume{34af372d-733c-11e2-b714-000acd190390}\)\\?\Volume{34af372d-733c-11e2-b714-000acd190390}\

Shadow Copy Volume: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy95

Originating Machine: [url removed, login to view]

Service Machine: [url removed, login to view]

Provider: 'Microsoft Software Shadow Copy provider 1.0'

Type: DataVolumeRollback

Attributes: Persistent, No auto release, No writers, Differential

Contents of shadow copy set ID: {f2148be7-52cf-4359-8a60-d34a7c915572}

Contained 1 shadow copies at creation time: 6/4/2013 6:56:41 AM

Shadow Copy ID: {896eeafd-3598-417c-88e8-bf2e6aeaa88f}

Original Volume: (\\?\Volume{34af372d-733c-11e2-b714-000acd190390}\)\\?\Volume{34af372d-733c-11e2-b714-000acd190390}\

Shadow Copy Volume: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy96

Originating Machine: [url removed, login to view]

Service Machine: [url removed, login to view]

Provider: 'Microsoft Software Shadow Copy provider 1.0'

Type: DataVolumeRollback

Attributes: Persistent, No auto release, No writers, Differential

Contents of shadow copy set ID: {c9cde92e-5662-4255-a38c-2883f68b502c}

Contained 1 shadow copies at creation time: 6/5/2013 3:30:39 AM

Shadow Copy ID: {ee818ada-3b44-431b-8e01-8aa6c84eeebb}

Original Volume: (\\?\Volume{34af372d-733c-11e2-b714-000acd190390}\)\\?\Volume{34af372d-733c-11e2-b714-000acd190390}\

Shadow Copy Volume: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy97

Originating Machine: [url removed, login to view]

Service Machine: [url removed, login to view]

Provider: 'Microsoft Software Shadow Copy provider 1.0'

Type: DataVolumeRollback

Attributes: Persistent, No auto release, No writers, Differential

you simply identify sets that start with :

Contents of shadow copy set ID:

until the Attributes line..

then you find line with date... if valid date to delete ( over the trigger date as in before 34rd of may in our example) then you write the Shadow Copy ID line to a buffer/txtbox anything to use later....

as in " Shadow Copy ID: {ee818ada-3b44-431b-8e01-8aa6c84eeebb}" but you str_replace the Shadow Copy ID: wording for Delete shadows ID

giving you something like

Delete shadows ID {d6bff3b7-72f3-4df6-9abf-d12d27fd7c1e}

Delete shadows ID {896eeafd-3598-417c-88e8-bf2e6aeaa88f}

Delete shadows ID {ee818ada-3b44-431b-8e01-8aa6c84eeebb}

once you looped em all , you save that list to a file in our example [url removed, login to view] on desktop. and run as elevated prompt or any other means

diskshadow /s c:\users\Administrator\Desktop\[url removed, login to view]

which runs the list commands to delete all shadows in the list...

this is an example , there might be some windows api in .net to do this easier.

i'd like a GUI for start/stop service and change the numbers of days to keep and time it runs ( every 24 hours at midnight etc etc)

simple project, i'd prefer it's all encapsulated in the .net and no cmd prompts but anything goes..

Skills: .NET, Windows Server

See more: net script, vb creation, example of vb net, remove shadow, looped, find script writers, gui small project, shadow remove, start windows service, set project server 2013, run administrator script, net run administrator, backup api, gui script, server set windows server 2013, windows service 2013, volume shadow copy script, trigger change, small windows net, script auto simple, shadow service, copy shadow copy volume

About the Employer:
( 2 reviews ) Quebec, Canada

Project ID: #4754067

20 freelancers are bidding on average $187 for this job

geekydeveloper

Hello Mate, We have 6 years of experience of core development and we have Experienced team

$250 USD in 10 days
(26 Reviews)
6.7
djain01

Hi, I will do it with excellence. I have done similar works in past that works on the command execution for some functions to put results in file and then execute them. Please contact me for more information. Thanks More

$222 USD in 5 days
(39 Reviews)
5.0
aaravsoft

Hello, Interested in the project. Regards,

$200 USD in 4 days
(23 Reviews)
4.7
codeindiadigital

Hello sir, I'm a freelancer from India. I've more than 5yrs experience in developing windows application in .net with both VB and C#, MS SQL. Before we continue talking on this I need to clarify some queries on this pr More

$200 USD in 5 days
(18 Reviews)
4.3
sinharavi

Please read my private message

$231 USD in 10 days
(15 Reviews)
4.2
genesisbuzz

Hello, Please check PMB. Fetching & Deleting Volume Shadow Copy Service (VSS) is possible through C# (.Net). Thanks & Regards, Vighnesh

$155 USD in 5 days
(16 Reviews)
3.9
absorbingtech

Hello also from Canada! I'm a programmer from Manitoba and would be able to provide a windows form program in vb.net 2012 using .NET framework run on the desktop and schedule review/cleanup of your backup images. Thank More

$147 USD in 6 days
(1 Review)
3.8
ultrasonicsoft

Hi, Please check your inbox for more details. Thanks!

$155 USD in 3 days
(4 Reviews)
3.5
bmartynvw

I am Microsoft certified with 17 years of experience.

$252 USD in 30 days
(1 Review)
2.4
giviniinternet

Lets create it... I will do it totally customization service through GUI

$166 USD in 5 days
(1 Review)
2.1
khuongdainghia

Hi, I like this project, let me do it. I have 5 years experience in .Net Thanks

$122 USD in 3 days
(1 Review)
2.0
iamsameer

I can do this. Please check your PM.

$160 USD in 5 days
(1 Review)
1.8
adaml84

Hi, I can help you with that.

$166 USD in 4 days
(2 Reviews)
1.7
sagarwal448

- Experienced dotnet developer having 6+ years of programming experience in designing and developing Web Applications, Stand alone applications, Windows/Web Services using Microsoft.Net platform and having strong Datab More

$222 USD in 6 days
(0 Reviews)
0.0
gKarthiraja

I have script to delete old files from specific location from date. Do let me know when i can show you demo. karthiraja.G

$77 USD in 1 day
(0 Reviews)
0.0
ruimsousa

I've the application you need already developed. Hope to work with you.

$200 USD in 3 days
(0 Reviews)
0.0
makhan786

check your pm

$222 USD in 5 days
(0 Reviews)
0.0
yulianajames

Hello, after reading though your description I got interested in working on your project. I can guarantee extraordinary and quality result in a short time.

$226 USD in 3 days
(0 Reviews)
0.0
infokom

Although this does not require the vb code I intend to do. Diskshadow using VBNet Master will help you.

$172 USD in 4 days
(0 Reviews)
0.0
pichi12

Hi, I can do this project for you. If you hire me you will not regret it Let's start now.

$188 USD in 5 days
(0 Reviews)
0.0