Confixx-Dump von A nach B

Plesk, Confixx, Froxlor, SysCP, SeCoTo, IspCP, etc.
Post Reply
lorddarmage
Posts: 9
Joined: 2005-10-29 16:18
Location: Mönchengladbach

Confixx-Dump von A nach B

Post by lorddarmage »

Hallo,

bitte helft mal einem alten Mann über die Straße.

Ich habe aus Kostengründen meinen Rootserver gekündigt und möchte mein Confixx-Dump auf den RDS (großer vServer) importieren. Beides Confixx 3pro.

Wenn ich ./restore.pl verwende, dann bricht der mir den Import ab.

Code: Select all

45110:~/confixx # ./restore.pl --restore --dump 18.02.06_server2_confixx_backup.tgz --map 18.02.06_server2_confixx_backup.map --clean
Error: table 'allgemein' is empty
Work dir: /root/confixx/rstr_gnpbil
parsing configuration file: '/root/confixx/rstr_gnpbil/confixx_dump.conf'

The Confixx server contains data which will be removed due to using '--clean' option.
Are you completely sure, that you need to continue restoration and remove the date? [yes|NO] :yes
Parsing of map file: 18.02.06_server2_confixx_backup.map
parsing file '/root/confixx/rstr_gnpbil/confixx.xml'
Pre phase
Clean phase
launching confixx_updatescript.pl (clean phase)
Error: table 'allgemein' is empty
Restoring of tables
DBD::mysql::st execute failed: Unknown column 'httpdtraffiktag' in 'field list' at PERL2EXE_STORAGE/Modules/Restore/Tables/Common.pm line 109.
Can not execute query 'UPDATE zeiten SET maillistletzt=?, ftptraffikvon=?, checknewversion=?, aliasesfaktor=?, httpdtraffiktag=?, ftptraffikfaktor=?, maillistbis=?, maillistfreq=?, aliaseslpr=?, speicherfaktor=?, httpdlpr=?, speichertag=?, httpdtraffikbis=?, maillistvon=?, httpdfaktor=?, ftptraffiktag=?, confixxfaktor=?, httpdtraffikfaktor=?, httpdtraffikvon=?, speicherbis=?, ftptraffikbis=?, speichervon=?' with values (1080933661 3 0 3 18 60 24 600 1140252000 60 1140252000 18 3 0 1 18 2 60 2 5 4 4): Unknown column 'httpdtraffiktag' in 'field list'

Restoration process failed.
45110:~/confixx #
Der RootServer hatte 4 IPs, der RDS hat nur eine. In der .map hab ich alle 4 IPs auf die neue IP des RDS gemappt. Das gleiche Problem tritt auch auf, wenn ich in der .map die 3 zusätzlichen IPs rauslösche, d. h. also die 3 Zeilen.

Kann mir da mal jemand was zu sagen?

Gruß und Dank

LordDarkmage
lorddarmage
Posts: 9
Joined: 2005-10-29 16:18
Location: Mönchengladbach

Re: Confixx-Dump von A nach B

Post by lorddarmage »

Wirklich niemand eine Idee? Ist wirklich wichtig, da ich bald den RootServer abgeben muss.
baui1984
Posts: 31
Joined: 2005-11-24 09:31

Re: Confixx-Dump von A nach B

Post by baui1984 »

Ich kenne den Root DS nicht, aber wenn die Confixx Version diesselbe ist solltest du doch einfach den Dump über PhpMyAdmin einspielen können?
Anonymous

Re: Confixx-Dump von A nach B

Post by Anonymous »

from Post:

#mysql -p<root_password> confixx

mysql>ALTER TABLE `zeiten` ADD `httpdtraffiktag` tinyint(4) DEFAULT '0'
mysql>NOT NULL;

mysql>ALTER TABLE `zeiten` ADD `speichertag` tinyint(4) DEFAULT '0'
mysql>NOT NULL;

mysql>ALTER TABLE `zeiten` ADD `ftptraffiktag` tinyint(4) DEFAULT '0'
mysql>NOT NULL;

mysql> exit
lorddarmage
Posts: 9
Joined: 2005-10-29 16:18
Location: Mönchengladbach

Re: Confixx-Dump von A nach B

Post by lorddarmage »

