Home > Tags > dump
dump
PHPからPostgreSQLをdumpする。
- 2008-02-04 (月)
- DB | PostgreSQL
system("/usr/bin/pg_dump -u $db_name < $input_file > $out_file");
$input_fileには、
postgres(ユーザー名)
abdedfg(パスワード)
の2行の形でファイルを作る。
- Comments: 0
- Trackbacks: 0
Home > Tags > dump
- Search
- Feeds
- Meta