Project backup/restore: Difference between revisions

From Siwenoid Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
__TOC__
__TOC__


===Mentés létrehozása (Backup)===
===Creating Backup===
Alkalmazás- és adatbázismentést a telepítő Backup funkciójával készíthetünk. Az alkalmazás (szerver vagy kliens) kiválasztása után, ki kell jelölnünk, hogy a rendszer mely részeit kívánjuk menteni.
You can create backup from the application and the database by the installer's "Backup" function. After selecting the application (server or client) we have to mark what parts of the system we would like to backup.
Szerver alkalmazás esetén:
The backup of the server application contains:
* Database dump / Adatbázisbeli adatok
* Database dump
* Core application files / A rendszer alapvető állományai
* Core application files
* Configuration files / Konfigurációs XML fájlok
* Configuration files in XML
* Data files / Térkép képfájlok, beavatkozási szöveglapok, parancs ikonok, stb.
* Data files, maps' image files, intervention texts, command shortcuts etc.
* Log files / A (technikai) rendszernapló állományai
* Log files / technical system log files
* Scripts and script manuals / Szkriptek és útmutatóik (HTML fájlok)
* Scripts and script manuals (HTML files)
Kliens alkalmzás esetén:
The backup of the client application contains:
* Core application files / A rendszer alapvető állományai
* Core application files
* Configuration files / Konfigurációs XML fájlok
* Configuration files in XML
* Resource file (localizations) / A nyelvi változatok szövegeit tároló állományok
* Resource file (localizations)
* Data files / Térkép képfájlok, parancs ikonok, stb.
* Data files (Map files, shortcut icons etc.)
* Image files / Képfájlok
* Image files
* Log files / A (technikai) rendszernapló állományai
* Log files / technical system log files
* Scripts and script manuals / Szkriptek és útmutatóik (HTML fájlok)
* Scripts and script manuals (HTML files)
* Sound files / Hangállományok (MP3)
* Sound files (in MP3 format)


Az útmutató a szerver alkalmazás mentésén fog végigvezetni, ez a kliens mentésének összes lépését tartalmazza.
This guide will show you the details of backupping the server application, which itself contains the backup of the client application.
A komponensek kiválasztása után mindkét alkalmazás esetén ki kell választanunk a forráskönyvtárat (amelyben a létező rendszer telepítve van).
After selecting the components we have to select the source directory (with both client and server) where the system is installed.
Következő lépésként meg kell adnunk egy célkönyvtárat, amelyben a telepítő a mentéseket el fogja helyezni (zip fájlokként, tömörítve).
In the next step we have to select the target directory Következő lépésként meg kell adnunk egy célkönyvtárat, where the backup will be stored (in compressed zip format).
A kliens alkalmazás mentésének beállításai ezen a ponton megtörténtek, százalékos állapotjelző mutatja a folyamat előrehaladtát, majd egy időbélyeggel ellátott zip állomány készül el a célkönyvtárban.
The configuration of the client's backup are now complete, a progress bar with percentage indication shows the status of the process. The backup will be in the target directory, in ZIP format, extended with a timestamp.
Szerver alkalmazás esetén (ha kiválasztottuk az adatbázis mentését is) meg kell adnunk az adatbázis elérését. Előbb a Select database driver oldalon válasszuk ki az adatbázisszerverünk típusát.
If we are backing up the server application, we have to specify the access to the database (in case we want to backup that too). First select the database server's type on the 'select database driver" page.
A következő lapon az adatbázis kapcsolat paramétereit állítjuk be:
On the next page the parameters of the connection should be set as follows:
* URL: Az adatbázisszerver számítógépének hostneve (vagy IP-címe), illetve - ha szükséges - kettősponttal elválasztva az adatbáziskezelő port-száma.
* URL: The host name (or IP adress) of the database server. After the adress - if needed - we can specify the port number (separated from the adress by a colon, as usual)
* Database name: Az alkalmazás adatbázisának neve, telepítéskor adtuk meg
* Database name: The name of the database we gave it upon installation.
* Owner: Az adatbázis tulajdonosa, az a felhasználó, amelyet az adatbázis adminisztrációs felületén hoztunk létre, és akit megadtunk telepítéskor
* Owner: The owner of the database. This is the user we specified in the database administration UI upon installation.
* Password: Az adatbázis felhasználó jelszava
* Password: The password of the database's user.
Amennyiben működő rendszerről készítjük a mentést, úgy a telepítő a rendszer konfigurációjából képes kiolvasni ezeket a paramétereket, és kitölti a mezőket ennek megfelelően.
The installer can detect these parameters from the system's configuration when we are backing up a live system.
A következő lapon meg kell adnunk azt az adatbázismentést készítő alkalmazást, amely az adatbázissal együtt települt (pl. MySQL adatbázisnál a mysqldump alkalmazás). A telepítő megkísérli megtalálni ezt a fájlt, de lehetőség van tallózására is. MySQL adatbázisnál Windows-on a ”Program Files\MySQL\MySQL Server 5.x\bin\mysqldump.exe” helyen kell keresnünk, Linux rendszerek alatt az ”/usr/bin/mysqldump” helyen szokott elhelyezkedni.
On the next page we should specify the application making the database dump (for example mysqldump in case of MySQL databases). The installer will try to find the application, but we browse for it manually. Usually these programs are located in ”Program Files\MySQL\MySQL Server 5.x\bin\mysqldump.exe” (Windows OS) and ”/usr/bin/mysqldump” (Linux OS).
A Next gombra kattintva a mentés elindul, előbb az adatbázist menti (ez hosszabb ideig is eltarthat), majd a fájlrendszerről gyűjti össze a kiválasztott komponensek állományait. A mentés eredménye két zip fájl lesz, az egyik az adatbázis adatait tartalmazza, a másik a fájlokét.
Engaging the "Next" button starts the backup. First the database will be processed, what can take some time. The seleccted components of the file system will be saved after the database is processed. The result of the backup will be 2 separate zip files for the database and the aplpication.


