Solved

VSS: Rollback to a previous date

Posted on 2008-10-17
8
1,894 Views
Last Modified: 2012-06-22
Hi there

Is it possible to rollback VSS to a certain date? Basically what I want to do is rollback a project to a certain date, say 01/01/2008. And what I want is all the project files that were current on that date.

Thanks
Leon
0
Comment
Question by:leapingleon
  • 5
  • 3
8 Comments
 
LVL 45

Expert Comment

by:sunnycoder
ID: 22739012
Hello leapingleon,

Files could have had multiple versions on the same date. Did you create a tag for the repository state to which you wish to rollback?

Regards,

sunnycoder
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 22739045
0
 

Author Comment

by:leapingleon
ID: 22739076
Sorry, still new to VSS so not too clued up on it. The previous web developer left, and I am trying to figure all this stuf out.

I think they are labelled with the version number, but think the same problem you mentioned will occur as they are only labelled once a new version went live.

Is there anyway I can check for this tag you are talking about?
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 22757300
Tags should be visible in the history. Right click and view history
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 45

Expert Comment

by:sunnycoder
ID: 22757308
tags are called labels in VSS
0
 

Author Comment

by:leapingleon
ID: 22757664
Hey there

Firstly, my version of VSS is very old and I cant seem to find the Rollback option in the View History dialog box. Dont know if it is a new version or what.

Secondly, I think my wording in the question was a bit wrong. I dont want to lose any of the changes in VSS, all I want to do is get a version at a certain date. Bascially what happened is that the previous developer started re-coding our site with drastic changes, giving it a complete overhaul. He checked these newer version into VSS over the older version. However, the older version is still the live and current version and I need to make a few small changes to it. I cant do a get latest version as it is the one that is currently being re-built, I need to get a version of the older one.

Makes sense?
0
 
LVL 45

Accepted Solution

by:
sunnycoder earned 500 total points
ID: 22757829
Typically when such a change is undertaken, the repository is labeled. The history should show you the labeled revisions. See if you find something interesting there.
I dont have access to a comparable installation or I would have been able to give you precise steps but what you want to do here is to check if your repository was labeled at that point of time. If yes, then check out using that label. From your post it sounds like rollback would not be a good option. Rollback means undoing all changes since that date and reverting the repository to older code while all you want is to be able to branch off from older revision and let development continue with the current repository.
If you check help on your installation you should be able to get information as to how to checkout code from a specific label.
0
 

Author Closing Comment

by:leapingleon
ID: 31507078
Thanks
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Format underline a range 2 70
dialer.exe 4 58
Strange - Deleted Resource Info appears in Azure Portal 6 86
Run program by typing the .exe in the start>run dialog 5 52
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now