PANTHEON™ Help

 Toc
 PANTHEON Help - Welcome
[Collapse]PANTHEON
 [Collapse]Guides for PANTHEON
  [Expand]Guide for PANTHEON
  [Expand]Guide for PANTHEON Retail
  [Expand]Guide for PANTHEON Vet
  [Expand]Guide for PANTHEON Farming
 [Collapse]User Manuals for PANTHEON
  [Collapse]User Manual for PANTHEON
   [Collapse]Getting Started
     Dictionary of terms
     First steps with PANTHEON
    [Expand]Using PANTHEON at Tecta, a fictional company
    [Expand]Instructions for Ensuring Compliance of PANTHEON with SAS
    [Expand]PANTHEON Installation
    [Collapse]PANTHEON System
     [Expand]PANTHEON System data
     [Collapse]MS SQL Server
       Download and install MS SQL Server
       Upgrading MS SQL Server to 2019 or 2022
       MS Management Studio - Download and install
       Restoring database onto SQL server
       Adding users to server level (AddUser_PAX)
       Installing SQL for external access
       Installing PANTHEON clients
       Nastavitve MS SQL strežnika za večja Pantheon™ oko
       Changing SQL Sort Order
      [Expand]MS SQL Server Security
      [Expand]Useful SQL Queries
       SQLExecute
      [Expand]SQL Server Jobs
     [Expand]Microsoft Windows Utilities
     [Expand]Security Policy
     [Expand]Database Administration
    [Expand]PANTHEON Basics
    [Expand]PANTHEON Help
    [Expand]Materials and Goods Movements
    [Expand]Assigning Identifiers
    [Expand]Frequently asked questions about Pantheon (F.A.Q.)
    [Expand]Archive
   [Expand]User Manual for eBusiness
   [Expand]Settings
   [Expand]Orders
   [Expand]Goods
   [Expand]Manufacturing
   [Expand]Service
   [Expand]Help
   [Expand]Personnel
   [Expand]Financials
   [Expand]Analytics
  [Expand]User Manual for PANTHEON Retail
  [Expand]User manual for PANTHEON Vet
  [Expand]User Manual for PANTHEON Farming
[Collapse]PANTHEON Web
 [Collapse]Guides for PANTHEON Web
  [Expand]Guide for PANTHEON Web Light
  [Expand]Guide for PANTHEON Web Terminal
  [Expand]Guide for PANTHEON Web Legal
  [Expand]Old products Archive
 [Collapse]User Manuals for PANTHEON Web
  [Expand]Getting started PANTHEON Web
  [Expand]User Manual for PANTHEON Web Light
  [Expand]User Manual for PANTHEON Web Terminal
  [Expand]User Manual for PANTHEON Web Legal
  [Expand]Old products Archive
[Collapse]PANTHEON Granules
 [Collapse]Guides for PANTHEON Granules
  [Expand]Personnel Granule
  [Expand]Travel Orders Granule
  [Expand]Documents and Tasks Granule
  [Expand]Dashboard Granule
  [Expand]B2B Orders Granule
  [Expand]Field Service Granule
  [Expand]Fixed Assets Inventory Granule
  [Expand]Warehouse Inventory Granule
 [Collapse]User Manuals for PANTHEON Granules
  [Expand]Getting started
  [Expand]Personnel Granule
  [Expand]Travel Orders Granule
  [Expand]Documents and Tasks Granule
  [Expand]B2B Orders Granule
  [Expand]Dashboard Granule
  [Expand]Field Service Granule
  [Expand]Fixed Assets Inventory Granule
  [Expand]Warehouse Inventory Granule
  [Expand]Archive
[Expand]User Site

Load Time: 484.3782 ms
"
  1000002886 | 222488 | 375242 | Updated
Label

Restoring Database onto SQL Server

The following instructions present how a user can restore a database onto the SQL server.

Table of contents

  1. Downloading and Expanding Database from FTP Server
  2. Restoring (mounting) Database onto SQL server via the Management Studio
  3. Checking the Database Version via SQL Editor