A következő lapon meg kell adnunk a célkönyvtárat, amelybe a visszaállítást elvégezni kívánjuk. A könyvtárban található fájlok felül fognak íródni, szükség esetén csináljunk mentést a visszaállítás előtt!
On the next page we have to set up the target directory where the restore of the backup should be done. The target files in the set directory will be overwritten so we should save them beforehand, if necessary.
A kliens alkalmazás visszaállításának beállításai ezen a ponton megtörténtek, százalékos állapotjelző mutatja a folyamat előrehaladtát.
The setup of the restore of the client application's files are finished, and a percentage indicator shows the status of the process.
Szerver alkalmazás esetén (ha kiválasztottuk az adatbázis visszaállítását is) meg kell adnunk az adatbázis elérését. Előbb a Select database driver oldalon válasszuk ki az adatbázisszerverünk típusát.
If we are restoring the server application, we have to specify the access to the database (in case we want to backup that too). First select the database server's type on the 'select database driver" page.
A következő lapon az adatbázis kapcsolat paramétereit állítjuk be:
On the next page the parameters of the connection should be set as follows:
* URL: Az adatbázisszerver számítógépének hostneve (vagy IP-címe), illetve - ha szükséges - kettősponttal elválasztva az adatbáziskezelő port-száma.
* URL: The host name (or IP adress) of the database server. After the adress - if needed - we can specify the port number (separated from the adress by a colon, as usual)
* Database name: Az alkalmazás adatbázisának neve, telepítéskor adtuk meg
* Database name: The name of the database we gave it upon installation.
* Owner: Az adatbázis tulajdonosa, az a felhasználó, amelyet az adatbázis adminisztrációs felületén hoztunk létre, és akit megadtunk telepítéskor
* Owner: The owner of the database. This is the user we specified in the database administration UI upon installation.
* Password: Az adatbázis felhasználó jelszava
* Password: The password of the database's user.


