Deprecated: Function strftime() is deprecated in /home/hosting/awbinformatica_it/www/php/lib/risorse.common.lib.php on line 280
AWB Informatica - MariaDB-MySQL fare il backup solo di alcune tabelle del database

MariaDB-MySQL fare il backup solo di alcune tabelle del database

16 June 2017

​Con il comando mysqldump , disponibile con i database server MariaDB e MySQL, possiamo effettuare il backup di un database creando un file di testo con tutte le istruzioni SQL necessarie alla sua ricostruzione. La classica istruzione è:
# mysqldump -u root -p miodatabase > /percorso/miodatabase.dump
Ma se vogliamo il backup solamente di una o più tabelle? Semplice, basta elencarle subito dopo il nome del database separandole da spazi:
# mysqldump -u root -p miodatabase tabella1 tabella2 > /percorso/miodatabase.dump

Deprecated: Function strftime() is deprecated in /home/hosting/awbinformatica_it/www/php/template/page_template.php on line 556

Deprecated: Function strftime() is deprecated in /home/hosting/awbinformatica_it/www/php/template/page_template.php on line 556

Deprecated: Function strftime() is deprecated in /home/hosting/awbinformatica_it/www/php/template/page_template.php on line 556

Deprecated: Function strftime() is deprecated in /home/hosting/awbinformatica_it/www/php/template/page_template.php on line 556

Deprecated: Function strftime() is deprecated in /home/hosting/awbinformatica_it/www/php/template/page_template.php on line 556

Deprecated: Function strftime() is deprecated in /home/hosting/awbinformatica_it/www/php/template/page_template.php on line 556