Author Topic: Mambo Migration  (Read 8668 times)

0 Members and 1 Guest are viewing this topic.

Offline Stephen

  • Board Veteran
  • *****
  • Posts: 5996
  • Gender: Male
    • Banbridge Academy Online
  • Speciality: Black Neck sixth Dan - No Kan Do
Mambo Migration
« on: February 07, 2006, 10:38:33 AM »
We recently were building  Mambo intranet/ internet sites. My HoD made the intranet site live within the school before we actually had finished working on it. Naturally I didnt want my changes to the site to show up until I was sure they were working correctly so I created a test site. However I had to migrate the intranet site to my test site before I could start developing it.



The easiest way I have found so far, and if anyone knows any way that is better please post it, is as follows.



1. download and install the component com_dbadmin - this component allows you to backup and restore your database file

    (I would recommend saving your file to your workstation in a Gzip format.)



2. Backup your site database to your workstation



3. FTP your entire site to a sub directory on your workstation



4. Remove the configuration.php file from the root directory of the site you just copied to your workstation (not your actual site), I also remove the configuration.php-dist file but I dont think it is neccessary.



5. FTP the site to the new location



6. Run your mambo administrator panel and restore the sites database to the new location



I have found that for some reasons you get silly errors for the first day but the next day everything is fine.



Note: you do of course have to have com_dbadmin installed in both mambo sites. I would recommend the first time doing this do it as a test run, then the only thing you can muck up would be the test site as you change nothing on your main site.
One looks back with appreciation to the brilliant teachers, but with gratitude to those who touched our human feelings. The curriculum is so much necessary raw material, but warmth is the vital element for the growing plant and for the soul of the child.
Carl Jung

Offline casper

  • Administrator
  • Board Veteran
  • *****
  • Posts: 5405
  • Gender: Male
    • http://www.niaviation.co.uk
Mambo Migration
« Reply #1 on: February 07, 2006, 11:17:28 AM »
Does your intranet work of an internal server? If so how do you get it integrated with the C2k system?
Northern Ireland Aviation Forum and Gallery
Aviation Photos
I don't think you're stupid, I think what you do is stupid.

Offline Stephen

  • Board Veteran
  • *****
  • Posts: 5996
  • Gender: Male
    • Banbridge Academy Online
  • Speciality: Black Neck sixth Dan - No Kan Do
Mambo Migration
« Reply #2 on: February 07, 2006, 12:04:42 PM »
We use the HP hosting service for the intranet and internet. Although my head of department has told me you can integrate an internal server but it has to be done by C2k for loads of cash. He was on tip of doing this in his last school.



The HP service to use can be annoying at times, particulary when you cant work from home and we would rather have a seperate web server here but we decided in the end to go for the HP choice (as at the time we got an offer of being part of the trial service).
One looks back with appreciation to the brilliant teachers, but with gratitude to those who touched our human feelings. The curriculum is so much necessary raw material, but warmth is the vital element for the growing plant and for the soul of the child.
Carl Jung

Offline casper

  • Administrator
  • Board Veteran
  • *****
  • Posts: 5405
  • Gender: Male
    • http://www.niaviation.co.uk
Mambo Migration
« Reply #3 on: February 07, 2006, 12:07:42 PM »
I didn't know HP offered this service - must look into it. I've used mambo on a number of sites and it would be perfect for an intranet.
Northern Ireland Aviation Forum and Gallery
Aviation Photos
I don't think you're stupid, I think what you do is stupid.

Offline casper

  • Administrator
  • Board Veteran
  • *****
  • Posts: 5405
  • Gender: Male
    • http://www.niaviation.co.uk
Mambo Migration
« Reply #4 on: February 07, 2006, 12:17:16 PM »
In fact when I can get some time I'm going to upload Mambo as the frontend to this site. The site will then contain tips and advice that have been posted in this forum. The forum will then become a sub-section of the site - if that makes sense :)
Northern Ireland Aviation Forum and Gallery
Aviation Photos
I don't think you're stupid, I think what you do is stupid.

Offline Stephen

  • Board Veteran
  • *****
  • Posts: 5996
  • Gender: Male
    • Banbridge Academy Online
  • Speciality: Black Neck sixth Dan - No Kan Do
Mambo Migration
« Reply #5 on: February 07, 2006, 12:29:43 PM »
How do you migrate your sites?
One looks back with appreciation to the brilliant teachers, but with gratitude to those who touched our human feelings. The curriculum is so much necessary raw material, but warmth is the vital element for the growing plant and for the soul of the child.
Carl Jung

