通过事物日志恢复数据

来源:互联网 发布:0基础学php还是 编辑:程序博客网 时间:2024/05/21 13:29

 用日志恢复:  
  restore   log   {data_name|@database_name_var}  
  from    
  with   [norecovery/recovery/standby_undo_file_name]  
  [,][stopat={data_time|@data_time_var}  
   
   
   
  例如:库名为database1   日志为database1_log 要求恢复2000/6/15   1:00前的数据:  
  restroe   log   database1  
  from   database_log  
  with   recovery,stopat='jun   15,2000   1:00   am'  

原创粉丝点击