Joomla database migration - joomla

I have a Joomla website but I have to admit that it is a mess. I've played with files I shouldn't have been playing with. Therefore I'd like to start over with a fresh installation. But I also don't want to lose my content.
Will it be enough to tell the new installation to use the old database? Or will that break it?

You have 2 option
Start a new installation on the same database and use a different
PREFIX on tables (like newjoo_)
make a bck folder, move existent folders and file in it, copy new
file on the root of your FTP and use the OLD configuration.php file
(so you have new files and old db)
*with the last solution you have a fresh installation but you dont have all old installed extension. you have to reinstall them (and you could have some conflict with existent data)

Related

How to restore a website offline. using XCloner on Joomla thats run on Xampp

I am totally new to this stuff. I have installed Joomla on my windows pc to test my changes to the site before I try them on the actual site and mess things up.
I was given a backup using XCLONER. I installed xcloner but cant seem to restore the website.
I am using XAMPP.
I am also unsure where to place the directory where the restore file should be.
Any help will help. Any tutorials on this? again, just starting out with this stuff.
Thank you in advance.
There are so many references and tutorials out there:
Google
Also Joomla.org has adequate documentation for this.
I can't say exactly about how the XCloner works, but the general steps to replicate Joomla is:
Copy and place the files and folders at the new location
Download the database
Create a new database at the new host (your computer) and import the data from the one you downloaded.
Configure Joomla (configuration.php) to connect to the new local database (host,user, password, prefix -if changed).
At this point you should be able to run your site to the new location, but you probably want to change also the path for logs and tmp folders, to reflect the new location.

Moving Joomla + Virtuemart Installation

I have simply downloaded my joomla+virtuemart files from the server and the mysql file and set up a db, inserted the imported rows and updated the config.php file in joomla.
However, even after updating the configuration.php when I open my joomla installation my site (on the actual webhost opens up) as in example.com
I wanted it to work on localhost/joomla (where the downloaded files and modified configuaration resides).
I also have DELETED the .htaccess files to remove any redirections.
I also updated the virtue mart administratior/components/com_virtumart/virtuemark.cfg.php file's URL and secure url variables.
No matter what I do, it still opens up the example.com site instead of the localhost/joomla app directory
Any help is much appreciated.
Running on joomla 1.5.1
I thought it might be DB related so I exported the data to a php file through phpmyadmin and ran a check on example.com even on the sql file. But it didn't show up any either
Cheers
Dileep
Dileep,
There is an addon for migrating Joomla (and it's extensions) that we've had great success with in the past. I've moved sites dozens of times and to date, have had no big problems
It's called Akeeba Backup. There are free and paid versions and (last I checked) there are legacy versions still there for 1.5.x.
Combined with a package called Kickstart, you can backup and restore the entire site from one server to another with just a few clicks.
The website is akeebabackup dot com.
Migrating by hand, I've had mixed results. Use this software and you'll avoid those headaches.

Make a copy of a Joomla site to a new folder on the same database?

I need to make a copy of my Joomla site into a new directory on the same domain Because I need to migrate from version 1.5.9 to 2.5.25. (there's no upgrade from 1.5.9 to 1.7)
But when I copy into just another folder, do I then need to change the prefix of the database and tables in the database after copying? And how do I do so? Will there be any conflicts?
If you are cloning the website to another folder you will need to make a copy of the database and edit the configuration.php to point to the new DB otherwise you will have two sites using the same database - which is not good.
I'm puzzled as to why you would do this though, would it not be better to create a Joomla 2.5.3 website in a subfolder and then us SP Upgrade to port the data? Or maybe install JUpgrade into your 1.5 Joomla and have it create the 2.5.3 in a subfolder for you.
Either way you should update to 1.5.25 before doing anything (you can do this automatically using the free Akeeba AdminTools extension). https://www.akeebabackup.com/products/46-software/855-admintools.html
Take a look at this:
http://docs.joomla.org/Moving_the_site_among_directories/sub-directories
However I agree with the comment above: It's not a good idea.

Copy joomla folder - data is shared?

I installed joomla! 1.5 in a subfolder of my website root. Months later I decided to put the joomla site in the root folder, so I copied everything from the subfolder to the root folder. This worked, but I noticed something strange - the webite data is somehow shared between the two copies. For example, the visitors counter. When I click a few articles in my root joomla copy, I can see that the visitors counter has incremented. When I then enter my subfolder original installation of joomla, I see the counter showing the same value of the root folder copy of joomla. My questions are:
1. How is this happening, can I disable this connection between the two folders?
2. Suppose I choose to continue using the copy of joomla in the root folder without disconnecting the connection with the subfolder installation, am I going to encounter problems, or is it safe to just use the root folder copy?
Thank you very much!
Both copies are using the same database. You'll start running in to issues once you have added any extensions that make changes to the database. There is no need for the old files, just delete them.

What is the correct way of migrating a Magento installation from WAMP to an online domain?

Say i have a Magento installation which i've configured and developed on a WAMP server (perhaps also adding products, etc.), what is the correct way to migrate this to an online domain.
I had pretty good luck with this approach when I did it. The WAMP install was on my own box so I didn't use SSH on that side.
http://www.magentocommerce.com/wiki/groups/227/moving_magento_to_another_server
I did have a couple errors related to the new domain that their help desk were able to resolve by modifying a couple entries in my .htaccess file. But other than that it was pretty seemless.
I've also done a full backup/restore by simply copying the entire contents from one box to the other. Copying up the MySQL DB, and then I reran the install procedure by simply deleting the app/etc/local.xml file (which forces Magento to run re-install scripts).
The script asks you for the location of the DB, passwords, etc... all the data, products, order history etc, survives a reinstall.
Oh, and make sure to clear your cache/cache folders before you move everything. That saves a lot of head-aches later and reduces the size of files you have to copy.

Resources