• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

psadump not working without postgres?

F

fuzzball

Guest
I have a standard plesk license with no postgres support. When I try to run psadump it stops because it says postgres is not configured. Can anyone tell me how to get around this so I can back up my server?

Here's exactly what the script says from start to finish:

[root@srv1 bin]# ./psadump -f /home/root/systembackup/ -z --nostop --nostop-domain

===============================================================================

Attempt to connect to MySQL server ... done

===============================================================================


===============================================================================

Checking packages installation ... done
Postgres is not configured (unable to define pg admin login and password).
Requested method is not supported or the file '/home/root/systembackup/' corrupted
 
Any ideas at all here? Backup is a very basic function, this should work.

Or can anyone tell me the most complete way to back everything up manually if I can't use the psadump script?
 
This the command I use without problem:

./psadump -F -f /home/backup/$(date +%F) -z

If it doesn't find PostGRES it will just skip it.

AFAIK, the ROOT homedir is not in /home but /, make sure your path is to its destination is correct.
 
Back
Top