Project backup/restore

From WikiSiwenoid
Jump to: navigation, search
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