Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2016-09-24
4
Medium Priority
?
90 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 19

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 19

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
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.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

609 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