Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space TMAG and version 6.11

...

Sv translation
languageen

This is the procedure of restoring to the database having the same directory structure database restoring procedure, where the directory structure is the same, as the one, where the backup was created aton.

To restore the database by creating a new one:

  1. Make sure the database environment is healthy. Check the existing database, the database server that hosts the existing database, and the computer that hosts the database server.

  2. Stop Postgre SQL services:
    service pgagent-9.6 stop

    service postrgesql-9.6 stop

  3. Install Postgre SQL database according to «InfoWatch Traffic Monitor. Installation Guide» document.

  4. Perform the following tasksactions:
    1. Delete all the content of /u01/postgres/, /u02/pgdata/, /u02/arch/ directories;
    2. Copy the content of /opt/IWTM_Backup_Files/postgres directory to /u01/postgres/ directory;
    3. Copy the content of /opt/IWTM_Backup_Files/pgdata/ directory to /u02/pgdata/ directory;
    4. Copy the content of /opt/IWTM_Backup_Files/arch/ directory to /u02/arch/ directory.

  5. Check the permissions. If necessary, change them:
    chown postgres /u01/postgres/ –R
    chown postgres /u01/pgdata/ –R
    chown postgres /u01/arch/ –R

  6. Start the database:
    service postrgesql-9.6 start 
    service pgagent-9.6 start