How to view template module positions in Joomla! 2.5?

In Joomla! 1.5.x we used to append ?tp=1 at the end of the URL (i.e. http://www.yourdomain.com/index.php?tp=1) to view the module positions of the current template. In Joomla! 2.5, its same but you need to enable "Preview Module Positions".   Following steps Read more

Joomla! vs WordPress Security Updates in 2011 (The number game)

This article gives a detail statistics on Joomla! and WordPress security updates in 2011. Both CMS went through re-design and re-modeling process in 2011. Joomla! was in the process of developing 1.7/2.5 which was released in January 2012 and Read more

Solution to GoDaddy .htaccess Problem

  Recently, Gododdy hosting is having various issues with .htaccess and its nightmare for Joomla! administrator if you are running SEF URL or using product like sh404SEF.       Please try following possible solution to address your problem.   In Joomla! Turn OFF all the Read more

Simple Joomla! Replication Procedure

There are various ways to replicate Joomla! environments we can use 3rd party tools like XCloner, etc… In this article, I am going to show rather simple way to achieve the replication of Joomla! or any other CMS. Background: We Read more

Joomla! 1.7 to Joomla! 2.5

I know there are auto update tools out there on Joomla! extension directory to update Joomla! from 1.7.X to 2.5.X but I will recommend everybody to follow instruction mentioned by Joomla! community. http://docs.joomla.org/Upgrading_from_an_existing_version If you have used utilities like Joomla! Pack Read more

Akeeba Backup Review

I have been using Akeeba Backup for more than an year now. Here is my analysis of the product. Advantages: Akeeba backup is wonderful tool if you are want to backup your Joomla! CMS on the fly. This is where I Read more

backup and restore

Simple Joomla! Replication Procedure

There are various ways to replicate Joomla! environments we can use 3rd party tools like XCloner, etc… In this article, I am going to show rather simple way to achieve the replication of Joomla! or any other CMS.

Background: We are replicating server1 to server2

Assumptions: Both servers have Joomla! installed up and running

Process:

Step 1 (Server2): Rename configuration.php to configuration.server2

Step 2 (Server1): Backup file system to a *.tar file. We will name it backup_server1_ddmmyyyy.tar

Step 3 (Server1): Backup database of Server1. We will name it db1

Note: You can achieve step 2, and step 3. Using following bash script

Sample Script Link

Step 4 (Server2): Drop all tables in db2

Note: You can use following sample script for Step 4

Sample Script Link

Step 5 (Server2): Extract backup_server1_ddmmyyyy.tar (overwrite mode!)

Step 6 (Server2): Restore db1 using db2 connection string

Note: You can use following script for Step 5 and Step 6

Sample Script Link

Step 7 (Server2): Delete configuration.php

Step 8 (Server2): Rename configuration.server2 to configuration.php

This is one way to replicate or sync to Joomla! websites. There can be many solutions if you know a better tool or way please share.

 

Posted on by Hassan Janjua in CMS, Joomla!, WordPress Leave a comment
  • Hassan Janjua is a Sacramento, CA, USA based web designer specializing in Joomla! development. Hassan is involved in many aspects of the Joomla! and open source content management community. Hassan holds project manager postion with JoomClan.com where he is managing 3rd party Joomla! extensions like JoomRSS, JoomListings, JoomClip, and JoomDocs. Hassan has more than 8 years of experience in Mambo and Joomla!.

    Let me know what you think

    You can contact me via email button below or submit online

    Feedback Form