- 2008-02-04 (月) 15:54
- DB | PostgreSQL
system("/usr/bin/pg_dump -u $db_name < $input_file > $out_file");
$input_fileには、
postgres(ユーザー名)
abdedfg(パスワード)
の2行の形でファイルを作る。
- Newer: CakePHPでファイルのダウンロードのやり方。
- Older: PostgresのDBデータをファイルでバックアップ
Trackbacks:0
- Trackback URL for this entry
- http://ore.saizensen.net/archives/33/trackback
- Listed below are links to weblogs that reference
- PHPからPostgreSQLをdumpする。 from おれ最前線ねっと




