Hp 3PAR System Reporter Software Uživatelský manuál Strana 232

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 239
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 231
Dumping the Entire MySQL Database
To create a dump of a MySQL database use the mysqldump program as follows
# mysqldump --host=hostname --user=username --password=passwd --opt dbname > dbname.sql
This creates a text file called dbname.sql that contains SQL commands to create the tables and
insert the data into the tables. You can simply source this file into MySQL to recreate the entire
database.
NOTE: When dumping data from a large database that is to be backed up to a different location
than the source, it is best to use sysbck as the data will be stored in multiple 2 GB files (if
necessary), and is easier to manage.
232 Troubleshooting System Reporter
Zobrazit stránku 231

Komentáře k této Příručce

Žádné komentáře