coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: FinnK on September 14, 2004, 07:04:24 PM

Title: Moving gallery to another domain/url
Post by: FinnK on September 14, 2004, 07:04:24 PM
Hi
Is it possible to move a complete gallery from one webhotel to another in a straightforward way? Both have PHP / MySql. I suppose the question is how to move the MySql database and get it to work on another server/domain.

Please give me some ideas on how difficult this may be. I am not at home with phpAdmin or manipulating with databases, but please try to lead me in the right direction on what to get into to be able to do what is needed.

Thanks

FinnK
Title: Re: Moving gallery to another domain/url
Post by: Nibbler on September 14, 2004, 07:12:30 PM
You need to make a dump/export of the database and then restore it on the other server. Then change the settings in your include/config.inc.php to match the new database info.
Title: Re: Moving gallery to another domain/url
Post by: FinnK on September 14, 2004, 07:25:04 PM
OK I think I get the idea - but all folders/files in wich Coppermine now resides can be moved as is to the new location? - by FTP?
Title: Re: Moving gallery to another domain/url
Post by: Casper on September 14, 2004, 07:33:58 PM
Yes, just ftp them.  You are advised of course to do a backup of your albums.
Title: Re: Moving gallery to another domain/url
Post by: FinnK on September 14, 2004, 07:46:46 PM
Thanks !

The work will not start until later this fall. I may come back with more questions if I hit the wall....

Title: Re: Moving gallery to another domain/url
Post by: Joachim Müller on September 15, 2004, 09:22:19 AM
sure. If possible, make your conversion while you still have access to both webspaces, so you can get anything from your old webspace in case you forgot something. I recommend upgrading your existing install to cpg1.3.2, should make things easier as well, as it comes with a tool called "versioncheck" that will let you check if all mandatory and optional files are in place.

Joachim
Title: Re: Moving gallery to another domain/url
Post by: FinnK on September 20, 2004, 01:40:42 PM
I got the coppermine folders copied directly from my server to the new one - service of the new webhotel. Coppermine seem to work even if I have not modifyed any files as to where to look for the database! I rekon Coppermine still reads the database in the old site. (?)

Next step is to modify the nessesary files to get it to access the new location for the database...  I have tried to import the Tables Coppermine uses into the new database and I hope it will work when I correct the database name in the Coppermine files.

After Coppermine works I will consider to upgrade it to the latest version if it is straightforward. Its a long time since I have installed it and I dont remember wich mods I have made to it any longer. Thats why I hesitate....