8

Сделать дамп таблицы но исползовать ограничение where

$ mysqldump my_super_shop_database shop_products --where="active=1"
-----------