Author: Michelle McCausland
In the command line or in putty navigate to the home/scotty level of a database. (In this instance I am on Errigal QA - qadb2.err).
It is important to back up tables on the slave system as opposed to the master to prevent any load/locking issues.
cd into the temp directory
Type ls to show the files in this directory:
Use one of the following commands:
mysqldump –single-transaction -u root -p databaseName tableName > appropriatelyNamedFileWithDate.sql
mysqldump –single-transaction -u root -p snmp_manager network_element > networkElementBackup0303.sql
mysqldump -uroot -p ticketer | gzip -v > ticketer.dump.gz
You will be prompted to enter the password here this will confirm the backup
If you type ls once again you will see your backup in this directory: