Hello,

I need to backup or dump the database to a .bak file, it´s Request Tracker 
4.0.7.
Frits i tried this:
root@rt:~# pg_dump rtdb > rtdb-backup
pg_dump: [archove (db)] connection against database "rtdb" failed: FATAL:  role 
"root" does not exist

Then i tried:
root@rt:~# su postgres
postgres@rt:/root$ pg_dump rtdb > rtdb-backup
bash: rtdb-backup: Access denied

What do i have to do to create a backup of the database?



Martin Petersson
IT-Konsult

+46 (0)522 980 28, [email protected]<mailto:[email protected]>, 
www.uanet.se<http://www.uanet.se/>
Gustaf Mattssons Väg 2, 451 50 Uddevalla, Orgnr: 556702-4095

[cid:[email protected]] <http://www.uanet.se/>
<http://www.uanet.se/>

---------
RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
* Los Angeles - September, 2016

Reply via email to