If You need to export only the MySQL database’s tables’ structures use –no-data switch. mysqldump -u username -ppassword –no-data database_name > dump.sql [box type=”warning”] Don’t put space after
For exporting MySQL database’s only the data, use –no-create-info option. The dump will not re-create the database, tables, fields, and other structures when importing. mysqldump -u username -ppassword
There are two methods to backup MySQL, first method is by copying all files such have extentions *.frm, *.MYD, and *.MYI, and second is by using mysqlhotcopy utility,
Mail content text is /tmp/message.txt mail -s 'Server Status Report' [email protected] -c [email protected] < /tmp/message.txt Sending mail with attachment # !/bin/bash tar -zcf /tmp/backup.tar.gz /home/david/files echo | mutt
The Seven Layers of the OSI Model 7 Application Network Process to Application Provides network services processes to application processes (such as electronic mail, file transfer,…) Provides
Linux directory structure Mount Point Explanation / Root directory /bin Main program /boot Used at boot /dev directory Where the registered user devices (modem, mouse, keyboard, etc.) /etc