ssh <targetServer>". /usr/postgres/bin/setDB.bash <DBNAME>;export PGPASSWORD=pwd;pg_dumpall --roles-only -h <sourceServer> -p 5432 -U <username>| psql -a"
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.
Δ
Please enable JavaScript in your browser to view the content
Josselin Joly