These documentation pages are currently under construction and their structure is not ready yet.

As soon as a sufficient number of pages is present, the site navigation will be shown.


Ensure that your installation is properly backed up

In order to backup your PhPeace installation, you should make sure that both your database and application files are regularly backed up.


MySQL backup can be executed with the command line tool mysqldump.
A typical backup command would be

# mysqldump –u myusername -pmypassword --add-drop-table mydatabase | gzip > mydatabase.sql.gz

Depending on your requirements, you may want to introduce binary logging in MySQL in order to keep a copy of SQL statements between scheduled backups.

Application files

All uploaded files are stored in the uploads directory under your PhPeace installation.

Therefore, strictly speaking, all you need to backup is the configuration file (custom/config.php) and the uploads directory, and of course this can be done in different way (full, incremental, differential) depending on your backup strategy.

However, it is suggested to backup the whole installation directory. Although they can be reinstalled, application files don't add too much weight to the overall backup size and restoring the system can be much easier this way.

Powered by PhPeace 2.5.4