cancel
Showing results for 
Search instead for 
Did you mean: 

Migrating to a new bart server

SOLVED
Silver Adventurer

Migrating to a new bart server

When Migrating to a new bart server

 

run the init with -o on the postgres server so it will change the archive_command to point to the new bart server.

 

and then run a reload.   A reboot is not required?

 

 

am i missing anything.

 

matt

1 ACCEPTED SOLUTION

Accepted Solutions
EDB Team Member

Re: Migrating to a new bart server

Hi Matt,

 

When you run "bart init -o" (-Override the archive_command in postgresql.conf to point to new bart server). 

Above command changes existing archive_command and set new archive command in postgresql.auto.conf by using "ALTER SYSTEM" command.

We need to Reload the configuration in the PostgreSQL server using pg_reload_conf() or 'pg_ctl reload' , No need to reboot server. 

Make sure archive command working properly after reload(you can check from pg logs if archive command fails).

 

Hope this answers your question.

Please let us know if you need anymore details. 

 

Regards

Siva.

4 REPLIES 4
Highlighted
EDB Team Member

Re: Migrating to a new bart server

Hi Matt,

 

Hope you are doing good. 

 

Let me look into it and update you details. 

 

Please let us know if you need anymore help. 

 

Regards

Siva.

EDB Team Member

Re: Migrating to a new bart server

Hi Matt,

 

When you run "bart init -o" (-Override the archive_command in postgresql.conf to point to new bart server). 

Above command changes existing archive_command and set new archive command in postgresql.auto.conf by using "ALTER SYSTEM" command.

We need to Reload the configuration in the PostgreSQL server using pg_reload_conf() or 'pg_ctl reload' , No need to reboot server. 

Make sure archive command working properly after reload(you can check from pg logs if archive command fails).

 

Hope this answers your question.

Please let us know if you need anymore details. 

 

Regards

Siva.

Silver Adventurer

Re: Migrating to a new bart server

thanks this is a real time saver,  

 

matt

EDB Team Member

Re: Migrating to a new bart server

Thank you Matt, 

 

Have a nice day. 

 

Regards

Siva.