Linux Server and Workstation Configuration How To

  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • red color
  • green color
Home
dump
Tags: [Export, Backup, Dump, MySQL, Database]  ...
Tags: [dump, MySQL database]  ...
Tags: [dump, database, MySQL, server]  ...
... up with single user Mount partitions: mount /dev/ad1s1a/backup/root mount /dev/ad1s1e/backup/var mount /dev/ad1s1f/backup/usr (here specify your own) Transfer system: ( dump -0f - / ) | ( ...
To export a MySQL database into a dump file, simply type the following command syntax in the shell. mysqldump -u username –ppassword database_name > dump.sql Replace username, password, database_name ...
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 ...
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 ...
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 ...
Use –databases option for exporting several databases. mysqldump -u username -ppassword –databases db_name1 [db_name2 ...] >dump.sql ...
To damp all MySQL databases, use the –all-databases option. mysqldump -u username –p password –all-databases > dump.sql ...
Backup the database inevitable cause MySQL server unavailable to applications because when exporting, all tables acquired a global read lock using FLUSH TABLES WITH READ LOCK at the beginning of the dump ...
You should upload the dump file to the MySQL server, and type this command to import the databases into the MySQL server. mysql -u username –p password database_name < dump.sql ...
...    usermod Modify a user account.     users Print the user names of users currently logged in.     utmpdump Used for debugging.   ...
Configure Network # netconfig Get Network Status # netstat # ifconfig Get Route Information # route Get Network Cards # lspci | grep -i ethernet Dump TCP Packages to View # tcpdump Dump TCP Packages Into ...
mysqldump -u username -ppassword –no-data database_name > dump.sql You can provide this command as mysqldump -u -p –no-data > dump.sql Where password argument entering without space -p ...

Useful Links

Friends

Thanks David Ayvazyan for provided useful information and discussions.
www.gnu.am (Armenian Translation)