The invention discloses a Web development environment-oriented relational database data backtracking method which comprises the following steps: 1, establishing a Web environment SeeLog log processing model, comprising the following procedures: 1.1, automatically acquiring a SeeLog log; 1.2, dynamically adjusting a persistent behavior of the log according to an algorithm; 1.3, performing a persistent operation by adopting a log segmentation strategy; 2, performing database recovery by adopting a TBack data backtracking mechanism, comprising the following procedures: performing data backtracking by utilizing a database event log once the database fails at a certain time point, and recovering the database to any time point before failure; and 3, immediately writing each event into a persistent layer by adopting a self-backup mechanism of a memory log, so that the memory log is not lost. According to the method disclosed by the invention, low-cost data backup can be realized, and the method can be independent of specific relational database kind or version.