pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
move postgrest installation
2+ messages / 2 participants
[nested] [flat]

* move postgrest installation
@ 2020-07-02 11:40  CRISTINA ASENJO CUELLAR <CASENJOCUELLAR@caser.es>
  0 siblings, 1 reply; 2+ messages in thread

From: CRISTINA ASENJO CUELLAR @ 2020-07-02 11:40 UTC (permalink / raw)
  To: 'pgsql-admin@lists.postgresql.org' <pgsql-admin@lists.postgresql.org>

Hello all,

First of all, Thanks you to community, help me with another questions before.
I have installed postgresql:10 on redhat 8 in this path (/var/lib/pgsql/data) default installation path, mounted on /var.
I need to change the location due to storage issues to another FS (/datos/postgres), how i can do it?
Or it's more save to install again (creating a FS mount on /var/lib/pgsql/data)
I configured a replica with Wall streaming, How do this change of path  affect the replica?

Thanks in advance.


CRISTINA ASENJO CUELLAR
TECNOLOGÍA Y EXPLOTACIÓN
INFRAESTRUCTURA DE APLICACIONES
MADRID - AV BURGOS 109 - 28050
912146557 Ext. 6557
Antes de imprimir este correo electrónico piense bien si es necesario hacerlo: el medioambiente es cosa de todos.
​
​ADVERTENCIA LEGAL:

Este correo electrónico, y en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial, exclusivamente dirigida a su destinatario, salvo error u omisión involuntarios. Queda prohibida su divulgación, copia o distribución a terceros, sin la previa autorización por escrito de su remitente. En el caso de haber recibido este mensaje por error, se ruega comunique esta circunstancia mediante su reenvío a la dirección electrónica del remitente y proceda a su eliminación, así como la de cualquier documento adjunto al mismo.

La Compañía ha adoptado todas las medidas a su alcance para impedir la implantación de virus informáticos en este correo y su documentación adjunta hasta el momento de su emisión, sin que asuma responsabilidad alguna por los eventuales daños o pérdidas que pueda ocasionar la recepción del mismo. 

Attachments:

image754662.png (image/png, 4.4K) download view image
^ permalink raw reply [nested|flat] 2+ messages in thread

* Re: move postgrest installation
@ 2020-07-02 13:05  Ron <ronljohnsonjr@gmail.com>
  parent: CRISTINA ASENJO CUELLAR <CASENJOCUELLAR@caser.es>
  0 siblings, 0 replies; 2+ messages in thread

From: Ron @ 2020-07-02 13:05 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org

PostgreSQL is a set of *programs* which get installed.  The databases are 
created and then populated with your data.

Are you really asking about how to move the databases?  If so, then (first 
shut down postgres, of course), copy the files in /var/lib/pgsql/data to 
/datos/postgres and then update postgresql.conf, and whatever startup file 
defines PGDATA.


On 7/2/20 6:40 AM, CRISTINA ASENJO CUELLAR wrote:
>
> Hello all,
>
> First of all, Thanks you to community, help me with another questions before.
>
> I have installed postgresql:10 on redhat 8 in this path 
> (/var/lib/pgsql/data) default installation path, mounted on /var.
>
> I need to change the location due to storage issues to another FS 
> (/datos/postgres), how i can do it?
>
> Or it’s more save to install again (creating a FS mount on 
> /var/lib/pgsql/data)
>
> I configured a replica with Wall streaming, How do this change of path 
>  affect the replica?
>

-- 
Angular momentum makes the world go 'round.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2020-07-02 13:05 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-07-02 11:40 move postgrest installation CRISTINA ASENJO CUELLAR <CASENJOCUELLAR@caser.es>
2020-07-02 13:05 ` Ron <ronljohnsonjr@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox