Moving to another server

classroombookings doesn't have a built-in process for moving an installation to another server but it can be done manually fairly easily using the command line or other tools.

Summary

  • On the source server:
    • Backup/export the database to a .sql file (using mysqldump)
    • Make a copy of all the files in the installation folder.
  • On the destination server:
    • Create a database and user (similar to the installation process).
    • Import the .sql file (using the mysql command).
    • Place the files in the installation folder.
    • Reset file/folder permissions, if necessary. (See installation).
    • Edit the local/config.php file:
      • Add your new database credentials.
      • Update the URL if it has changed.