Restore a dump database in POSTGRES

Jul 15 2021 2:49 AM


I have a dump´s database in SERVER 1 , so i want to restore it in my database from linux with the sentence: "psql -U username -W -h host basename < basename.sql", BUT SERVER 1 which is the slave server it´s synchronized with a SERVER 2 which is the Master server, so do i have stop the synchronize service before restore the dump? or can i do it without stop that process?


Thank u,  i hope was clear on this one.




Answers (4)