Amennyiben működő rendszerre végezzük a visszállítást, vagy a visszaállítandó adatok tartalmaznak adatbázis beállításokat, úgy a telepítő a rendszer konfigurációjából képes kiolvasni ezeket a paramétereket, és kitölti a mezőket ennek megfelelően.
The installer can detect these parameters from the system's configuration when we are restoring a live system.
Ha a visszaállítást egy még nem létező adatbázisba szeretnénk elvégezni, akkor az adatbázis létrehozásához szükséges rendszerparamétereket (master database) is meg kell adnunk az alsó 3 beviteli mezőben:
In the last 3 input fields we should type the parameters of master database If we would like to restore a backup to a not yet existing database.
* Database name: Egy rendszeradatbázis neve (MySQL esetén tipikusan mysql)
* Database name: The name of the database system (usually "mysql" in case of MySQL)
* Username: Egy adatbázis-adminisztrátor felhasználó neve (MySQL esetén tipikusan root)
* Username: An administrator access for the database (usually "root" for MySQL)
* Password: A felhasználó jelszava, általában az adatbázis-szerver telepítésekor adjuk meg
* Password: The set user's password (which is typically set during installation).
A következő lapon meg kell adnunk azt az adatbázisvisszaállítást végző alkalmazást, amely az adatbázissal együtt települt (pl. MySQL adatbázisnál a mysql alkalmazás). A telepítő megkísérli megtalálni ezt a fájlt, de lehetőség van tallózására is. MySQL adatbázisnál Windows-on a ”Program Files\MySQL\MySQL Server 5.x\bin\mysql.exe” helyen kell keresnünk, Linux rendszerek alatt az ”/usr/bin/mysql” helyen szokott elhelyezkedni. A felső beviteli mezőben (Path to database dump) ki kell választanunk az adatbázisadatokat tartalmazó (adatbázismentés) fájlt. Ez a fájl lehet zip is, a telepítő képes kicsomagolni azt.
On the next page we should specify the application making the database restoration (for example mysqldump in case of MySQL servers). The installer will try to find the application, but we browse for it manually. Usually these programs are located in ”Program Files\MySQL\MySQL Server 5.x\bin\mysql.exe” (Windows OS) and ”/usr/bin/mysql” (Linux OS). We have to select the database backup file in the upper input field ("Path to database dump"). It can be zip file also.
Az adatbázis visszaállítás törli az aktuális adatokat, csak a visszaállítottak lesznek elérhetőek, ezért szükség esetén készítsünk mentést előtte!
The restoration of the database erases the existing data, so you should make a backup first, if needed.


A Next gombra kattintva a visszaállítás elindul, előbb az adatbázist állítja vissza (ez hosszabb ideig is eltarthat), majd a fájlrendszerre másolja át (felülírással) a kiválasztott komponensek állományait.
Engaging the "Next" button starts the restoration. First the database will be processed, what can take some time. The seleccted components of the file system will be restored after the database is processed (the existing files will be overwritten).
A művelet végeztővel a telepítő felkínálja, hogy a visszaállított rendszer konfigurációjában módosítja az adatbázis-elérést, a most megadottaknak megfelelően (Change database parameters in the XML configuration?). Ha az adatbázis paramétereken nem változtattunk, akkor ez felesleges, egyébként pedig az igen gombra kattintva kérhetjük ezt a műveletet
After the finishing the process the installer offers to change the access parameters of the database in the configuration files ("Change database parameters in the XML configuration?"). If we haven't made any changes in parameters of the databasse we can leave it be. Otherwise select "Yes".
 
===Mentés visszaállítása (Restore)===
Az alkalmazás és az adatbázis adatok visszaállítását a telepítő Restore funkciójával végezhetjük el. Az alkalmazás (szerver vagy kliens) kiválasztása után, ki kell jelölnünk, hogy a rendszer mely részeit kívánjuk visszaállítani.
Szerver alkalmazás esetén:
* Core application files / A rendszer alapvető állományai
* Configuration files / Konfigurációs XML fájlok
* Database restore / Az adatbázis adatainak visszaállítása
* Data files / Térkép képfájlok, beavatkozási szöveglapok, parancs ikonok, stb.
* Scripts and script manuals / Szkriptek és útmutatóik (HTML fájlok)
Kliens alkalmzás esetén:
* Core application files / A rendszer alapvető állományai
* Configuration files / Konfigurációs XML fájlok
* Resource file (localizations) / A nyelvi változatok szövegeit tároló állományok
* Image files / Képfájlok
* Sound files / Hangállományok (MP3)
Az útmutató a szerver alkalmazás visszaállításán fog végigvezetni, ez a kliens visszaállításának összes lépését tartalmazza.
A komponensek kiválasztása után mindkét alkalmazás esetén ki kell választanunk a visszaállítandó adatokat, amelyek vagy egy zip fájlban helyezkednek el, vagy egy forráskönyvtárat is megadhatunk.





