Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To create the MS SQL database backup copy, use the idb.exe utility. To create the backup copy, do the following:

  1. Run the idb.exe utility (see Running and shutting down the utility).
  2. Select the Basic data MS SQL database from the Select data source dropdown list.

    Info
    titleNote

    Select the vertical solution database to create a backup copy of the vertical solution database. For example, for Face PSIM the , the data source is Face.

  3. If it is not required to include the Event protocol event viewer in the backup copy of the database, set the the Clear protocols checkbox. This checkbox is not available if the vertical solution database is selected.
  4. Click the Create backup copy (MS SQL) button.
  5. As a result, the Save as dialog box window appears. Select the address and type in the name of saving saved backup copy.

    Info
    titleNote

    While creating If Axxon PSIM and the database server are on different computers connected via the network, then when you create the backup copy of the MS SQL database backup copy, the created backup copy will be is saved by default on the computer where the database server is installed, in case of Axxon PSIM software and database server are located on different computers connected through the network. To save the created backup copy on the computer where Axxon PSIM is installed, do the following:

    1. Create the folder available through the network on the computer where Axxon PSIM is installed. Provide access to the created folder from the computer where the database server is installed.
    2. Specify the path to the created folder in the Save as window.
  6. As a result, the process of backup copy creation starts. Information on this process is given in the Protocol information table.
  7. The backup copy is created when the Creation of a backup copy is completed! message appears in the Protocol table.

    Info
    titleNote
    The You can also create a backup copy (MS SQL) can be created using the a macro.
  8. Click the OK button to shut down the operation. The
  9. dialog box
  10. window closes automatically.

The MS SQL database backup copy is created.

By default the database backup copy is created at : C:\Documents and Settings\<user name>\My documents\AxxonSoft\Axxon PSIM\Data\psim.sql.bak. In case you cannot change the folder for storing the database backup copy while during the backup copy creation, do the following:

  1. Call the Run function (Start → Run). Type in regedit in the opened dialog boxIn the window that opens, enter regedit.
  2. Click the OK button. As a result, the Registry editor dialog box Editor window opens.
  3. Create the string parameter with the BackupFolder name in the HKLM\SOFTWARE\AxxonSoft\PSIM registry thread branch (see Adding string parameters to the registry).
  4. Set the value of the BackupFolder parameter: type in enter the address of the folder for storing the database backup copy (e.g. for example, C:\Documents and Settings\AVP\Desctop\Backup).  
    If it is necessary you want to store the database copy on the network disk, then you must specify the UNC path to the network folder (with to which the recording access) should be specified on the disk access for storing in the \\ServerName\ShareName format is open. Take into account that all network resources that require the additional authentication should must be connected using the same username as for running the SQL Server service. To find out and/or change the user that runs the SQL Server service, do one of the following:
    1. Using the SQL Server Configuration Manager utility.
    2. Run Start Control panel Administrative tools Services, right-click the SQL Server service and select Properties in the feature menu. In the opened SQL Server service dialog boxproperties window, go to the Log On tab.
  5. As a result, the string parameter of the key with the specified value is created.
  6. Call the Run function (Start → Run). Type in Enter the «C"C:\Program Files\Axxon PSIM\idb.exe" /backup » key in the opened dialog boxwindow.
  7. Click the OK button.

As a result, the psim.sq.l.bak database backup copy is created in the folder specified as the value of the BackupFolder parameter .  (C:\Documents and Settings\AVP\Desctop\Backup).