Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Transferring user accounts  (Read 2631 times)

0 Members and 1 Guest are viewing this topic.

jcarpio

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Transferring user accounts
« 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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Transferring user accounts
« Reply #1 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Transferring user accounts
« Reply #2 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

Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.