moving users/roles from one server to another?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm a newbie to PG administration (although I have experience with
other DBs).  I need to move a single database to a brand new server.

I've set up the new server with initdb, set up pg_hba.conf and
postgresql.conf, and I can use dump and restore to move the database
to the new environment.

What I can't figure out is how to move all the existing users and
roles over.  I know about pg_dumpall, but that seems to be overkill --
I don't need to move *all* the databases on my original server, just
one of them.

Is there a way to copy over just the users (with their passwords) and
the roles?


-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux