CpG 1.4 backup -> restore in a new domain... how??? CpG 1.4 backup -> restore in a new domain... how???
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

CpG 1.4 backup -> restore in a new domain... how???

Started by sotris99, March 14, 2006, 10:56:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sotris99

I have one site that hosts a cpg and only that. I would like to move it in a new location but i do not want to lose the comments... How am i suppose to do that?

Joachim Müller

backup all your files that exist within the coppermine folder on your server, using your ftp app. Create a mysql dump using a tool like phpMyAdmin or mySqlDumper. Details: http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#BackupDatabase

On the new domain, restore all your files you backed up in the first step, and restore your database (or rather: fill a fresh database with the dump you created previously). Then edit include/config.inc.php with a plain text editor to reflect the new server's mysql setup. Finally go to coppermine's config and change "URL of your coppermine gallery folder (no 'index.php' or similar at the end)". That's it.

Has been asked quite often - in the future, please search before posting.