public inbox for [email protected]
help / color / mirror / Atom feedFrom: Ron Johnson <[email protected]>
To: pgsql-general <[email protected]>
Subject: Re: Database in another drive
Date: Mon, 13 Oct 2025 17:57:53 -0400
Message-ID: <CANzqJaD5xhYqeWoszSFykag+9KE3+7q421AncMzE0p0hoRBeSA@mail.gmail.com> (raw)
In-Reply-To: <BYAPR12MB2808D1E14F64E4E1CD45DD19BAEAA@BYAPR12MB2808.namprd12.prod.outlook.com>
References: <BYAPR12MB2808D1E14F64E4E1CD45DD19BAEAA@BYAPR12MB2808.namprd12.prod.outlook.com>
On Mon, Oct 13, 2025 at 4:19 PM Arbol One <[email protected]> wrote:
> Is there a way to either create the database or save the data in another
> drive?
>
> I am using Win11, not my choice since 1998, and, not surprisingly, the
> WinOS had a crash;
>
I've been using Windows on (local, telecommuting) corporate PCs for 25
years. Never has the hardware crashed or Windows become so corrupted that
C: needed to be wiped?
> I lost all kinds of information including PostgreSQL (postgres
> (PostgreSQL) 18.0), its databases, tables, data, etc., what a nightmare!
>
Where are your backups? Why don't you have backups?
> To not have this happen again, I'd like to create the databases in the E:
> drive or have the tables stored in that drive, please note that I am not
> talking about backing the data in the E: drive, but to actually have the
> databases in the E: drive. Can this be done and is it practical to do this?
>
Of course. The same way you created them on C:. Either with a GUI or
command prompt.
mkdir E:\PosgreSQL\data
initdb -k -D E:\PosgreSQL\data
--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!
view thread (5+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: Database in another drive
In-Reply-To: <CANzqJaD5xhYqeWoszSFykag+9KE3+7q421AncMzE0p0hoRBeSA@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox