From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Postgres 12 backup in 32 bit windows client
Date: Sat, 28 Mar 2020 13:09:59 -0500
Message-ID: <bca21367-ae30-5289-1503-a514526160d1@gmail.com> (raw)
In-Reply-To: <7706A89605D041E0A7B81CE1E24BF361@dell2>
References: <8EEF8765EE8E4A48BC3388A8CC1DDDBB@dell2>
<9be49883-6e22-e916-c321-06c0ee4b3e3d@aklaver.com>
<7706A89605D041E0A7B81CE1E24BF361@dell2>
On 3/28/20 12:57 PM, Andrus wrote:
> Hi!
>
>> What are you going to do with this backup?
>
> If server disk crashes, it can used to restore data.
>
>> Do you have shell access to the Debian machine in order to do the backup
>> there?
>
> I have but my application user in 32bit windows does not have.
> I want to allow 32 bit windows user to make backup from 5432 port directly
> to her computer C: drive.
>
> If Postgres 12 32bit pg_dump is not available maybe it is possible to
> create stored procedure which invokes pg_dump in server and returns
> .backup file as bytea value to client:
>
> select run('pg_dump mydatabase')
What about you make the backup on the db server with cron and then have her
copy the file to her computer using WinSCP?
--
Angular momentum makes the world go 'round.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: Postgres 12 backup in 32 bit windows client
In-Reply-To: <bca21367-ae30-5289-1503-a514526160d1@gmail.com>
References: <8EEF8765EE8E4A48BC3388A8CC1DDDBB@dell2> <9be49883-6e22-e916-c321-06c0ee4b3e3d@aklaver.com> <7706A89605D041E0A7B81CE1E24BF361@dell2> <bca21367-ae30-5289-1503-a514526160d1@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox