a) mysqlhotcopy b) bcp c) mysqldump --single-transaction --master-data d) ibbackup
[ Data Backup and Recovery Methods (15%) - Introduction ]
mysql 5.0/5.1 questions for learning purposes
a) mysqlhotcopy b) bcp c) mysqldump --single-transaction --master-data d) ibbackup
[ Data Backup and Recovery Methods (15%) - Introduction ]
You must be logged in to post a comment.
c d
For Innodb tables you can quite easily take a backup, which does not place a read lock on the tables:
You can make a text backup with mysqldump and a binary backup with ibbackup – all without readlocking the tables!
Mysqlhotcopy works only for Myisam and Archive tables. BCP is the bulk-copy-program of mssql server.
Filesystem snapshots are also very handy and allow to take consistent backups (of all table engines) with minimal locking:
- “flush tables with read lock;”
- commit a transaction on an innodb table
- take a fs snapshot
- “unlock tables;”
- copy files from snapshot to tape/nfs
- release snapshot
Filesystem snapshots can for example be taken with the linux lvm, or with fssnap on solaris.
Storage systems (like netapp to name only one) also offer snapshot capabilities.