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: Moving from one directory to another same server.  (Read 3961 times)

0 Members and 1 Guest are viewing this topic.

itgl72

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Moving from one directory to another same server.
« 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?


Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Moving from one directory to another same server.
« Reply #1 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

itgl72

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Moving from one directory to another same server.
« Reply #2 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.

Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Moving from one directory to another same server.
« Reply #3 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.
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Moving from one directory to another same server.
« Reply #4 on: July 21, 2009, 06:06:49 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.
Logged

itgl72

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Moving from one directory to another same server.
« Reply #5 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?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Moving from one directory to another same server.
« Reply #6 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

itgl72

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Moving from one directory to another same server.
« Reply #7 on: July 21, 2009, 07:09:08 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 :-)
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.