1. Downloading and Expanding Database from FTP Server

Through the File Explorer or any internet browser, the user opens the link http://ftp.datalab.eu/databases/.

By clicking the correct database from the list below, the user can download different databases.

EU_FA.zip An empty farming database with English collation.
EU_FA_DEMO.zip A DEMO farming database with English collation.
EU_LT.zip An empty database with English collation for owners of LT licenses.
EU_LT_DEMO.zip A DEMO database with English collation for owners of LT licences.
EU_MF.zip An empty database with English collation for owners of other PANTHEON licences.
EU_MF_DEMO.zip A DEMO database with English collation for owners of other PANTHEON licences.
EU_VET.zip An empty database with English collation for owners of VET licenses.
EU_VET_DEMO.zip A DEMO database with English collation for owners of VET licenses.

 

The file is normally downloaded to the Downloads folder (computer setting).

After downloading the database from the FTP server, it must be expanded from the archive with a suitable archiver.

00001.gif
WARNING

For quick decompressing of archival files, the free archiver 7zip is recommended.

 

The user saves the downloaded and decompressed backup copy of the database (ending .bak) from the archive to the place set when installing the SQL server – the backup folder.

In this case, the user selects the file C:\#sql\backup.

HINT

See the link for installing SQL server – the Database Engine Configuration step.

2. Restoring (mounting) Database onto SQL server via the Management Studio

In the Start menu, the user finds Management Studio and runs it. When the program is running, the user logs into the SQL server.

00001.gif
WARNING

For more information about installing, running, and logging into the SQL server via Microsoft SQL Management Studio, see the chapter Microsoft Management Studio – Download and Installation.

 

After logging into the SQL server, the user expands the instance (usually .\DATALAB) by clicking the plus in the Object Explorer.

The user marks and right-clicks the Databases and selects the menu Restore Database.

A new Restore Database window opens.

In the menu, under Source, the user selects the checkbox Device, then selects ..., to open a new chat window Select backup devices.

By clicking the Add button, the user finds the database, which was previously downloaded from the FTP server and expanded with a suitable archiver.

The user finds the decompressed database on the hard drive (usually named EU_XX.bak), marks it and confirms the choice by clicking the OK button.

After selecting the database, the user confirms it by clicking the OK button in the Select backup devices window.

The Restore Database window offers the user the option to name the database on the SQL server in the Database field of the Destination section.

Normally, the database is named with the short name of the company for which the new database is being mounted.

When naming a database, you can confirm the restoration of the database on the SQL server with the OK button in the Restore Database window.

00001.gif
WARNING
  1. Management Studio restores the database to the path set when installing the SQL server (data, log). For more information, see the chapter Download and Installation.
  2. If you want to change the location of the restored (.mdf and .ldf) files, you can change the location in the Select a page | Files section.
  3. The database can also be restored manually, through the SQL editor with the command:

    RESTORE DATABASE [SI_MF] FROM DISK = N'C:\#sql\backup\SI_MF.bak'

    WITH FILE = 1,

    MOVE N'DataLab_Data' TO N'C:\#sql\data\MOJA_PRVA_PRAZNA_BAZA.mdf',

    MOVE N'DataLab_Log' TO N'C:\#sql\log\MOJA_PRVA_PRAZNA_BAZA_1.ldf',

    NOUNLOAD,

    STATS = 5

    GO

 

If your database is successfully restored onto the SQL server, the program displays a message:

Restored database is visible in the Object Explorer window, in the Databases section.

3. Checking the Database Version via SQL Editor

The user wants to check the database version. The user selects and right-clicks the database and selects New Query.

In the SQL editor, the user enters the command: select * from tpa_sysparamsys

In the anBuildNo. column on the Results tab, the user reads the database version.

The user must know the database version to download the correct PANTHEON program package from the FTP server.

00001.gif
WARNING

After restoring the database, the users must be transferred from the database to the server level. For more information, see the chapter Adding Users to Server Level (AddUser_PAX).

 


 

Rate this topic
Was this topic usefull?
Comments
Comment will also bo visible in forum!