Transferring user accounts Transferring user accounts
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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