@Rumisan PostgreSQLのスーパーユーザーはpostgresだから、
sudo -u postgres pg_dump ...
ってpg_dumpをpostgresユーザーで実行してみたら?
psqlはそれで動かしてるでしょ。
@Rumisan PostgreSQLのスーパーユーザーはpostgresだから、
sudo -u postgres pg_dump ...
ってpg_dumpをpostgresユーザーで実行してみたら?
psqlはそれで動かしてるでしょ。
@noellabo@fedibird.com それやったけどなぜか動かないから諦めた
MySQLならsudoで実行すれば認証とかすっ飛ばしてくれるのに
@Rumisan その時のエラーはなんだった?
pg_dumpで書き込むディレクトリの権限がないとか、別のところかな?
@noellabo@fedibird.com ごめん、コマンド見間違えてた
pg_dump -U postgresってしてた。。。
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.