pmx-database - The service control program for PureMessage databases.
pmx-database start pmx-database stop pmx-database restart pmx-database status pmx-database analyze pmx-database vacuum pmx-database dump <filename> pmx-database import <filename>
pmx-database
is a generic control program for the PureMessage PostgreSQL
database server. It is used to start, stop and monitor the database server.
The database server is defined by the pmx_db
variable in pmx.conf, or
by the $PMX_DB
environment variable.
Run pmx-database
as the PureMessage user (by default 'pmx'). You can also
run pmx-init
as root, or from system startup and shutdown scripts.
The following sub-commands are recognized:
Note that the filename must be writeable by the PostgreSQL user. This can be done by either dumping to a file in /tmp (or another location that is world writeable), or manually changing the permissions.
Example: $ touch filename $ chmod a+w filename $ pmx-database dump filename
Copyright (C) 2000-2009 Sophos Group. All rights reserved. Sophos and PureMessage are trademarks of Sophos Plc and Sophos Group.