forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: dubie on November 27, 2003, 03:08:40 am

Title: Changing hosting providers
Post by: dubie on November 27, 2003, 03:08:40 am
I plan to change hosting providers. Is there an easy way to transfer to new hosting provider? Has anyone done this and what is involved in transferring coppermine to new server. Thanks for the help.

-dubie
Title: Changing hosting providers
Post by: Joachim Müller on November 27, 2003, 07:53:27 am
GauGau
Title: Changing hosting providers
Post by: dubie on November 28, 2003, 01:57:44 am
Thanks for your time and help. I will give it a whirl.

-Andrew
Title: Re: Changing hosting providers
Post by: Tranz on January 08, 2005, 04:48:16 am
This should be a sticky but I am unsure where...
Title: Re: Changing hosting providers
Post by: Joachim Müller on January 08, 2005, 05:19:40 am
let's put this into the FAQ - could you write a comprehensive article, commit it and let me know - I'll update the faq on the website accordingly. Another option might even be a tutorial video *hint* ;)...

Joachim
Title: Re: Changing hosting providers
Post by: Rory on January 10, 2005, 05:48:31 am
  • Backup your files: FTP-download your complete coppermine-folder to your hard drive
  • use a tool like phpMyAdmin to get a dump (backup) of your mySQL database entries (see http://coppermine.sourceforge.net/faq.php?q=BackupDatabase#BackupDatabase )
  • verify your backup is working: check if the mySQL-dump contains all data (open the zipped dump file and use a text editor to view it)
  • on the new server: FTP-upload your coppermine-folder to the new server
  • CHMOD the folder /albums to 755 or 777 (depending on your server config]
  • install phpMyAdmin onto your new server
  • restore the mySQL table by running the queries of the dump files you created in step 2
  • test-drive your coppermine gallery - you should be done
GauGau

hello, i am also trying to do this but don't quite understand how to get my exported database onto my new provider using phpmyadmin. also do i not need to tell coppermine where my new mysql server is?
Title: Re: Changing hosting providers
Post by: Joachim Müller on January 10, 2005, 09:43:18 am
download the dump your created using phpMyAdmin to your pc. Then install phpMyAdmin (if it doesn't already exist) on the new server and upload the dump file to it (using the "SQL" button in phpMyAdmin's user interface), or copy'n paste the contents into the text field.
To "tell" coppermine on your new server what mySQL tables to use, edit the file include/config.inc.php and enter the new mySQL connection data there.

Joachim
Title: Re: Changing hosting providers
Post by: Tarique Sani on January 11, 2005, 06:19:43 am
Lets Wiki this ;)
Title: Re: Changing hosting providers
Post by: LMalnati on April 29, 2005, 06:38:31 am
Thanks everyone who contributed above.  I'm switching my host and this well-documented transfer process will be quite handy.
Title: Re: Changing hosting providers
Post by: LMalnati on May 01, 2005, 03:56:11 am
People should also be aware they can load MySQL Admin to do a backup of there databases.  If you do not already have phpmyadmin and you need to backup up your dbs this may be a good option since installing phpMyadmin is a little more involved. 

In any event its another choice for backup