已锁定 File history missing after restore Or How to move history

  • Tuesday, October 18, 2011 5:54 PM
     
     

    I am trying to manage the size of a Visual SourceSafe (VSS) repository.  One idea was to archive off older files and restore those records if needed, unfortunately, when I restored a particular year's worth of data, the file history does not show any of the restored versions. 

    I used SSARC to backup $/ and delete files from the repository based upon an end date, and then used the administrative wizard to restore from the archive back into the same repository.

    An ideal solution would be to have a small, working repository and then move any history over a month old to a large, reference repository.  The larger VSS repository could be taken offline for a week or longer, but operations on the small VSS repository would be fast and efficient.

    Migrating away from VSS is not a good option at this time.

     


    T.69.72.

All Replies

  • Tuesday, October 18, 2011 7:32 PM
     
     

     unfortunately, when I restored a particular year's worth of data, the file history does not show any of the restored versions. 

    Do you mean you don't see the versions included in the date range you archived in the history? Do you only get one version?

    Regards,


    Catherine Sea
    Version Control Software | Software Configuration Management Solution

  • Wednesday, October 19, 2011 4:00 AM
    Moderator
     
     

    Try to create a new DB and restore the archive, then check if you could view all versions.

    And please check if you specify the version number when you achrive the projects.

    Sincerely,


    Bob Bao [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Monday, October 24, 2011 6:53 PM
     
     

    The problem is the historical information does not change.  The restore message seems to indicate success, "Archive/restore successfully completed!", but when one goes to check the history of an example file, only one entry exists that has an Action statement that starts with "Archived versions of "....  This is the same historical information that was present before the restore and indicates the different file versions are no longer selectable.

    My example file was last changed back in 2004.  I have performed additional ssarc backup operations since that time, but the restored archive should have all the data for 2004.  I know the example file had a couple of version changes during 2004, and a main objective is that users will be able to see the reloaded history for a particular time period.

    -- Theodore Hahn

     


    T.69.72.
  • Monday, October 24, 2011 11:02 PM
     
     

    Do you still have the backup of the repository? If yes, you can try to achive and restore your database again.
    http://www.kevingao.net/sourcesafe/how-to-backup-restore-sourcesafe-vss-database.html

    Before achive, it is recommended to analyze your database to make sure it is healthy.
    http://msdn.microsoft.com/en-us/library/ysxsfw4x(v=vs.80).aspx


    Windy Liu
    Version Control Software | TWAIN SDK

  • Tuesday, October 25, 2011 8:09 AM
    Moderator
     
     

    Was this achive creacted by VSS 6.0, try to restore it by VSS 6, and check the history.

     


    Bob Bao [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Tuesday, October 25, 2011 6:57 PM
     
     

    Yes. And it should be similar for VSS 2005.


    Windy Liu
    Version Control Software | TWAIN SDK

  • Thursday, October 27, 2011 3:28 AM
    Moderator
     
     

    Yes. And it should be similar for VSS 2005.


    Windy Liu
    Version Control Software | TWAIN SDK

     

    Yes, just one guess. Not sure if there are some issues.
    Bob Bao [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.