Previous Thread
Next Thread
Print Thread
Rate Thread
#270474 03/06/2004 1:31 PM
Joined: Nov 2001
Posts: 417
Enthusiast
Enthusiast
Joined: Nov 2001
Posts: 417
Hi Leute,
deit dem Serverupdate funzt leider auch die DB Sicherung des Boardes bei mir nicht.
[] Warning: filesize(): Stat failed for /srv/www/htdocs/web6/files/mysqldump/w3t_AddressBook.sql (errno=2 - No such file or directory) in /srv/www/htdocs/web6/html/ubbt/admin/dodbbackup.php on line 81
w3t_AddressBook.sql is 0 bytes or did not get created. [/]
Diese Pfade sin richtig,
habe es überprüft.
Path to mysqldump: /usr/bin
Directory to store backups: /srv/www/htdocs/web6/files/mysqldump

LOCK TABLES habe ich in phpMyAdmin kaltiviert (Bild Anhang)

was mache ich falsch ?

Nettomo
Attachments
109516-log_tables.jpg (0 Bytes, 258 downloads)

Sponsored Links
Joined: Nov 2001
Posts: 417
Enthusiast
Enthusiast
Joined: Nov 2001
Posts: 417
Hi

kann mir jemand sagen wie ich "LOCK TABLES" richtig aktiviere,
damit die mysqldump Funktion des Boardes auch wieder funktioniert ?

Nettomo

Joined: Nov 2001
Posts: 417
Enthusiast
Enthusiast
Joined: Nov 2001
Posts: 417
Hi Leute,
für alle die die selben Probleme haben!

[] The following tables are available for backup or you may choose to backup all tables. You should always close your forums before making a backup. Note: This utility relies on the mysqldump command so make sure you have access to this and that the path to this command is set properly in the config file. Depending on server restrictions, backing up all tables at once may time out or not complete properly. If you are using MySQL 4.x you'll also need to be sure that the database user that your UBB.threads is running as has LOCK TABLES permissions
[/]
[:"red"] Müll [/]

Auf meinem Server hat keine MySQL Tabelle "LOCK TABLES" Rechte,
habe einer Tabelle diese rechte gegeben,
und trotzdem ging nichts !

(MySQL version 4.0.15)

"safe_mode" heißt das Problem !

Lösung:
Mit zb. WinSCP3 in /etc/apache2/
[:"red"] httpd.conf [/] edetieren

Füge folgenden Eintrag hinzu:

<Directory "/srv/www/htdocs/web-User">
php_admin_value safe_mode off
php_admin_value open_basedir none
</Directory>

[:"red"] Achtung dieses ist die Configuration für meinen Server,
bei euch muß alles dementsprechend abgeändert werden !
[/]

Nettomo

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
in V6.5 soll der Export direkt aus dem Forum ohne mySQLdumb gehen. Das wird komplett umgestrickt. Solange würde ich ein Backup über phpMyadmin machen.

Eine andere Lösung habe ich auch nicht.

Joined: Nov 2001
Posts: 417
Enthusiast
Enthusiast
Joined: Nov 2001
Posts: 417
Hi Zarzal,
nun klappt ja alles hi hi

Übrigens habe ich spitzen Programme gefunden,
um sehr große Datenbanken sicher zu sichern.
Habe es getestet es sichert sogar Datenbanken welche über 100 MB groß sind !

Hier der Link dazu:
Download DumpTimer, dem Werkzeug zum Sichern von MySQL Datenbanken

Nettomo

Sponsored Links
Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
danke. Bislang bin ich erst bei 55MB und da tuts phpMyAdmin noch indem ich mir das einfach per Zip downloaden lasse. Der Timeout ist groß genug dafür.

Mal sehen, wie das Ganze denn in der 6.5 aussieht.

Joined: Nov 2001
Posts: 417
Enthusiast
Enthusiast
Joined: Nov 2001
Posts: 417
Hi Zarzal,
das Problem ist ja nicht das sichern,
sondern das zurückschreiben,
und das kann dein phpMyAdmin dann nicht so einfach,
bzw. ich glaube sogar garnicht mehr.

So und nun versuche einmal eine DB zurückzuschreiben,
welche nicht mit dem Programm gemacht worde,
welches sie nachher zurückschreiben soll.

Ich habe einmal nur versucht die Sicherungen vom UBB.threads mit phpMyAdmin zurückzuschreiben

Das Problem war nur das zuviel in der *.sql drinsteht womit der phpMyAdmin nichts anfangen kann.
Dieses muß allso ersteinmal alles entfernt werden.


Nettomo

Joined: Jul 2001
Posts: 808
Coder
Coder
Joined: Jul 2001
Posts: 808
mmhh, bislang hatte ich damit auch keine Probleme. OK, ich konnte die DB auch per ssh hochladen und dann vom server direkt einfügen. Ging bei unserem letztem Serverumzug ratz-fatz.

Allerdings waren es da sogar noch unter 50MB. Mit größeren habe ich noch keine Erfahrung.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)