Deleted database, trying to reintegrate Deleted database, trying to reintegrate
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Deleted database, trying to reintegrate

Started by Brenn, December 15, 2004, 10:24:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Brenn

As a newbie, this might be a silly question and may be impossible to resolve but:

I "accidentally" deleted my MySQL database on my server that ran my Coppermine gallery
I went back to my server's control panel and re-created the same database
Of course, now it shows a blank gallery with none of my old albums, users or even template.
My files all still exist intact on my server.

Is there any way to "reintegrate" the database with the old files without having to reupload all the images, users, template, etc.?

Thank you!

Brenn

Casper

You should ask your host if they have a backup of your database.  It is always wise to regularly make a copy (dump) for just such times.

If they have a backup, you will be able to use that to repair your database.

Without the database, you will have to add the pics again, using the batch add tool.  This of course will lose all previous views, comments etc.
There is no way to re-install your users without a backup.  You will have to ask them to re-register.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Brenn

Thank you for your prompt reply. I'm on my way to do as you instructed.

Your resolve is always appreciated.

Thank you again.

Brenn