Offline casper

  • Administrator
  • Board Veteran
  • *****
  • Posts: 5405
  • Gender: Male
    • http://www.niaviation.co.uk
Mambo Migration
« Reply #6 on: February 07, 2006, 12:35:06 PM »
I don't. They're all unrelated sites. Never had a reason to move to another server.
Northern Ireland Aviation Forum and Gallery
Aviation Photos
I don't think you're stupid, I think what you do is stupid.

Offline Stephen

  • Board Veteran
  • *****
  • Posts: 5996
  • Gender: Male
    • Banbridge Academy Online
  • Speciality: Black Neck sixth Dan - No Kan Do
Mambo Migration
« Reply #7 on: February 07, 2006, 12:38:22 PM »
on HP web Hosting look at http://www.c2kni.org.uk/schools/hosting.htm#hp



I was trying to find a copy of the details and cost for you but cant find where I put it. At the minute the Frontpage extensions are not working but they have promised they willo as soon as they can get northgate to change some directory permissions to allow Frontpage to write them.
One looks back with appreciation to the brilliant teachers, but with gratitude to those who touched our human feelings. The curriculum is so much necessary raw material, but warmth is the vital element for the growing plant and for the soul of the child.
Carl Jung

ballsricky

  • Guest
Mambo Migration
« Reply #8 on: February 07, 2006, 03:16:54 PM »
If you install a webserver on the local side of a machine and leave it to run does this not get around having to pay c2k?



I am not sure but I can't see how you would be breaking any of their rules as its their machine thats connected to the network.

ballsricky

  • Guest
Mambo Migration
« Reply #9 on: February 07, 2006, 08:56:32 PM »
I never used mambo before and started doing a bit of reading after your post.



I have a couple of questions if you could help me out.



You mentioned that you are using mambo on both your intranet and external website, do you have to run two instances of this or how does it work?



I was sent a copy of a room booking system by a friend of mine, open source, using php and mysql.  do you know if the HP service would allow this to be run on the intranet site?



If this worked I think I could talk the bursar into spending the money.  Would mean I could set up booking for minibus, av equipment etc. instead of the current system with bits of paper being handed about.

Offline Stephen

  • Board Veteran
  • *****
  • Posts: 5996
  • Gender: Male
    • Banbridge Academy Online
  • Speciality: Black Neck sixth Dan - No Kan Do
Mambo Migration
« Reply #10 on: February 08, 2006, 12:48:46 PM »
You mentioned that you are using mambo on both your intranet and external website, do you have to run two instances of this or how does it work?

With HP you control your site using Plesk. In the case where you are using both Intranet and internet you can have 2 seperate plesk accounts for the 2 seperate sites. In the Plesk console you have an applications button which allows you to install whatever extra applications HP have allowed - mambo being one of them. So in effect I have two sites on the intranet site I have installed mambo into 2 seperate areas 1. on my main what the people see page and 2. in a sub domain which I use for testing new modules and experimentation. On the internet site I have only installed mambo once as I can use the test area in my intranet site for rough work.



I was sent a copy of a room booking system by a friend of mine, open source, using php and mysql. do you know if the HP service would allow this to be run on the intranet site?

Yes you can use php and mysql, mine is using active server pages and an access database. At the moment there are 6 Site Applications :- bbclone - counter with features, 2 versions of mambo, osCommerce - online shop solution, phpBB -web forum (that should interest Casper), phpBook - simple guestbook.



If you want to check out the school site that the HoD and myself just finished (if they ever get finished) you'll find the link on my profile. We started the site at the start of January and finished it by the start of Feb. However we are of course keeping our eyes open for better modules and ideas.





It is useful to note I have set up sub domains for the UVI and LVI (or years 13 & 14) pupils individually to allow them use for their web site projects. For this to work right you do need to add virtual directories and reset the permissions for the users so the databases can be written to properly. If you get to that stage I will make out a set of notes on how to make a students subdomain (I intend doing it for myself for setting up next years lot) and will either paste the instructions to here or if I include screen shots post an addy where it can be downloaded from.

If this worked I think I could talk the bursar into spending the money. Would mean I could set up booking for minibus, av equipment etc. instead of the current system with bits of paper being handed about.
One looks back with appreciation to the brilliant teachers, but with gratitude to those who touched our human feelings. The curriculum is so much necessary raw material, but warmth is the vital element for the growing plant and for the soul of the child.
Carl Jung