Hab ich probiert. Der sagt mir bei der ersten Zeile noch nix, aber nach dem NOT NULL; gibt der mir einen "falscher Syntax" aus. Leider hab ich absolut keine Ahnung von MySQL.
buddaaa
Posts: 163
Joined: 2004-11-08 09:59

Re: Confixx-Dump von A nach B

Post by buddaaa »

lorddarmage wrote: Beides Confixx 3pro.
ist das beides auch die gleiche minor-mersion ? vergleich mal auf beiden /version.php

weil das ...
lorddarmage wrote: DBD::mysql::st execute failed: Unknown column 'httpdtraffiktag' in 'field list' at PERL2EXE_STORAGE/Modules/Restore/Tables/Common.pm line 109.
... hoert sich ja so an, wie wenn die beiden confixxe sich uneins sind, ob das feld httpdtraffiktag dazu gehoert oder nicht.[/quote]
Anonymous

Re: Confixx-Dump von A nach B

Post by Anonymous »

Probieren Sie weiter, bitte:

# mysql -uroot -p<root_passwort> -D<confixx_db_name> -e"ALTER TABLE `zeiten` ADD `httpdtraffiktag` tinyint(4)DEFAULT '0' NOT NULL"
# mysql -uroot -p<root_passwort> -D<confixx_db_name> -e"ALTER TABLE `zeiten` ADD `speichertag` tinyint(4) DEFAULT '0' NOT NULL"
# mysql -uroot -p<root_passwort> -D<confixx_db_name> -e"ALTER TABLE `zeiten` ADD `ftptraffiktag` tinyint(4) DEFAULT '0' NOT NULL"

in deine Console.

Ersetzen Sie <root_passwort> und <confixx_db_name> allerdings.

Ich denke das muss hilfen =)

Wenn es ist falsch sagen Sie Output von Console...
lorddarmage
Posts: 9
Joined: 2005-10-29 16:18
Location: Mönchengladbach

Re: Confixx-Dump von A nach B

Post by lorddarmage »

Direkt die Zeilen so einzugeben springt mir bash an den Hals. Unknown command. Darum hab ich mich nochmal so in mysql eingeloggt und es so eingegeben.

Code: Select all

mysql> use confixx
Database changed
mysql> ALTER TABLE `zeiten` ADD `httpdtraffiktag` tinyint(4)DEFAULT '0'
    -> NOT NULL;
ERROR 1060: Duplicate column name 'httpdtraffiktag'
mysql> exit;
Leider sagt mir Duplicate column name nicht viel. Ich habe mit phpMyAdmin reingeschaut, ob es in der Datenbank confixx die Tabelle httpdtraffictag schon gibt, aber fehlanzeige.

Btw... Auf dem RootServer ist Version 3.04 und auf dem RDS 3.09. Hab es eben direkt mal nachgesehen.

Gruß und Dank

LordDarkmage
Anonymous

Re: Confixx-Dump von A nach B

Post by Anonymous »

hmm.

haben Sie Source Server mit Confixx 3.0.4
und Target Server mit Confixx 3.0.9 ?

Confixx Backup/Restore funktioniert mit eine Confixx Version nur!
lorddarmage
Posts: 9
Joined: 2005-10-29 16:18
Location: Mönchengladbach

Re: Confixx-Dump von A nach B

Post by lorddarmage »

slex wrote:hmm.

haben Sie Source Server mit Confixx 3.0.4
und Target Server mit Confixx 3.0.9 ?

Confixx Backup/Restore funktioniert mit eine Confixx Version nur!
Genau so ist es. Heißt das, dass ich somit die Restorefunktion vergessen kann und alle Projekte per Hand rüberschieben muss?
Anonymous

Re: Confixx-Dump von A nach B

Post by Anonymous »

Sie konnen machen:
1. Source Server Update (von Confixx 3.0.4 auf Confixx 3.0.9)
2. Backup von Source Server
3. Restore auf Target Server

das muss hilfen.
lorddarmage
Posts: 9
Joined: 2005-10-29 16:18
Location: Mönchengladbach

Re: Confixx-Dump von A nach B

Post by lorddarmage »

Gut, danke erstmal soweit.

