?
Solved

Need help on taking backup in postgress SQL -- Challenging question

Posted on 2016-09-24
4
Medium Priority
?
81 Views
Last Modified: 2016-09-27
Hi ,

Iam new to PostGress SQL , I need to write a batch script in windows to take backup . The script should accept the date as an input and take the backup for that day.

Iam sorry , Iam asking for the code , any help is really appreciated.
0
Comment
Question by:sam_2012
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 17

Accepted Solution

by:
John Tsioumpris earned 2000 total points
ID: 41813942
Why bother with scripting when there are free tools that can do the job effortlessly.
However if you insist then the Postgre Wiki has guides for Linux and Windows
1
 

Author Comment

by:sam_2012
ID: 41815241
Thanks .  I need to write an script which takes backup for a given day . Is there any script which can help me in this regard.
0
 
LVL 17

Expert Comment

by:John Tsioumpris
ID: 41815359
With pgAdmin you can create a job backup and get the script it uses
0
 

Author Closing Comment

by:sam_2012
ID: 41819146
awesome
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you receive another warning that your shared drive is almost full and you have asked your users to clean out old files again and again, here is a single command that may help. This command will place all the files that have not been used rec…
Many developers have database experience, but are new to PostgreSQL. It has some truly inspiring capabilities. I have several years' experience with Microsoft's SQL Server. When I began working with MySQL, I wanted a quick-reference to MySQL (htt…
Steps to create a PostgreSQL RDS instance in the Amazon cloud. We will cover some of the default settings and show how to connect to the instance once it is up and running.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month11 days, 6 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question