Annunci

#1 2015-01-27 00:01:06

enzoazz
Membro
Roma
2012-02-02
26

Backup prima di aggiornare

Salve,
ho la versione 2.5.3 , ma vorrei aggiornarmi alla versione 2.7.2
Prima di fare l'aggiornamento vorrei prima salvare la versione corrente e in particolare:
1) Backup del database corrente
2) File di piwigo corrente e plugin istallati.
3) Vorrei evitare di salvare tutte le fotografie scaricate.

Questo perché se qualche cosa non dovesse andare o dovessi trovare che qualche plugin non è compatibile con la nuova versione di piwigo, vorrei avere la possibilità di tornare indietro e ripristinare tutto.

Purtroppo i file da salvare sono molti e richiedono ogni volta molto tempo.
Mi chiedo quindi se sono effettivamente tutti necessari.

Ad esempio i plugin credo siano tutti nella cartella "plugins" e quindi basterebbe salvare solo quelli istallati o che si vogliono aggiornare. Ci sono altre cartelle?

Cambiando versione, invece credo che tutti i file nella root e tutte le cartelle siano da salvare fatta eccezione per le due cartelle "_data" e "upload" che contengono fotografie e che non saranno toccate  dall'aggiornamento.

Per il database credo che un export con phpAdmin sia sufficiente.

Mi chiedo se ci sono però plugin in grado di fare questo mestiere automaticamente. Non l'ho trovato.
Grazie
Enzo

Non in linea

 

#2 2015-01-27 10:51:50

enzoazz
Membro
Roma
2012-02-02
26

Re: Backup prima di aggiornare

Vorrei aggiungere per quanto riguarda il salvataggio del database, che ho trovato in Tools->Aggiornamento

e selezionando l'aggiornamento alla versione 2.7.3 una funzione Salvare Database , ma selezionando piwigo va in errore mostrandomi la seguente pagina (mostro solo la parte iniziale).
Procedura in errore? Perché?
Grazie

=============== Su Salvare Database compare ...

Strict Standards: Non-static method updates::dump_database() should not be called statically in /mounted-storage/home63b/sub017/sc73008-AVQV/www/fotografareroma.it/admin/updates_pwg.php on line 132

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home63b/sub017/sc73008-AVQV/www/fotografareroma.it/admin/updates_pwg.php:132) in /mounted-storage/home63b/sub017/sc73008-AVQV/www/fotografareroma.it/admin/include/updates.class.php on line 349

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home63b/sub017/sc73008-AVQV/www/fotografareroma.it/admin/updates_pwg.php:132) in /mounted-storage/home63b/sub017/sc73008-AVQV/www/fotografareroma.it/admin/include/updates.class.php on line 349

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home63b/sub017/sc73008-AVQV/www/fotografareroma.it/admin/updates_pwg.php:132) in /mounted-storage/home63b/sub017/sc73008-AVQV/www/fotografareroma.it/admin/include/updates.class.php on line 349

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home63b/sub017/sc73008-AVQV/www/fotografareroma.it/admin/updates_pwg.php:132) in /mounted-storage/home63b/sub017/sc73008-AVQV/www/fotografareroma.it/admin/include/updates.class.php on line 349
-- -- Table structure for table `piwigo_categories` -- DROP TABLE IF EXISTS `piwigo_categories`; CREATE TABLE `piwigo_categories` ( `id` smallint(5) unsigned NOT NULL auto_increment, `name` varchar(255) DEFAULT '' NOT NULL, `id_uppercat` smallint(5) unsigned DEFAULT NULL, `comment` text DEFAULT NULL, `dir` varchar(255) DEFAULT NULL, `rank` smallint(5) unsigned DEFAULT NULL, `status` enum('public','private') DEFAULT 'public' NOT NULL, `site_id` tinyint(4) unsigned DEFAULT NULL, `visible` enum('true','false') DEFAULT 'true' NOT NULL, `representative_picture_id` mediumint(8) unsigned DEFAULT NULL, `uppercats` varchar(255) DEFAULT '' NOT NULL, `commentable` enum('true','false') DEFAULT 'true' NOT NULL, `global_rank` varchar(255) DEFAULT NULL, `image_order` varchar(128) DEFAULT NULL, `permalink` varchar(64) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `categories_i3` (`permalink`), KEY `categories_i2` (`id_uppercat`) ) ENGINE=MyISAM AUTO_INCREMENT=76; -- -------------------------------------------------------- -- -- Dumping data for table `piwigo_categories` -- INSERT INTO `piwigo_categories` (`id`, `name`, `id_uppercat`, `comment`, `dir`, `rank`, `status`, `site_id`, `visible`, `representative_picture_id`, `uppercats`, `commentable`, `global_rank`, `image_order`, `permalink`) VALUES ('1','I Ponti',NULL,0x3C70207374796C653D22746578742D616C69676E3A206A7573746966793B223E0D0A095069267567726176653B206469207472656E746120736F6E6F206920706F6E74692063686520617474726176657273616E6F206F2061747472617665727361726F6E6F20696C20546576657265206120526F6D612E204C612070617373696F6E6520706572206C6120666F746F677261666961206D6920686120706F727461746F2061266E6273703B20766F6C65726C69266E6273703B266E6273703B20666F746F67726166617265207475747469206520696E697A69617265206120637265617265207175657374612067616C6C6572696120666F746F677261666963613C7374726F6E673E266E6273703B3C2F7374726F6E673E2E204E6F6E20266567726176653B20737461746F20666163696C6520652068612072696368696573746F206469766572736F2074656D706F2E266E6273703B4E6F6E207475747469206920706F6E746920696E666174746920736F6E6F20666163696C6920646120666F746F677261666172652E20466174746120

etc etc etc

Ultima modifica di enzoazz (2015-01-27 10:55:00)

Non in linea

 

Footer forum

Sito realizzato grazie a FluxBB

github twitter newsletter Donazioni Piwigo.org © 2002-2024 · Contattaci