coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: itgl72 on July 21, 2009, 04:56:58 PM

Title: Moving from one directory to another same server.
Post by: itgl72 on July 21, 2009, 04:56:58 PM
I'm working on an upgrade from .18 to .25 right now and typically I make a backup of a site and DB on the same server for testing then edit the config file to reflect the change. For example, in joomla I CTRL C then CTRL V (copy paste) the DB folder and Joomla folder, then edit a config file to change DB and directory paths, etc.

I'm having trouble figuring this same process with coppermine? NOTE: This is a windows server and I have desktop access.

What's the best way to to make a working backup of your coppermine in a different directory with a copy of the DB? Is there a folder I should edit that points to the path and database like in joomla?


Title: Re: Moving from one directory to another same server.
Post by: phill104 on July 21, 2009, 05:38:05 PM
There are many threads on moving server if you use the search facility of the forums or even google. The same rules apply and you should find it easy.

Not related to initial install so am moving to the correct board.
Title: Re: Moving from one directory to another same server.
Post by: itgl72 on July 21, 2009, 05:45:02 PM
To be clear, I did search. However most of it is moving from one server to another. I want to stay on same server and just move to another directory.

Title: Re: Moving from one directory to another same server.
Post by: Fabricio Ferrero on July 21, 2009, 05:57:56 PM
Same advice applies. Use the search feature next time.

To achieve what you're looking for, just move all the files to the new folder and change the url in config panel.
Title: Re: Moving from one directory to another same server.
Post by: Joachim Müller on July 21, 2009, 06:06:49 PM
Quote from: Fabricio Ferrero on July 21, 2009, 05:57:56 PM
To achieve what you're looking for, just move all the files to the new folder and change the url in config panel.
That's the explanation for the move. To backu up, you need to copy folders and files and you need to create a database dump. But as suggested: this has been explained countless times already.
Title: Re: Moving from one directory to another same server.
Post by: itgl72 on July 21, 2009, 06:13:31 PM
But how do you make the backup coppermine look at the backup database instead of the original database?
Title: Re: Moving from one directory to another same server.
Post by: phill104 on July 21, 2009, 06:18:03 PM
Look at the file include/config.inc.php

All of this info is in the docs and on numerous threads on the forum. Take your time to have a look around the forum and the docs as it will save you a lot of time in the future.
Title: Re: Moving from one directory to another same server.
Post by: itgl72 on July 21, 2009, 07:09:08 PM
Quote from: Phill Luckhurst on July 21, 2009, 06:18:03 PM
Look at the file include/config.inc.php

This was the file I was looking for thanks.

Again, I can search, but I mis-read the content found. I was looking at the config.php and admin.php in the root folder, and missed that it was in the include folder. A simple over sight, very busy here, like everyone else too :-)