Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sxqQo-00CnHi-PF for pgsql-general@arkaria.postgresql.org; Mon, 07 Oct 2024 16:17:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sxqQn-00DNTP-CU for pgsql-general@arkaria.postgresql.org; Mon, 07 Oct 2024 16:17:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sxqQn-00DNSW-0W for pgsql-general@lists.postgresql.org; Mon, 07 Oct 2024 16:17:57 +0000 Received: from mail-oa1-x34.google.com ([2001:4860:4864:20::34]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sxqQl-0033Gu-0N for pgsql-general@postgresql.org; Mon, 07 Oct 2024 16:17:56 +0000 Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-287d8f7493eso1021737fac.0 for ; Mon, 07 Oct 2024 09:17:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728317873; x=1728922673; darn=postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=MZjY3qeAqnOcYCn5Zpl3ULtjGa/flH3+irGqkzzOCz0=; b=QEJMOYB197P7175ty+Mf30XoHBpAirg/2q1vmTAKuUcfZxRrW5ZMo7sg/JheVbZy1w i7Y3MV5d23ydvtIj8NVX4MewtuKyKjc5dNmRf3l33A5oigYyPxU1cBT2UP2e5b+B7bDu K3ZdZj3dN3DAvTgWI77X+P+LQjeWvLQhwW66ppUJ4d9Xu6V8zL2/owF4XuC0BABV1Jv4 Yh5VPjHXcMg/cxlH8jFDqhmzMExWAPMRd00Mi2Dfpwamm8yg5OQyvAlEpKSwO2PlgR9h VA4BQpwIovN73eDf3r8qRracL/fsqOoCjzy34//23OfSBvcxjGm3euwkwV6kwMUVa5xf IdqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728317873; x=1728922673; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MZjY3qeAqnOcYCn5Zpl3ULtjGa/flH3+irGqkzzOCz0=; b=M+JOdjBSJv0wLW/FhFNIctmLyjGJGJC3Ul7VQAXCJnEo/VJdAh7hYpiQTqPITPKsVw U+KmHbHP3jCNLlCineyBKhkPnSm/hGymrQr2dYQQOtXaJ1jRuHhf9Se8ypBKH3WLWp8s ZbVX8VhmsHBYIMd1t6YpvvTFO+SV4RU/itJnfSVYckP8I86GKLEYhJRO9Iu9o9/6dVem rAum6EW4iNAFcbrdKds0UZi9F3/hUNT7mfv6WPfalE14bcUPEmO7vsq+pBMRtafQvkpo JrpOuPZmaXXM+0Khy5KLXzwtPLePK0rG5X7sYnx4TNAW5tm7Ry9zasVt2Zsr5wNN7VIY YLwg== X-Gm-Message-State: AOJu0YzdsT2cW7rx+I4ru6FK6J2bGitDM1ASYIWjVhqb3jOEX0wmU0HI 3+H6o18ZiOsYYBE61CA33687z+KEYbKKDKic+bgRCW80F80QtausuZh7UC2zbYM2dYJqs/XsVhg WBrSz6ySiNPe0Tj1br4DxWA4F3o8fRQ== X-Google-Smtp-Source: AGHT+IGvurBKxvEBIZKzBl80MhMHRK0sXcZz4EUr+YDdskUQxSDfRH9WZkcvePdEks+xUSqFfx90ssDLLMZkxU+3Sik= X-Received: by 2002:a05:6871:e284:b0:277:ed4b:a098 with SMTP id 586e51a60fabf-287c1dddaecmr7910812fac.20.1728317872863; Mon, 07 Oct 2024 09:17:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ron Johnson Date: Mon, 7 Oct 2024 12:17:41 -0400 Message-ID: Subject: Re: backup To: pgsql-general Content-Type: multipart/alternative; boundary="000000000000df047a0623e55ce4" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000df047a0623e55ce4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Oct 7, 2024 at 11:48=E2=80=AFAM Andy Hartman wrote: > anyone use Powershell in an automated fashion to do DB backup? Would you > share your example? > PS can execute utilities, so using it as a wrapper for pg_dump and pg_restore (just like a bash script) is perfectly viable. --=20 Death to , and butter sauce. Don't boil me, I'm still alive. crustacean! --000000000000df047a0623e55ce4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Oct 7, 2024 at 11:48=E2=80=AFAM A= ndy Hartman <hartman60home@gm= ail.com> wrote:
anyone use Powershell in= an automated fashion to do DB backup?=C2=A0 Would you share your example?<= br>

PS can execute utilities, s= o using it as a wrapper for pg_dump and pg_restore (just like a bash script= ) is perfectly viable.

--
Death to <Redacted>, and butter sauce.
Don't boil me, I= 'm still alive.
<Redacted> crustacean!
--000000000000df047a0623e55ce4--