We are using the TFS Preview for the version control.
But the problem is, we don’t have any backup for that server.
What we wonna do is the following.
On a server we wonna schedule some application. That download all TeamProjects
into a folder ( each day another folder ) 20121104 / 20121204 / 201213/04 / …
So we have always the code from last night.
I found a couple things , like workspace.Get() , …..
What is the best solution.
PS: The writing language is C#
You can have multiple solutions,
You can install local TFS and sync it with with TFS Service using Team Foundation Server Integration Tools, and run a schedule backup against your local one, this also will help you so if the internet connection not available for any reason you will continue to work
Another solution to create scheduled task that has a batch file or power shell script that run to get latest
You can also create a build definition that its trigger a scheduled and customize the build to get the source and put it in your local machine
Updated