You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2008-04-14 16:34:51

bmw328ii
Member
Registered: 2008-01-23
Posts: 68

how to move ocs and glpi on a server

Hello,

we want to setup a new server for ocs and glpi.
All informations should be imported of the old server.
How can we solve this problem easiest way?
Any ideas?

Offline

#2 2008-04-15 15:00:59

KKill
Member
From: Prague
Registered: 2008-03-12
Posts: 11

Re: how to move ocs and glpi on a server

Copy MySQL database(s)? :-)

Offline

#3 2008-05-01 19:32:45

franjb68
Member
Registered: 2006-04-03
Posts: 46

Re: how to move ocs and glpi on a server

Hi!

We're having the same problem...

We are moving the installation to another server, with other access path. No way to change this.

The problem is that after copying the database all the links inside the data point to the old server.

I know, the solution is replace the old links with the new ones but... which tables should we update?

We've found the problem in the Knowledge Base (articles pointing to other articles) and in the ticket followups (links to KB articles or other tickets).

Are there other links we should take care of? Maybe the documents table?

Thanks,
Francisco


GLPI 0.70, Linux Fedora 4, Apache/2.2.0 (Unix), PHP/4.4.1,  MySQL 5.0.18

Offline

#4 2008-05-02 00:51:42

tomascohen
Member
Registered: 2007-07-23
Posts: 9

Re: how to move ocs and glpi on a server

For moving your install to another server you should do a mysqldump for your databases. If you encounter problems with URL's, you could open the dump in an editor (for example vim) and use regular expressions for replacing the old URL with new one.

For example:
vim glpidb.sql

:%s/<old url/path>/<new url/path>/g
:x

Good luck

Note: Moving OCS is not so straight forward too.

Last edited by tomascohen (2008-05-02 00:52:53)

Offline

#5 2008-05-02 11:54:52

franjb68
Member
Registered: 2006-04-03
Posts: 46

Re: how to move ocs and glpi on a server

Thank you very much.

I didn't realize that the result of a mysqldump is a plain text file. :-)

Thank you again!


GLPI 0.70, Linux Fedora 4, Apache/2.2.0 (Unix), PHP/4.4.1,  MySQL 5.0.18

Offline

Board footer

Powered by FluxBB