Am 06.07.2013 02:35, schrieb Rafael Ribeiro - iPhone:
> I would like to listen your opinion about a situation.
> 
> There is a function that is able to REMOVE all data from an specific date ?
> 
> I mean ... We are developing a demo script website, where users can join and 
> test our system.
> 
> We need a database reset every 3 hours ... Delete all new data and back all 
> changes to a default point.
> 
> Better do that with php or mysql has an internal function that handle this.

mysqldump -u username -ppassword database > dump.sql
mysql -u username -ppassword database < dump.sql

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to