Hab den Support angeschrieben, dass der SourceServer ein Update bekommt. Werd danach nochmal probieren.

Gruß und Dank

LordDarkmage
lorddarmage
Posts: 9
Joined: 2005-10-29 16:18
Location: Mönchengladbach

Re: Confixx-Dump von A nach B

Post by lorddarmage »

Hallo,

folgendes ist passiert. Der Support hatte den Source-Server auf die gleiche Version wie den Zielserver geupdatet, Dump gemacht und versucht auf dem Ziel Server wieder zu importieren. Leider nichts. Nun sind beide Server von 3.0.9 auf 3.1.2 geupdatet worden, doch leider funktioniert das immernoch nicht.

Code: Select all

45110:~/confixx # ./restore.pl --restore --dump 23.02.06_server1_confixx_backup.tgz --map 23.02.06_server1_confixx_backup.map --clean
Work dir: /root/confixx/rstr_mYMX0N
parsing configuration file: '/root/confixx/rstr_mYMX0N/confixx_dump.conf'

The Confixx server contains data which will be removed due to using '--clean' option.
Are you completely sure, that you need to continue restoration and remove the date? [yes|NO] :yes
Parsing of map file: 22.02.06_server1_confixx_backup.map
parsing file '/root/confixx/rstr_mYMX0N/confixx.xml'
Pre phase
Clean phase
launching confixx_updatescript.pl (clean phase)
Error: system account 'web1' is not found
Error: system account 'web2' is not found
Error: system account 'web3' is not found
Error: system account 'web4' is not found
Error: system account 'web6' is not found
Error: system account 'web7' is not found
Error: system account 'web5' is not found
Error: system account 'web8' is not found
Error: system account 'web10' is not found
Error: system account 'web9' is not found
Error: system account 'web11' is not found
Error: system account 'web12' is not found
Restoring of tables
DBD::mysql::st execute failed: Unknown column 'speichertag' in 'field list' at /root/confixx/Modules/Restore/Tables/Common.pm line 148.
Can not execute query 'UPDATE zeiten SET speichervon=?, aliaseslpr=?, httpdtraffikvon=?, ftptraffikvon=?, httpdfaktor=?, ftptraffiklast=?, maillistletzt=?, httpdtraffikfreq=?, maillistbis=?, maillistfreq=?, httpdtraffikbis=?, ftptraffikbis=?, httpdlpr=?, speicherbis=?, maillistvon=?, speicherlast=?, speichertag=?, httpdtraffiklast=?, ftptraffiktag=?, confixxfaktor=?, ftptraffikfreq=?, checknewversion=?, aliasesfaktor=?, speicherfreq=?, httpdtraffiktag=?' with values (4 1140710081 2 3 1 19011835 1080933661 120 24 600 3 4 1140710249 5 0 19011835 22 19011835 22 2 120 12 3 120 22): Unknown column 'speichertag' in 'field list'

Restoration process failed.
45110:~/confixx #
Der Support sagt, dass die das Problem nicht finden können und ich alles per Hand umziehen muss. Bevor ich DAS allerdings anfange frag ich mich, ob nicht hier noch jemand eine letzte Idee hat, die ich versuchen könnte.

Vielleicht hat ja auch jemand Tips wie ich den Umzug per Hand schneller hinbekomme.

Gruß und Dank

LordDarkmage
buddaaa
Posts: 163
Joined: 2004-11-08 09:59

Re: Confixx-Dump von A nach B

Post by buddaaa »

lorddarmage wrote: Vielleicht hat ja auch jemand Tips wie ich den Umzug per Hand schneller hinbekomme.
na mal google benutzen, man ist selten der erste auf diesem planeten mit einem problem:

http://forum.webhostlist.de/show/3-x-in ... pdate.html
lorddarmage
Posts: 9
Joined: 2005-10-29 16:18
Location: Mönchengladbach

Re: Confixx-Dump von A nach B

Post by lorddarmage »

Gut gut! Es hat jetzt funktioniert.

Das Erstellen von Spalten auf dem ZielServer und Importieren hat nun funktioniert. Allerdings ging das erst nachdem ich Confixx auf 3.1.2 geupdatet habe.

Ich danke allen für die freundliche Hilfe.

Euer
LordDarkmage
Post Reply