{"data":{"attributes":{"categories":[],"content":"\nQuelques astuces postgresql :\n\nCopy une base sur un autre host à travers ssh :\n\n    HOST=machine2\n    DB=madb\n    ssh $HOST \"pg_dump -U postgres -d $DB -Fc\" | pg_restore -Fc -U postgres -c -d $DB\n","date":"2011-06-09T00:00:00Z","description":"Postgres","lang":"fr","tags":["Mediawiki"],"title":"Postgres"},"id":"https://blog.tcweb.org/wiki/postgres/","links":{"html":"https://blog.tcweb.org/wiki/postgres/","markdown":"https://blog.tcweb.org/wiki/postgres/index.md","self":"https://blog.tcweb.org/wiki/postgres/index.json"},"type":"page"}}