[rt-users] How to backup/dump Postgre SQL

Martin Petersson martin at uanet.se
Fri Aug 5 15:25:27 EDT 2016


Thank you all very much.

This one did the trick. su - postgres

A little dash in between :)



Skickat fr?n min ? iPhone

5 aug. 2016 kl. 21:13 skrev Landon Stewart <lstewart at internap.com<mailto:lstewart at internap.com>>:

eg:
# su postgres
$ pg_dump rtdb -> /tmp/rtdb-backup

OOPS
# su postgres
$ pg_dump rtdb > /tmp/rtdb-backup

--
Landon Stewart
Lead Analyst - Abuse and Security Management
INTERNAP (r)
? lstewart at internap.com<mailto:lstewart at internap.com>
? www.internap.com<http://www.internap.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20160805/e3023e4f/attachment.html>


More information about the rt-users mailing list