On 15.10.20 22:04, Götz Reinicke wrote:
> But in the sogo database there is the for some entries the database URL saved,
> which is set in the sogo.conf.

Oh. Didn't know that. Sorry.


> So dumping the database on host „mysql-server01“ and importing it at
> „new-mysqlserver“ will break all entries!
> 
> This would only work, if the database server dose not has an other name. (I
> should have created an DNS alias for it in the past)

Maybe it is easier to replace the oldname in the dumpfile before
importing it rather than setting up DNS?

Something like:
sed -e 's/oldname/newname/g' dump.sql

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to