Revision as of 07:58, 18 October 2016

Language: English  • magyar

Previous chapter-> Algorex LAN communication / Next chapter-> CerberusPro_configuration

Creating Backup

You can create backup from the application and the database by the installer's "Backup" function. After selecting the application (server or client) we have to mark what parts of the system we would like to backup. The backup of the server application contains:

  • Database dump
  • Core application files
  • Configuration files in XML
  • Data files, maps' image files, intervention texts, command shortcuts etc.
  • Log files / technical system log files
  • Scripts and script manuals (HTML files)

The backup of the client application contains:

  • Core application files
  • Configuration files in XML
  • Resource file (localizations)
  • Data files (Map files, shortcut icons etc.)
  • Image files
  • Log files / technical system log files
  • Scripts and script manuals (HTML files)
  • Sound files (in MP3 format)

This guide will show you the details of backupping the server application, which itself contains the backup of the client application. After selecting the components we have to select the source directory (with both client and server) where the system is installed. In the next step we have to select the target directory Következő lépésként meg kell adnunk egy célkönyvtárat, where the backup will be stored (in compressed zip format). The configuration of the client's backup are now complete, a progress bar with percentage indication shows the status of the process. The backup will be in the target directory, in ZIP format, extended with a timestamp. If we are backing up the server application, we have to specify the access to the database (in case we want to backup that too). First select the database server's type on the 'select database driver" page. On the next page the parameters of the connection should be set as follows:

  • URL: The host name (or IP adress) of the database server. After the adress - if needed - we can specify the port number (separated from the adress by a colon, as usual)
  • Database name: The name of the database we gave it upon installation.
  • Owner: The owner of the database. This is the user we specified in the database administration UI upon installation.
  • Password: The password of the database's user.

The installer can detect these parameters from the system's configuration when we are backing up a live system. On the next page we should specify the application making the database dump (for example mysqldump in case of MySQL databases). The installer will try to find the application, but we browse for it manually. Usually these programs are located in ”Program Files\MySQL\MySQL Server 5.x\bin\mysqldump.exe” (Windows OS) and ”/usr/bin/mysqldump” (Linux OS). Engaging the "Next" button starts the backup. First the database will be processed, what can take some time. The seleccted components of the file system will be saved after the database is processed. The result of the backup will be 2 separate zip files for the database and the aplpication.

On the next page we have to set up the target directory where the restore of the backup should be done. The target files in the set directory will be overwritten so we should save them beforehand, if necessary. The setup of the restore of the client application's files are finished, and a percentage indicator shows the status of the process. If we are restoring the server application, we have to specify the access to the database (in case we want to backup that too). First select the database server's type on the 'select database driver" page. On the next page the parameters of the connection should be set as follows:

  • URL: The host name (or IP adress) of the database server. After the adress - if needed - we can specify the port number (separated from the adress by a colon, as usual)
  • Database name: The name of the database we gave it upon installation.
  • Owner: The owner of the database. This is the user we specified in the database administration UI upon installation.
  • Password: The password of the database's user.

The installer can detect these parameters from the system's configuration when we are restoring a live system. In the last 3 input fields we should type the parameters of master database If we would like to restore a backup to a not yet existing database.

  • Database name: The name of the database system (usually "mysql" in case of MySQL)
  • Username: An administrator access for the database (usually "root" for MySQL)
  • Password: The set user's password (which is typically set during installation).

On the next page we should specify the application making the database restoration (for example mysqldump in case of MySQL servers). The installer will try to find the application, but we browse for it manually. Usually these programs are located in ”Program Files\MySQL\MySQL Server 5.x\bin\mysql.exe” (Windows OS) and ”/usr/bin/mysql” (Linux OS). We have to select the database backup file in the upper input field ("Path to database dump"). It can be zip file also. The restoration of the database erases the existing data, so you should make a backup first, if needed.

Engaging the "Next" button starts the restoration. First the database will be processed, what can take some time. The seleccted components of the file system will be restored after the database is processed (the existing files will be overwritten). After the finishing the process the installer offers to change the access parameters of the database in the configuration files ("Change database parameters in the XML configuration?"). If we haven't made any changes in parameters of the databasse we can leave it be. Otherwise select "Yes".


Previous chapter-> Algorex LAN communication / Next chapter-> CerberusPro_configuration