Transferring user accounts Transferring user accounts
 

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

Transferring user accounts

Started by jcarpio, October 10, 2004, 01:41:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jcarpio

I have to move my Coppermine install to another pc, because the install is on a pc that has *two* failing harddrives, so before they give I am hoping to move the registered user accounts and any needed data.

Should I just backup the entire Coppermine directory and transfer it to the new pc and how do I handle the MySQL database?  If I am able just to transfer over the user accounts and downloaded pics / videos this would be a great start.

I started with the recommended suggestions within the FAQ (include/conifig.inc.php, albums...).

Thanks,
Jeff

kegobeer

Yes, can copy the entire Coppermine directory, and make a backup of your MySQL database using a tool like phpMyAdmin.  Once on your new computer, restore the database using phpMyAdmin and everything should be ok.  If you put the files in a different location, you'll have to go thru and change the paths in your database so everything matches.

phpMyAdmin comes with good documentation, but you can search google for phpMyAdmin if you need more specific help with that tool.  It's a pretty easy process.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

jcarpio

Thank you ... KegoBeer ...

I didn't use the phpMyAdmin software, but I used these commands:  mysql --opt -u dbname -p cgp132 > /tmp/cpg.bak.dump (to backup the database) and mysql --opt -u dbname -p cgp132 < /tmp/cpg.bak.dump (to transfer the database).  Of course I had to scp it over to the new machine.

Thanks again for your help.

Jeff