差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン最新のリビジョン両方とも次のリビジョン | ||
ja:documentation:07_technical_annexes:07_backup_and_restore_procedures [2021/06/26 07:54] – [手動バックアップ] junichi | ja:documentation:07_technical_annexes:07_backup_and_restore_procedures [2023/11/14 06:21] – [手動リストア] junichi | ||
---|---|---|---|
行 6: | 行 6: | ||
===== バックアップ手順 ===== | ===== バックアップ手順 ===== | ||
- | ==== 目的 ==== | + | |
- | このドキュメントの目的は、Pandora FMS アプライアンスのバックアップおよびリストア手順の説明です。 | + | |
==== データベースバックアップ ==== | ==== データベースバックアップ ==== | ||
行 30: | 行 29: | ||
</ | </ | ||
- | === Pandora FMS Database Backup utility | + | === Pandora FMS データベースバックアップユーティリティ |
- | Pandora FMS permite realizar de forma periodica un //backup// de la base de datos que podremos programar | + | Pandora FMS allows to [[:en: |
- | {{ : | + | Pandora FMS では、**自動検出(Discovery) > 新しいコンソールタスク(New console task)** から、ドロップダウンで **" |
+ | |||
+ | {{ : | ||
To create a new database backup: | To create a new database backup: | ||
+ | |||
+ | 新規データベースバックアップの作成には次のようにします。 | ||
* Select the backup frequency or one-time with "Not scheduled" | * Select the backup frequency or one-time with "Not scheduled" | ||
行 42: | 行 45: | ||
* You need to indicate the content of which groups to support (or select all " | * You need to indicate the content of which groups to support (or select all " | ||
* By default it is stored in ''/ | * By default it is stored in ''/ | ||
+ | |||
+ | * 定期バックアップもしくは、" | ||
+ | * " | ||
+ | * サポートするグループの内容を指定する必要があります(または " | ||
+ | * デフォルトでは ''/ | ||
Once you have finished filling in the fields, click on the Create button. | Once you have finished filling in the fields, click on the Create button. | ||
+ | |||
+ | フィールドへの入力が完了したら、作成(Create) ボタンをクリックします。 | ||
行 82: | 行 92: | ||
===== リストア手順 ===== | ===== リストア手順 ===== | ||
- | ==== 4.1 アプライアンスのインストール ==== | ||
- | サーバに CD を入れ起動画面でキーを押します。起動メニューが表示されます。 | ||
+ | Perform the [[: | ||
- | + | [[:ja: | |
- | {{ wiki:centos2.png? | + | |
- | + | ||
- | + | ||
- | + | ||
- | " | + | |
==== データベースリストア ==== | ==== データベースリストア ==== | ||
行 99: | 行 103: | ||
=== 手動リストア === | === 手動リストア === | ||
+ | |||
データベースが起動し、Pandora サーバとエージェントが停止していることを確認します。 | データベースが起動し、Pandora サーバとエージェントが停止していることを確認します。 | ||
行 108: | 行 113: | ||
[root@localhost ~]# / | [root@localhost ~]# / | ||
Stopping Pandora Agent. | Stopping Pandora Agent. | ||
+ | |||
</ | </ | ||
- | その後、データベースをリストアします。 | + | <WRAP center round tip 60%>\\ |
+ | From version NG 754 onwards, [[: | ||
+ | </ | ||
+ | <WRAP center round tip 60%>\\ | ||
+ | バージョン NG 754 以降では、高可用性(HA)環境の[[: | ||
+ | </ | ||
+ | |||
+ | その後、データベースをリストアします。 | ||
< | < | ||
+ | |||
[root@localhost ~]# gunzip pandora.sql.gz | [root@localhost ~]# gunzip pandora.sql.gz | ||
[root@localhost ~]# cat pandoradb.sql | mysql -u root -p pandora | [root@localhost ~]# cat pandoradb.sql | mysql -u root -p pandora | ||
Enter password: <enter the password in console> | Enter password: <enter the password in console> | ||
+ | |||
</ | </ | ||
次の方法でもリカバリできます。 | 次の方法でもリカバリできます。 | ||
- | |||
< | < | ||
+ | |||
mysql –u root –p pandora | mysql –u root –p pandora | ||
create database pandora; | create database pandora; | ||
use pandora; | use pandora; | ||
source PATH BACKUP; | source PATH BACKUP; | ||
+ | |||
</ | </ | ||
- | <WRAP center round important 60%> | + | <WRAP center round important 60%> 作成するデータベース名は、バックアップしたものと同じである必要があります。 </ |
- | 作成するデータベース名は、バックアップしたものと同じである必要があります。 | + | |
- | </ | + | |
- | + | ||
- | === Pandora FMS データベースバックアップユーティリティを使ってのリカバリ === | + | |
- | <WRAP center round important 60%> | + | |
- | この処理は、このツールを用いて作成したバックアップでのみ有効です。 | + | |
- | </ | + | |
- | + | ||
- | {{ wiki: | + | |
- | + | ||
- | + | ||
- | バックアップをリストアするには、作成したバックアップの一覧からリカバリしたいバックアップを選択し、' | + | |
- | {{ wiki: | ||