coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: jcarpio on October 10, 2004, 01:41:42 AM

Title: Transferring user accounts
Post by: jcarpio on October 10, 2004, 01:41:42 AM
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
Title: Re: Transferring user accounts
Post by: kegobeer on October 10, 2004, 02:07:46 AM
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.
Title: Re: Transferring user accounts
Post by: jcarpio on October 12, 2004, 05:10:23 AM
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