Re: Restore after using pg_dumpall

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

 




On Mon, Jul 29, 2013 at 6:49 PM, Asmus Reinhard <Reinhard.Asmus@xxxxxxxxxxxxxx> wrote:

Hallo,

 

between

 

pg_dumpall > alldb.sql (store)

 


According above command,you are taking all databases dump  in plain text format  which are available in PostgreSQL cluster running on 5432 port number.

and

 

psql –f alldb.sql postgres (restore)

 

is it necessary to drop existing objects (for example roles, …) ?


According to above command,Restoring plain text dumpfile into same PostgreSQL cluster running on 5432 port number. 

If my assumptions are correct then you should drop existing database objects.

Thanks & Regards
Raghu Ram


[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