[pgsql-jp: 26344] 解決!Re: Usogresを用いたリモートバックアップについて
Kishimoto Yu
kishimoto @ bisonsoft.co.jp
2002年 6月 11日 (火) 13:14:18 JST
Kishimoto と申します。
細川さまお返事をありがとうございます。
ホスト名の記述を全てIPアドレスに変えたところ
問題解決しました。ありがとうございます。
On Tue, 11 Jun 2002 12:29:33 +0900
HOSOKAWA Tetsuichi <hosokawa @ good-day.co.jp> 様 wrote:
> fw.bisonsoft.co.jp
> のかわりに、IPアドレスで指定してあげてくださいな。
[/usr/local/etc/usogresrc]
# host address that usogres performed
host = "127.0.0.1"
# port address that usogres performed
port = 5432
# host address that postgres original server performed
hostorg = "192.168.10.1"
# port address that postgres original server performed
portorg = 5434
# host address that postgres backup server performed
hostcopy = "192.168.10.1"
# port address that postgres backup server performed
portcopy = 5436
bash$ psql -h 127.0.0.1 -p 5432 -l
datname |datdba|encoding|datistemplate|datallowconn|datlastsysoid|datvacuumxid|datfrozenxid|datpath
---------+------+--------+-------------+------------+-------------+------------+------------+-------
testa | 1| 1|f |t | 16554| 49| 49|
okatest | 1| 1|f |t | 16554| 49| 49|
template1| 1| 1|t |t | 16554| 49| 49|
template0| 1| 1|t |f | 16554| 49| 49|
(4 rows)
ポイントとしては
1. 設定は [home_dir]/.usogresrc ではなく /usr/local/etc/usogresrc に記述
2. ホスト名は全てIPアドレスで書く
でしょうか?
お返事を下さった皆様、ありがとうございました。
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kishimoto Yu <kishimoto @ bisonsoft.co.jp>
pgsql-jp メーリングリストの案内