Restore project from SQL Database Folder

Restore project from SQL Database Folder

If there is no workspace or project backup projects can be restored via the following procedure:
(In this specific case one computer crashed and the operating system was not operable anymore, but the SQL folders could be saved and backed up. The procedure could also be used for moving the SQL folders from one installation to another.)
  • From the old crashed PC, back up the SQL folders (folders with the GUID as name, like 9403a5ef-551d-4e61-a014-c3d4bc4e19cc) of your old projects from "C:\Documents and Settings\All Users\Application Data\COPA-DATA\SQL\..."
    (you have to open the DB.INI files in the several folders to identify the projects: NAME=PROJECTNAME)

  • On your new PC paste the GUID folders to your SQL directory "C:\Documents and Settings\All Users\Application Data\COPA-DATA\SQL\"

  • Start the tool testconnection.exe on your new PC -> Open Maintenance: On the left side the SQL folders are shown, your copied folders should be visible.

  • Select your folders and press the [ >> ] Button. The files are attached to the database on your new PC. (alternatively also the SQL Management Studio can be used for attaching the files)

  • Terminate the process zenDBSrv.exe (it is automatically restarted with the next start of the editor)

  • Start the zenon editor, open a workspace and select "Insert existing project...", your restored projects should be visible. Select the project you want to open.

The testconnection tool can be found here:
http://www.copadata.at/forums/showthread.php?t=785

This is a migrated post! Originally posted on 13.10.2009 by user bernhardf. Please be aware that information can be outdated.

    Disclaimer

    This document governs the use of our Community Forum. By registering and using the platform, you accept these conditions.

    The COPA-DATA Community Forum serves to encourage the exchange of information and experience about the zenon software between forum users respectively zenon users.

    Please mind that any published information on the Community Forum is the subjective opinion and view based on the experience and the level of knowledge of the author. COPA-DATA does not overtake any responsibility for the content and the accuracy of the shared information.

    Users of the Community Forum are encouraged to share only well-founded experiences and to point out any risks associated with the implementation of proposed solutions to problems. COPA-DATA at its absolute discretion, reserves the right to moderate the forum. In this connection COPA-DATA may remove any information containing false facts, potentially dangerous solutions, bad language or content that may insult, degrade or discriminate others. COPA-DATA may block a non-complying user from forum access if the user violated this provision.

    COPA-DATA reserves the right to change this document from time to time at own discretion.


    Ing. Punzenberger COPA-DATA GmbH
    Karolingerstraße 7b · 5020 Salzburg · Austria
    www.copadata.com