Re: Failed backup due to --no-password

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: Serge De Maseneer <serge(dot)de(dot)maseneer(at)telenet(dot)be>
Cc: pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: Failed backup due to --no-password
Date: 2025-02-06 12:03:01
Message-ID: CAM9w-_mCO6iwBFXXkx8VqrR56eqUcRUZctiB9PP5MnpiEjuYAA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi Serge,

What is your pgAdmin version?

On Thu, Feb 6, 2025 at 2:58 PM Serge De Maseneer <
serge(dot)de(dot)maseneer(at)telenet(dot)be> wrote:

> Hello,
>
> I connect to the database over a SSL connection to the server. The
> connection method is scram-sha-256 even for local connections.
>
> If the password is added tot the env of the process why can i connect to
> the database but not make a backup? Is this a bug I stumbled upon?
>
>
> On 6/02/2025 5:55, Aditya Toshniwal wrote:
>
> Hi Serge,
>
> How are you connecting to the server? Password, trust, service file, etc.?
> The password is added to the env of the process and not to the pg_dump
> command for security reasons, so --no-password is fine.
>
> On Wed, Feb 5, 2025 at 10:38 PM Serge De Maseneer <
> serge(dot)de(dot)maseneer(at)telenet(dot)be> wrote:
>
>> Hello,
>>
>> I am trying to make a backup from a database with the backup command of
>> PgAdmin.
>>
>> This is the result of the operation: Failed
>>
>> It fails because of the --no-password setting. I looked if i could
>> somewhere force the --password setting instead but in vain.
>>
>> How can i make this work?
>>
>> Kind regards,
>>
>> Serge.
>>
>>
>>
>>
>
> --
> Thanks,
> Aditya Toshniwal
> pgAdmin Hacker | Sr. Staff SDE II | *enterprisedb.com*
> <https://www.enterprisedb.com/>
> "Don't Complain about Heat, Plant a TREE"
>
>

--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Staff SDE II | *enterprisedb.com*
<https://www.enterprisedb.com/>
"Don't Complain about Heat, Plant a TREE"

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Akshay Joshi 2025-02-06 13:37:23 pgAdmin 4 v9.0 Released
Previous Message Aditya Toshniwal 2025-02-06 04:55:33 Re: Failed backup due to --no-password