Suggestion

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
-

Suggestion

Post by - »

I would like to see a backup-restore feature added to CMSMS.

Thanks.
User avatar
sjg
Power Poster
Power Poster
Posts: 310
Joined: Thu Jan 27, 2005 5:11 pm

Here ya go...

Post by sjg »

I just added a module to the Wiki for this very purpose:

This module provides two functions:
  1. It will dump your database into a flat file, which can then be copied somewhere offsite in order to back up your CMS site.
  2. It will take a dump file, and restore your CMS database to the state at the time the dump was made.

Disclaimer: This Module has only been tested under a single instance of MySQL. It has not been tested under any other database. Bugs and/or user error CAN RESULT IN LOSING YOUR DATA. Test in a non-production environment, and manually back up your data first!

Disclaimer part 2: "The most likely way for the world to be destroyed, most experts agree, is by accident. That's where we come in; we're computer professionals. We cause accidents." -- Nathaniel Borenstein
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
Post Reply

Return to “Developers Discussion”