Re: Recommended way to copy database files on Windows OS (to performfile system level backup) - Mailing list pgsql-general

From Allan Kamau
Subject Re: Recommended way to copy database files on Windows OS (to performfile system level backup)
Date
Msg-id CAF3N6oT2rVvTujm7Zho0JVa8duEx9nZO0V4X5xkk3iEEn2je6A@mail.gmail.com
Whole thread Raw
In response to Recommended way to copy database files on Windows OS (to perform filesystem level backup)  (Yashwanth Govinda Setty <ygovindasetty@commvault.com>)
Responses Re: Recommended way to copy database files on Windows OS (to perform file system level backup)
List pgsql-general


On Mon, May 14, 2018 at 2:22 PM, Yashwanth Govinda Setty <ygovindasetty@commvault.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.

pgsql-general by date:

Previous
From: James Keener
Date:
Subject: Re: Recommended way to copy database files on Windows OS (to performfile system level backup)
Next
From: Christoph Moench-Tegeder
Date:
Subject: Re: Recommended way to copy database files on Windows OS (to performfile system level backup)