Re: Two started cluster on the same data directory and port

From: Matthias Apitz <guru(at)unixarea(dot)de>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Loles <lolesft(at)gmail(dot)com>, PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Two started cluster on the same data directory and port
Date: 2023-12-01 04:43:39
Message-ID: ZWlke-djucaf6geZ@c720-1400094.fritz.box
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

El día jueves, noviembre 30, 2023 a las 02:10:25p. m. -0800, Adrian Klaver escribió:

> On 11/30/23 12:35, Adrian Klaver wrote:
> > On 11/30/23 10:35, Adrian Klaver wrote:
> > > On 11/30/23 09:27, Loles wrote:
> > >
>
> > cd /etc/postgresql/14/
> > sudo rm -r main_old/
> >   or
> > sudo cp -r main_old <some_new_path>
>
> Arrgh.
>
> sudo mv -r main_old <some_new_path>
>
> Memo to self don't eat lunch and copy/paste at same time.

Hmmm

purism(at)pureos:~$ uname -s
Linux
purism(at)pureos:~$ mv -r foo bar
mv: invalid option -- 'r'
Try 'mv --help' for more information.

matthias
--
Matthias Apitz, ✉ guru(at)unixarea(dot)de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub

I am not at war with Russia.
Я не воюю с Россией.
Ich bin nicht im Krieg mit Russland.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2023-12-01 05:19:28 Re: Two started cluster on the same data directory and port
Previous Message Meera Nair 2023-12-01 02:57:34 Query related to pg_dump write to a pipe on a windows client and with compressed format