Thread: backup

backup

From
Andy Hartman
Date:
anyone use Powershell in an automated fashion to do DB backup?  Would you share your example?

 Thanks.

Re: backup

From
Adrian Klaver
Date:
On 10/7/24 08:48, Andy Hartman wrote:
> anyone use Powershell in an automated fashion to do DB backup?  Would 
> you share your example?

Search engine of your choice: "powershell postgresql backup script"

Using DuckDuckGo I see 6 relevant entries right of the top.

> 
>   Thanks.

-- 
Adrian Klaver
adrian.klaver@aklaver.com




Re: backup

From
Ron Johnson
Date:
On Mon, Oct 7, 2024 at 11:48 AM Andy Hartman <hartman60home@gmail.com> 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.

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

Re: backup

From
Muhammad Usman Khan
Date:

On Mon, 7 Oct 2024 at 20:48, Andy Hartman <hartman60home@gmail.com> wrote:
anyone use Powershell in an automated fashion to do DB backup?  Would you share your example?

 Thanks.

Re: backup

From
Andy Hartman
Date:
Thanks, I'll check it out. 

On Mon, Oct 7, 2024 at 11:25 PM Muhammad Usman Khan <usman.k@bitnine.net> wrote:

On Mon, 7 Oct 2024 at 20:48, Andy Hartman <hartman60home@gmail.com> wrote:
anyone use Powershell in an automated fashion to do DB backup?  Would you share your example?

 Thanks.