Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jIFvG-0001uj-F6 for pgsql-general@arkaria.postgresql.org; Sat, 28 Mar 2020 18:11:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jIFuG-0006OQ-VF for pgsql-general@arkaria.postgresql.org; Sat, 28 Mar 2020 18:10:04 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jIFuG-0006OJ-G0 for pgsql-general@lists.postgresql.org; Sat, 28 Mar 2020 18:10:04 +0000 Received: from mail-ot1-x344.google.com ([2607:f8b0:4864:20::344]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jIFuD-0001bg-R3 for pgsql-general@lists.postgresql.org; Sat, 28 Mar 2020 18:10:03 +0000 Received: by mail-ot1-x344.google.com with SMTP id c9so13410618otl.12 for ; Sat, 28 Mar 2020 11:10:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=46u/CuBTgq2poUZE/g56LwE/O3LRUaLlxgcMFq6szbg=; b=Iw+eYN85D2wCmlSHYePbh41U7USeu9aYVs8Fpp67sGeqAqH9coH+vrZWRs2xkGGrG3 A83cqRFGJ78dmPYTw9EtOutbZMskLJVBQcBp1YdPiH1AQeLbXSmIAVAEfdRZQQnQB1jI taM8s+F+60cujW5gh9l95n8QseyxTLexZxnXuo9Ova9PRexGSUEx4VsYfL738ZwqEbac 6H1ymDUrhQgtjtr0hstbckeWBKCtK7/l38PcykWCycmF3FyWu4+DZwY5y147New+fl08 mc/HgOQ6gDUHPVXTqkzIweCA1X7o7AgvpMWvogUJrG/QWfjkyIu8f4VDUO1KenhfRLqI nlDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=46u/CuBTgq2poUZE/g56LwE/O3LRUaLlxgcMFq6szbg=; b=VHIffbainlDpiXgLm5KqWi3u/wvUB5bLfrTwdwTzxdGrROeXZsOO6u77kKXBC/WUv1 eR5HxNRVZmJxJNpkQ9qfId72C0MT4mc65IeiWuanmBLj+f88/UCrSiFhUQhUqAlpeF3G ivgn4ATFq13QKcTMz5zEzeuv0Udd7KJlxYIs43LF3+YYNlZe4zmhovshutpx7vB1HkJt 59lA6T7UN0R38MK73zLMhpCiDihPHv3T6wRItbjofOJJEc8oy9u/jv6ngls3j5UJmD3E rX2gZbb5Gf4xCiRH9t0xwA64zuCbOts+s4BBj8dLSFxQTpFtPatYZiHssQij10mdOBsi XBxw== X-Gm-Message-State: ANhLgQ1Umz+ig9rwg+/yy4xMADfly89F2boQimrER9TbGEFzrX+XzFsO Y4ixDtO98FZX2eOwYH5LYHXlVG+l X-Google-Smtp-Source: ADFU+vs/rDxQoKpcqIj6HhSlJ1FZ4JlywiZ/xX2TxHUCq23xAJdY7rpMIHajvONh0eLApMFTwOAlNg== X-Received: by 2002:a9d:c69:: with SMTP id 96mr3675020otr.77.1585419000497; Sat, 28 Mar 2020 11:10:00 -0700 (PDT) Received: from [192.168.1.10] (ip70-186-126-197.no.no.cox.net. [70.186.126.197]) by smtp.googlemail.com with ESMTPSA id 46sm2802019oth.28.2020.03.28.11.09.59 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 28 Mar 2020 11:09:59 -0700 (PDT) Subject: Re: Postgres 12 backup in 32 bit windows client To: pgsql-general@lists.postgresql.org References: <8EEF8765EE8E4A48BC3388A8CC1DDDBB@dell2> <9be49883-6e22-e916-c321-06c0ee4b3e3d@aklaver.com> <7706A89605D041E0A7B81CE1E24BF361@dell2> From: Ron Message-ID: Date: Sat, 28 Mar 2020 13:09:59 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <7706A89605D041E0A7B81CE1E24BF361@dell2> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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.