خرید بک لینک

Vote count: 0

I know I can back up all the data of a database with mysqldump -uroot -pdbpasswd dbname > db.sql;

And I can back up a specific table with where condition

mysqldump -uroot -pdbpasswd dbname table_bame --where="date_column BETWEEN '2012-07-01 00:00:00' and '2012-12-01 00:00:00'"

But how can I back up all the database where date between '2012-07-01 00:00:00' and '2012-12-01 00:00:00'. All the tables in my database has a date_time column and its type is timestamp type.

Thanks!

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: جمعه 20 فروردين 1395 ساعت: 10:41

صفحه بندی