Home › Forum › Problemi Vari con WP › Ripristino database
-
AutorePost
-
-
31 Agosto 2010 alle 9:23 #14898GattopardoPartecipante
Purtroppo sono tra quelli che la settimana scorsa su Tophost ha subito la cancellazione del database per problemi che Tophost ha avuto ad alcuni nodi (sono andati persi un centinaio di database tra cui il mio).
Fortunatamente avevo una copia del database e ho tentato di ripristinarlo:
sono andato su phpmyadmin, ho aperto con password lo spazio relativo al database e ho cliccato su importa. l’importazione è andata bene apparentemente solo che andando sulla prima pagina del mio sito moltissimi articoli mancano e in quelli che ci sono in realtà si legge mezza riga.
C’è qualcosa che non ho fatto?
Qualcuno può darmi una mano?
Vorrei evitare di rifare l’installazione?
Ovviamente ho chiesto aiuto al supporto di Tophost gli ho anche inviato la copia del database, mi hanno detto che avrebbero ripristinato i database, ho fatto anche un sollecito ma dal 24 agosto il mio sito è inaccessibile.
-
31 Agosto 2010 alle 11:46 #76732wollyAmministratore del forum
apri il file del backup con un editor di test e verifica che gli articoli ci siano completi.
-
31 Agosto 2010 alle 13:12 #76734GattopardoPartecipante
Gli articoli ci sono tutti, in fondo al file c’è l’ultimo ed è completo.
-
31 Agosto 2010 alle 15:04 #76741wollyAmministratore del forum
allora significa che l’importazione non va a buon fine. riprova a ricaricare il backup
-
1 Settembre 2010 alle 5:30 #76746GattopardoPartecipante
Ho provato a ricaricare ma ora mi dà il eguente messaggio:
#1007 – Can’t create database ‘xxxxxxx’; database exists
Ho provato a caricare senza cancellare le tabelle già esistenti, ma questo messaggio me lo dà anche con il database delle statistiche, che finora non sono riuscito a caricare (e quindi il database delle statistiche esiste ma è vuoto, e io non riesco lo stesso a caricare il backup).
In sostanza per i problemi di Tophost sono stati cancellati i dati, ma di fatto i database hanno continuato ad esistere ma vuoti (il database di Wp sono riuscito a caricarlo ma appunto non funziona).
Ho sollecitato di nuovo il supporto di Tophost, ma non hanno fatto niente (preferisco evitare i dettagli sulle risposte che ho ricevuto finora).
-
1 Settembre 2010 alle 8:11 #76749AndreamkPartecipante
E’ evidente che il backup prova a creare il database che esiste già .
Apri il file .sql di backup e tra le prime istruzioni ci dovrebbe essere un comando tipo
`
CREATE DATABASE db_name
Commenta quella riga e non dovrebbe piu darti quell’errore.
-
1 Settembre 2010 alle 10:11 #76755GattopardoPartecipante
Il messaggio cosଠnon compare più, ora ne compare un altro simile per una singola tabella del database, che dà come già esistente:
#1050 – Table ‘wp_bad_behavior’ already exists
ora provo a eliminare la tabella e poi provo di nuovo a ricaricare.
-
1 Settembre 2010 alle 10:39 #76758GattopardoPartecipante
Ho eliminato la cartella e ho ricaricato il database, ma mi ha dato lo stesso messaggio:
#1050 – Table ‘wp_bad_behavior’ already exists
poi ho chiuso e riavviato phpmyadmin e ho visto che la tabella ‘wp_bad_behavior’ c’è ancora, ma ha dimensioni diverse, prima c’erano dei dati in eccesso che ora non risultano più.
Comunque alla fine il sito continua a non funzionare.
Oltre il tentativo di ricaricare il database cosa si può fare?
-
1 Settembre 2010 alle 10:50 #76759AndreamkPartecipante
Fa cosi. Giusto per essere sicuri. Fa un export del db e salvatelo da qualche parte anche se mi sa che il db attuale è sputtanato.
Poi elimina tutte le tabelle del db … eliminale proprio non svuotarle.
E poi importi il backup che ti crea le tabelle e le riempie.
Con il db vuoto deve andare per forza.
-
1 Settembre 2010 alle 13:22 #76766GattopardoPartecipante
Ho provato ma non funziona.
Ho eliminato le tabelle e ho importato il database, è andato tutto bene (“eseguito con successo”) ma il sito continua a vedersi senza gli articoli.
-
1 Settembre 2010 alle 14:29 #76767AndreamkPartecipante
Ma gli articoli nel db ci sono o la tabella è vuota ?
Non è che hai qualche cache da svuotare ?
-
1 Settembre 2010 alle 20:16 #76783GattopardoPartecipante
Gli articoli ci sono, l’ho aperto.
A quale cache ti riferisci?
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.