Re: Recommended way to copy database files on Windows OS (to perform file system level backup)

From: Allan Kamau <kamauallan(at)gmail(dot)com>
To: Yashwanth Govinda Setty <ygovindasetty(at)commvault(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, Girish Rao <grao(at)commvault(dot)com>
Subject: Re: Recommended way to copy database files on Windows OS (to perform file system level backup)
Date: 2018-05-14 13:48:45
Message-ID: CAF3N6oT2rVvTujm7Zho0JVa8duEx9nZO0V4X5xkk3iEEn2je6A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, May 14, 2018 at 2:22 PM, Yashwanth Govinda Setty <
ygovindasetty(at)commvault(dot)com> wrote:

> Hi all,
>
>
>
> We are facing this problem while performing file system level backup of
> database files:
>
> As each database will form a directory inside Base directory which
> consists of files representing the tables, when some tables are dropped
> during backup, *We get error while copying since the files do not exist
> anymore*.
>
>
>
> So we would like to know how you recommend copying PostgreSQL database
> files in Windows OS to perform file system level backups.
>
> (For Example – The recommended way in Linux is to use tar format.)
>
>
>
> Thanks,
>
> *Yashwanth*
>
>
> ***************************Legal Disclaimer***************************
> "This communication may contain confidential and privileged material for
> the
> sole use of the intended recipient. Any unauthorized review, use or
> distribution
> by others is strictly prohibited. If you have received the message by
> mistake,
> please advise the sender by reply email and delete the message. Thank you."
> **********************************************************************
>

An easy way to perform backup of your data is to use PostgreSQL's very own
pg_dump utility.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christoph Moench-Tegeder 2018-05-14 14:14:27 Re: Recommended way to copy database files on Windows OS (to perform file system level backup)
Previous Message James Keener 2018-05-14 13:43:36 Re: Recommended way to copy database files on Windows OS (to perform file system level backup)