mysqlpump commands in MySQL
mysqlpump # MySQL 5.7.8 onwards
mysqlpump --help
mysqlpump --version
mysqlpump --all-databases
mysqlpump --all-databases --user=root --password > full_backup.sql
mysqlpump --databases db_name1 db_name2 --user=root --password > partial_backup.sql
mysqlpump --single-transaction --default-parallelism=0
mysqlpump --user=root --password > full_backup.sql
mysqlpump --user=root --password --default-parallelism=4 > full_backup.sql
mysqlpump --parallel-schemas=db1,db2 --parallel-schemas=db3
mysqlpump --user=root --password --parallel-schemas=db1,db2 --default-parallelism=3 > full_backup.sql
mysqlpump --user=root --password --include-databases=db% --result-file=all_db_backup.sql
mysqlpump --exclude-databases=% --users
mysqlpump --user=root --password --exclude-databases=db1,db2 --result-file=partial_backup.sql
mysqlpump --user=root --password --exclude-tables=t --result-file=partial_backup.sql
mysqlpump --user=root --password --include-events=ev2 --include-routines=p1 --exclude-databases=mysql --result-file=partial_backup.sql
Related MySQL Articles: mysqldump commands in MySQL
No comments:
Post a Comment