You are not logged in.
Pages: 1
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
Copy MySQL database(s)? :-)
Offline
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
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
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
Pages: 1