Can I reinstall concrete5 to a new location, but use an exising database?1 user found helpful
I made the reinstallation with some sort of one-click-installer and now when I open my site in a web browser I get concrete5's "Install concrete" page. Here's where the problem begins: when I enter the exsiting database's name and user/pass to the field, I get a message that I should install Concrete5 to an empty database..
Can I somehow manually install it to use the existing database? I already deleted the earlier installation of course. This is not a huge disaster because I can always re-enter the content, but that takes some time..
Then edit config/site.php and change the database info to your old database, That should get you back to where you were with your original install. You probably won't be able to log in so use the forgot my password field on the log in page and the site will email you a link to enter a new password
I'm just asking, because I just started thinking about what I should do in case of a disaster of some kind..
a) A zip of the entire directory structure, with everything except the files folder (done when site created and whenever a package is updated)
b) A zip of the files directory (done regularly if images etc are changing)
c) A mySql dump of the databse (possible through the C5 dashboard for small sites, but more reliable via phpMyAdmin for larger sites) (done regularly)
With a-c above, any C5 site can be backed up, moved and recreated. Though beware of database table case if moving a site from windows to linux.
a & b could be combined, but I find it easier to think of them as separate zips.
Can you not move all the files down to the root level from your sub-folder and then change your C5 config file to go to the root?