Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Backup Postgresql

Status
Not open for further replies.

taneujin

MIS
Aug 14, 2001
61
SG
Hi, I have postgresql running on RH7.2 I would like to know how I can do backups in the following ways:

1) A dump to a file

2) Using arcserve 7.

I am a very new to Arcserve and DBs. Pardon my ignorance.
 
Postgresql can do dumps itself using the following -

pg_dump -f dumpfile databasename

you should do this as your postgres super user.

you may have to specify the host and port which you can do with the options -h and -p respectively

Not too sure about arcserve as I've never used that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top