Re: Backup

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Andy Hartman <hartman60home(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Backup
Date: 2024-10-18 18:30:40
Message-ID: d5a7ba8c-c7f9-4945-8505-c2cbc1a297fe@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/18/24 11:25 AM, Andy Hartman wrote:
> Windows Server 2022
>
> I would like a backup process similar to what I'm used to using in the
> mssql world if that's  possible with Postgres... I will be
> loading monthly archive data to Postgresql so that's why I probably only
> need once a backup .. once loaded data is just viewed thru an app... no
> updates..
>
> in mssql you create the .bak and easily restorable ....  that's what I'm
> looking for with Postgres
>

Then pg_dump for database backup:

https://www.postgresql.org/docs/current/app-pgdump.html

and pg_dumpall for entire cluster backup:

https://www.postgresql.org/docs/current/app-pg-dumpall.html

> thanks for replies..
>
>
>
> On Fri, Oct 18, 2024 at 1:00 PM Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com
> <mailto:adrian(dot)klaver(at)aklaver(dot)com>> wrote:
>
> On 10/18/24 09:52, Andy Hartman wrote:
>
> Reply to list also
> Ccing list.
>
> > Windows 22 and Postgres 16.4
> >
> Is that Windows Server 2022 or Windows 10/11 with the 22H2 update?
>
> You also need to provide a more detailed description of what you want
> the backup to do?
>
> >
> >
> > On Fri, Oct 18, 2024 at 12:04 PM Adrian Klaver
> > <adrian(dot)klaver(at)aklaver(dot)com <mailto:adrian(dot)klaver(at)aklaver(dot)com>
> <mailto:adrian(dot)klaver(at)aklaver(dot)com
> <mailto:adrian(dot)klaver(at)aklaver(dot)com>>> wrote:
> >
> >     On 10/18/24 05:39, Andy Hartman wrote:
> >      > I would like to use the closest thing to a mssql backup...
> >      >
> >
> >     As in?
> >
> >     Searching on 'mssql backup' returns a  lot of choices. You
> will need to
> >     be more specific on what you want to achieve. Also be
> specific about
> >     what versions of OS and Postgres you are using.
> >
> >     --
> >     Adrian Klaver
> > adrian(dot)klaver(at)aklaver(dot)com <mailto:adrian(dot)klaver(at)aklaver(dot)com>
> <mailto:adrian(dot)klaver(at)aklaver(dot)com <mailto:adrian(dot)klaver(at)aklaver(dot)com>>
> >
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)aklaver(dot)com <mailto:adrian(dot)klaver(at)aklaver(dot)com>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

  • Re: Backup at 2024-10-18 18:25:28 from Andy Hartman

Responses

  • Re: Backup at 2024-10-23 14:07:02 from Andy Hartman

Browse pgsql-general by date

  From Date Subject
Next Message Venkata Nori 2024-10-19 07:23:58 RE: Postgres installation is failing in mac
Previous Message Andy Hartman 2024-10-18 18:25:28 Re: Backup