首頁 資料庫 mysql教程 【原创】假设在有最后一次全库备份之后,你误删除了一张表,请使用备份+归档来将数据库

【原创】假设在有最后一次全库备份之后,你误删除了一张表,请使用备份+归档来将数据库

Jun 07, 2016 pm 05:41 PM
備份

topic:【原创】假设在有最后一次全库备份之后,你误删除了一张表,请使用备份+归档来将数据库恢复到删除表之前的状态。(不完全恢复)更多精彩内容尽在www.leonar

topic:【原创】假设在有最后一次全库备份之后,你误删除了一张表,请使用备份+归档来将数据库恢复到删除表之前的状态。(不完全恢复)

更多精彩内容尽在



 

进入Rman做全库备份


 

[oracle@leonarding1backup]$ rman target /


 

Recovery Manager:Release 11.2.0.1.0 - Production on Tue Apr 30 11:08:29 2013


 

Copyright (c)1982, 2009, Oracle and/or its affiliates. All rights reserved.


 

connected totarget database: LEO1 (DBID=1692458681)


 

RMAN> backupfull database format              


 

'/u02/app/oracle/backup/full_bk1_%u%p%s.rmn'include current controlfile


 

plus


 

archivelog format'/u02/app/oracle/backup/arch_bk1_%u%p%s.rmn' delete all input;


 

2> 3> 4>




 

Starting backup at30-APR-13


 

current logarchived


 

using targetdatabase control file instead of recovery catalog


 

allocated channel:ORA_DISK_1


 

channelORA_DISK_1: SID=22 device type=DISK


 

RMAN-00571:===========================================================


 

RMAN-00569:=============== ERROR MESSAGE STACK FOLLOWS ===============


 

RMAN-00571:===========================================================


 

RMAN-03002:failure of backup plus archivelog command at 04/30/2013 11:13:27


 

RMAN-06059:expected archived log not found, loss of archived log compromisesrecoverability


 

ORA-19625: erroridentifying file /u02/app/oracle/archdata/1_75_813654649.dbf


 

ORA-27037: unableto obtain file status


 

Linux-x86_64Error: 2: No such file or directory


 

Additionalinformation: 3


 

75号归档日志缺失,Rman在操作系统上找不到对应的日志文件


 

当手工删除了归档日志以后,Rman备份会检测到日志缺失,从而无法进一步继续执行。
所以此时需要手工执行crosscheck过程,之后Rman备份可以恢复正常


 

RMAN> crosscheckarchivelog all;                     交叉检查,有3个日志被手工删除


 

released channel:ORA_DISK_1


 

allocated channel:ORA_DISK_1


 

channelORA_DISK_1: SID=22 device type=DISK


 

validation failedfor archived log


 

archivedlog file name=/u02/app/oracle/archdata/1_75_813654649.dbf RECID=9STAMP=813790708


 

validation failedfor archived log


 

archivedlog file name=/u02/app/oracle/archdata/1_76_813654649.dbf RECID=7STAMP=813790702


 

validation failedfor archived log


 

archivedlog file name=/u02/app/oracle/archdata/1_77_813654649.dbf RECID=8STAMP=813790706


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_1_813790699.dbf RECID=10 STAMP=813791152


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_2_813790699.dbf RECID=11 STAMP=813913400


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_3_813790699.dbf RECID=12 STAMP=813913401


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_4_813790699.dbf RECID=13 STAMP=813913405


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_5_813790699.dbf RECID=14 STAMP=813933703


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_6_813790699.dbf RECID=15 STAMP=813933734


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_7_813790699.dbf RECID=16 STAMP=814090435


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_8_813790699.dbf RECID=17 STAMP=814090645


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_9_813790699.dbf RECID=18 STAMP=814090877


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_10_813790699.dbf RECID=19 STAMP=814091008


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_11_813790699.dbf RECID=20 STAMP=814091028


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_12_813790699.dbf RECID=21 STAMP=814091032


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_13_813790699.dbf RECID=22 STAMP=814091036


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_14_813790699.dbf RECID=23 STAMP=814091057


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_15_813790699.dbf RECID=24 STAMP=814091184


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_16_813790699.dbf RECID=25 STAMP=814091638


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_17_813790699.dbf RECID=26 STAMP=814091658


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_18_813790699.dbf RECID=27 STAMP=814091709


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_19_813790699.dbf RECID=28 STAMP=814092394


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_20_813790699.dbf RECID=29 STAMP=814092405


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_1_814098124.dbf RECID=30 STAMP=814098353


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_2_814098124.dbf RECID=31 STAMP=814100979


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_3_814098124.dbf RECID=32 STAMP=814101206


 

validationsucceeded for archived log


 

archived log filename=/u02/app/oracle/archdata/1_4_814098124.dbf RECID=33 STAMP=814101824


 

Crosschecked 27objects


 

RMAN> deleteexpired archivelog all;                              删除所有过期归档日志


 

released channel:ORA_DISK_1


 

allocated channel:ORA_DISK_1


 

channelORA_DISK_1: SID=22 device type=DISK


 

List of ArchivedLog Copies for database with db_unique_name LEO1


 

=====================================================================




 

Key     Thrd Seq     S Low Time


 

------- ----------- - ---------


 

9       1   75      X 26-APR-13


 

        Name: /u02/app/oracle/archdata/1_75_813654649.dbf




 

7       1   76      X 26-APR-13


 

        Name: /u02/app/oracle/archdata/1_76_813654649.dbf




 

8       1   77      X 26-APR-13


 

        Name: /u02/app/oracle/archdata/1_77_813654649.dbf


 

Do you really wantto delete the above objects (enter YES or NO)? y     75  76   77号日志被删除


 

deleted archivedlog


 

archived log filename=/u02/app/oracle/archdata/1_75_813654649.dbf RECID=9 STAMP=813790708


 

deleted archivedlog


 

archived log filename=/u02/app/oracle/archdata/1_76_813654649.dbf RECID=7 STAMP=813790702


 

deleted archivedlog


 

archived log filename=/u02/app/oracle/archdata/1_77_813654649.dbf RECID=8 STAMP=813790706


 

Deleted 3 EXPIREDobjects




 

RMAN> backup fulldatabase format      现在Rman备份可以恢复正常,同时删除备份过的归档日志


 

'/u02/app/oracle/backup/full_bk1_%u%p%s.rmn'include current controlfile


 

plus


 

archivelog format'/u02/app/oracle/backup/arch_bk1_%u%p%s.rmn' delete all input;2> 3> 4>




 

Starting backup at30-APR-13


 

current logarchived


 

using channelORA_DISK_1


 

channelORA_DISK_1: starting archived log backup set


 

channelORA_DISK_1: specifying archived log(s) in backup set


 

input archived logthread=1 sequence=1 RECID=10 STAMP=813791152


 

input archived logthread=1 sequence=2 RECID=11 STAMP=813913400


 

input archived logthread=1 sequence=3 RECID=12 STAMP=813913401


 

input archived logthread=1 sequence=4 RECID=13 STAMP=813913405


 

input archived logthread=1 sequence=5 RECID=14 STAMP=813933703


 

input archived logthread=1 sequence=6 RECID=15 STAMP=813933734


 

input archived logthread=1 sequence=7 RECID=16 STAMP=814090435


 

input archived logthread=1 sequence=8 RECID=17 STAMP=814090645


 

input archived logthread=1 sequence=9 RECID=18 STAMP=814090877


 

input archived logthread=1 sequence=10 RECID=19 STAMP=814091008


 

input archived logthread=1 sequence=11 RECID=20 STAMP=814091028


 

input archived logthread=1 sequence=12 RECID=21 STAMP=814091032


 

input archived logthread=1 sequence=13 RECID=22 STAMP=814091036


 

input archived logthread=1 sequence=14 RECID=23 STAMP=814091057


 

input archived logthread=1 sequence=15 RECID=24 STAMP=814091184


 

input archived logthread=1 sequence=16 RECID=25 STAMP=814091638


 

input archived logthread=1 sequence=17 RECID=26 STAMP=814091658


 

input archived logthread=1 sequence=18 RECID=27 STAMP=814091709


 

input archived logthread=1 sequence=19 RECID=28 STAMP=814092394


 

channelORA_DISK_1: starting piece 1 at 30-APR-13


 

channelORA_DISK_1: finished piece 1 at 30-APR-13


 

piecehandle=/u02/app/oracle/backup/arch_bk1_0co8cds4112.rmn tag=TAG20130430T113324comment=NONE


 

channelORA_DISK_1: backup set complete, elapsed time: 00:00:07


 

channelORA_DISK_1: deleting archived log(s)


 

archived log filename=/u02/app/oracle/archdata/1_1_813790699.dbf RECID=10 STAMP=813791152


 

archived log filename=/u02/app/oracle/archdata/1_2_813790699.dbf RECID=11 STAMP=813913400


 

archived log filename=/u02/app/oracle/archdata/1_3_813790699.dbf RECID=12 STAMP=813913401


 

archived log filename=/u02/app/oracle/archdata/1_4_813790699.dbf RECID=13 STAMP=813913405


 

archived log filename=/u02/app/oracle/archdata/1_5_813790699.dbf RECID=14 STAMP=813933703


 

archived log filename=/u02/app/oracle/archdata/1_6_813790699.dbf RECID=15 STAMP=813933734


 

archived log filename=/u02/app/oracle/archdata/1_7_813790699.dbf RECID=16 STAMP=814090435


 

archived log filename=/u02/app/oracle/archdata/1_8_813790699.dbf RECID=17 STAMP=814090645


 

archived log filename=/u02/app/oracle/archdata/1_9_813790699.dbf RECID=18 STAMP=814090877


 

archived log filename=/u02/app/oracle/archdata/1_10_813790699.dbf RECID=19 STAMP=814091008


 

archived log filename=/u02/app/oracle/archdata/1_11_813790699.dbf RECID=20 STAMP=814091028


 

archived log filename=/u02/app/oracle/archdata/1_12_813790699.dbf RECID=21 STAMP=814091032


 

archived log filename=/u02/app/oracle/archdata/1_13_813790699.dbf RECID=22 STAMP=814091036


 

archived log filename=/u02/app/oracle/archdata/1_14_813790699.dbf RECID=23 STAMP=814091057


 

archived log filename=/u02/app/oracle/archdata/1_15_813790699.dbf RECID=24 STAMP=814091184


 

archived log filename=/u02/app/oracle/archdata/1_16_813790699.dbf RECID=25 STAMP=814091638


 

archived log filename=/u02/app/oracle/archdata/1_17_813790699.dbf RECID=26 STAMP=814091658


 

archived log filename=/u02/app/oracle/archdata/1_18_813790699.dbf RECID=27 STAMP=814091709


 

archived log filename=/u02/app/oracle/archdata/1_19_813790699.dbf RECID=28 STAMP=814092394


 

channelORA_DISK_1: starting archived log backup set


 

channelORA_DISK_1: specifying archived log(s) in backup set


 

input archived logthread=1 sequence=1 RECID=30 STAMP=814098353


 

channelORA_DISK_1: starting piece 1 at 30-APR-13


 

channelORA_DISK_1: finished piece 1 at 30-APR-13


 

piecehandle=/u02/app/oracle/backup/arch_bk1_0do8cdsc113.rmn tag=TAG20130430T113324comment=NONE


 

channelORA_DISK_1: backup set complete, elapsed time: 00:00:01


 

channelORA_DISK_1: deleting archived log(s)


 

archived log filename=/u02/app/oracle/archdata/1_1_814098124.dbf RECID=30 STAMP=814098353


 

channelORA_DISK_1: starting archived log backup set


 

channelORA_DISK_1: specifying archived log(s) in backup set


 

input archived logthread=1 sequence=20 RECID=29 STAMP=814092405


 

channelORA_DISK_1: starting piece 1 at 30-APR-13


 

channelORA_DISK_1: finished piece 1 at 30-APR-13


 

piecehandle=/u02/app/oracle/backup/arch_bk1_0eo8cdsd114.rmn tag=TAG20130430T113324comment=NONE


 

channelORA_DISK_1: backup set complete, elapsed time: 00:00:01


 

channelORA_DISK_1: deleting archived log(s)


 

archived log filename=/u02/app/oracle/archdata/1_20_813790699.dbf RECID=29 STAMP=814092405


 

channelORA_DISK_1: starting archived log backup set


 

channelORA_DISK_1: specifying archived log(s) in backup set


 

input archived logthread=1 sequence=2 RECID=31 STAMP=814100979


 

input archived logthread=1 sequence=3 RECID=32 STAMP=814101206


 

input archived logthread=1 sequence=4 RECID=33 STAMP=814101824


 

input archived logthread=1 sequence=5 RECID=34 STAMP=814102404


 

channelORA_DISK_1: starting piece 1 at 30-APR-13


 

channelORA_DISK_1: finished piece 1 at 30-APR-13


 

piecehandle=/u02/app/oracle/backup/arch_bk1_0fo8cdse115.rmn tag=TAG20130430T113324comment=NONE


 

channelORA_DISK_1: backup set complete, elapsed time: 00:00:01


 

channelORA_DISK_1: deleting archived log(s)


 

archived log filename=/u02/app/oracle/archdata/1_2_814098124.dbf RECID=31 STAMP=814100979


 

archived log filename=/u02/app/oracle/archdata/1_3_814098124.dbf RECID=32 STAMP=814101206


 

archived log filename=/u02/app/oracle/archdata/1_4_814098124.dbf RECID=33 STAMP=814101824


 

archived log filename=/u02/app/oracle/archdata/1_5_814098124.dbf RECID=34 STAMP=814102404


 

Finished backup at30-APR-13




 

Starting backup at30-APR-13


 

using channelORA_DISK_1


 

channelORA_DISK_1: starting full datafile backup set


 

channelORA_DISK_1: specifying datafile(s) in backup set


 

input datafilefile number=00001 name=/u02/app/oracle/oradata/LEO1/system01.dbf


 

input datafilefile number=00002 name=/u02/app/oracle/oradata/LEO1/sysaux01.dbf


 

input datafilefile number=00003 name=/u02/app/oracle/oradata/LEO1/undotbs01.dbf


 

input datafile filenumber=00005 name=/u02/app/oracle/oradata/LEO1/leo1.dbf


 

input datafilefile number=00004 name=/u02/app/oracle/oradata/LEO1/users01.dbf


 

channelORA_DISK_1: starting piece 1 at 30-APR-13


 

channelORA_DISK_1: finished piece 1 at 30-APR-13


 

piece handle=/u02/app/oracle/backup/full_bk1_0go8cdsg116.rmntag=TAG20130430T113336 comment=NONE


 

channelORA_DISK_1: backup set complete, elapsed time: 00:01:25


 

channelORA_DISK_1: starting full datafile backup set


 

channelORA_DISK_1: specifying datafile(s) in backup set


 

including currentcontrol file in backup set


 

channelORA_DISK_1: starting piece 1 at 30-APR-13


 

channelORA_DISK_1: finished piece 1 at 30-APR-13


 

piecehandle=/u02/app/oracle/backup/full_bk1_0ho8cdv5117.rmn tag=TAG20130430T113336comment=NONE


 

channel ORA_DISK_1:backup set complete, elapsed time: 00:00:01


 

Finished backup at30-APR-13




 

Starting backup at30-APR-13


 

current logarchived


 

using channelORA_DISK_1


 

channelORA_DISK_1: starting archived log backup set


 

channelORA_DISK_1: specifying archived log(s) in backup set


 

input archived logthread=1 sequence=6 RECID=35 STAMP=814102503


 

channelORA_DISK_1: starting piece 1 at 30-APR-13


 

channelORA_DISK_1: finished piece 1 at 30-APR-13


 

piecehandle=/u02/app/oracle/backup/arch_bk1_0io8cdv7118.rmn tag=TAG20130430T113503comment=NONE


 

channelORA_DISK_1: backup set complete, elapsed time: 00:00:01


 

channelORA_DISK_1: deleting archived log(s)


 

archived log filename=/u02/app/oracle/archdata/1_6_814098124.dbf RECID=35 STAMP=814102503


 

Finished backup at30-APR-13




 

Starting ControlFile and SPFILE Autobackup at 30-APR-13


 

piecehandle=/u02/app/oracle/backup/control/cf_c-1692458681-20130430-01 comment=NONE


 

Finished ControlFile and SPFILE Autobackup at 30-APR-13


 

我们现在进入数据库创建一个表leo1并插入三条记录


 

SYS@LEO1>createtable leo1 (name varchar2(20),age number,riqi date);


 

Table created.


 

SYS@LEO1>insertinto leo1 values('leonarding',28,sysdate);


 

1 row created.


 

SYS@LEO1>insertinto leo1 values('sun_vn',26,sysdate);


 

1 row created.


 

SYS@LEO1>insertinto leo1 values('tiger',18,sysdate);


 

1 row created.


 

SYS@LEO1>commit;


 

Commit complete.


 

SYS@LEO1>select* from leo1;                          完成


 

NAME                        AGE RIQI


 

------------------------------ ---------


 

leonarding                   28 30-APR-13


 

sun_vn                      26 30-APR-13


 

tiger                        18 30-APR-13


 

SYS@LEO1>selectgroup#,members,bytes,archived,sequence#,status from v$log;


 

    GROUP#   MEMBERS      BYTES ARC  SEQUENCE# STATUS


 

-------------------- ---------- --- ---------- ----------------


 

         1          2  52428800 NO           7 CURRENT


 

         2          2  52428800 YES          5 INACTIVE


 

         5          2  52428800 YES          6 INACTIVE


 

我们创建表和插入信息是写入当前日志组1


 

SYS@LEO1>altersystem switch logfile;              切换日志组


 

System altered.


 

SYS@LEO1>altersystem switch logfile;


 

System altered.


 

SYS@LEO1>selectgroup#,members,bytes,archived,sequence#,status from v$log;


 

    GROUP#   MEMBERS      BYTES ARC  SEQUENCE# STATUS


 

-------------------- ---------- --- ---------- ----------------


 

         1          2  52428800 YES          7 INACTIVE


 

         2          2  52428800 YES          8 INACTIVE


 

         5          2  52428800 NO           9 CURRENT


 

现在组1已经完成归档,如果我们此时勿删除了leo1表,我们可以把数据库恢复到7号归档日志的那一点,网站空间,就可以恢复勿删除的leo1表了。我们顺便把当前redolog日志也损坏了,看看可不可以扶起数据库来。


 

SYS@LEO1>droptable leo1 purge;                  删除表


 

我们删除第五组的2个成员


 

[oracle@leonarding1LEO1]$ rm -rf redo05.log


 

[oracle@leonarding1LEO1]$ cd disk2/


 

[oracle@leonarding1disk2]$ rm -rf redo05_b.log


 

SYS@LEO1>startup


 

ORACLE instancestarted.


 

Total SystemGlobal Area  471830528 bytes


 

Fixed Size                  2214456 bytes


 

Variable Size             171967944 bytes


 

DatabaseBuffers          289406976 bytes


 

Redo Buffers                8241152 bytes


 

Database mounted.


 

ORA-00313: openfailed for members of log group 5 of thread 1


 

ORA-00312: onlinelog 5 thread 1:


 

'/u02/app/oracle/oradata/LEO1/disk2/redo05_b.log'


 

ORA-27037: unableto obtain file status


 

Linux-x86_64Error: 2: No such file or directory


 

Additionalinformation: 3


 

ORA-00312: onlinelog 5 thread 1: '/u02/app/oracle/oradata/LEO1/redo05.log'


 

ORA-27037: unableto obtain file status


 

Linux-x86_64Error: 2: No such file or directory


 

Additionalinformation: 3


 

找不到第五组redo,实际上已经被我们删除了,进入rman进行恢复操作


 

[oracle@leonarding1backup]$ rman target /


 

Recovery Manager:Release 11.2.0.1.0 - Production on Tue Apr 30 12:47:55 2013


 

Copyright (c)1982, 2009, Oracle and/or its affiliates. All rights reserved.


 

connected totarget database: LEO1 (DBID=1692458681, not open)


 

RMAN> restoredatabase;        


 

Starting restoreat 30-APR-13


 

using targetdatabase control file instead of recovery catalog


 

allocated channel:ORA_DISK_1


 

channelORA_DISK_1: SID=133 device type=DISK




 

channelORA_DISK_1: starting datafile backup set restore


 

channelORA_DISK_1: specifying datafile(s) to restore from backup set


 

channelORA_DISK_1: restoring datafile 00001 to/u02/app/oracle/oradata/LEO1/system01.dbf


 

channelORA_DISK_1: restoring datafile 00002 to/u02/app/oracle/oradata/LEO1/sysaux01.dbf


 

channelORA_DISK_1: restoring datafile 00003 to /u02/app/oracle/oradata/LEO1/undotbs01.dbf


 

channelORA_DISK_1: restoring datafile 00004 to/u02/app/oracle/oradata/LEO1/users01.dbf


 

channelORA_DISK_1: restoring datafile 00005 to /u02/app/oracle/oradata/LEO1/leo1.dbf


 

channelORA_DISK_1: reading from backup piece /u02/app/oracle/backup/full_bk1_0go8cdsg116.rmn


 

channelORA_DISK_1: piece handle=/u02/app/oracle/backup/full_bk1_0go8cdsg116.rmntag=TAG20130430T113336


 

channelORA_DISK_1: restored backup piece 1


 

channelORA_DISK_1: restore complete, elapsed time: 00:02:05


 

Finished restoreat 30-APR-13


 

我们只需恢复到7号归档日志状态点,就可以找回我们删除了的leo1表


 

RMAN> recoverdatabase until sequence 7 thread 1;




 

Starting recoverat 30-APR-13


 

using channelORA_DISK_1




 

starting mediarecovery




 

channelORA_DISK_1: starting archived log restore to default destination


 

channel ORA_DISK_1:restoring archived log


 

archived logthread=1 sequence=6


 

channelORA_DISK_1: reading from backup piece/u02/app/oracle/backup/arch_bk1_0io8cdv7118.rmn


 

channelORA_DISK_1: piece handle=/u02/app/oracle/backup/arch_bk1_0io8cdv7118.rmntag=TAG20130430T113503


 

channelORA_DISK_1: restored backup piece 1


 

channelORA_DISK_1: restore complete, elapsed time: 00:00:01


 

archived log filename=/u02/app/oracle/archdata/1_6_814098124.dbf thread=1 sequence=6


 

media recoverycomplete, elapsed time: 00:00:01


 

Finished recoverat 30-APR-13


 

SYS@LEO1>alterdatabase open resetlogs;


 

Database altered.


 

resetlogs做的几件事:


 

1)数据文件头scn号为准,同步控制文件和在线日志文件scn号


 

2)重新创建redolog日志(创建一个空日志),重置为unused


 

3)重置归档日志序号从1开始编码


 

4)让数据库重新进入一个新的生命周期


 

SYS@LEO1>select* from leo1;                                   


 

NAME                        AGE RIQI


 

------------------------------ ---------


 

leonarding                   28 30-APR-13


 

sun_vn                       26 30-APR-13


 

tiger                        18 30-APR-13


 

这个表存在说明应用了 sequence为7的归档


 

小结:到此我们的系列恢复实验完美完成,里面阐述了各种不同环境下的恢复测试,简明了重做日志和归档日志关系,在什么情况下可以恢复到什么级别,虚拟主机,牢实掌握如上信息,可以让你遇事不慌张事半功倍。




 

控制文件恢复,重做日志恢复,完全恢复,不完全恢复,备份



 

Leonarding
2013.4.30
天津&spring
分享技术~成就梦想
Blog:

本文出自 “leonarding Blog” 博客,请务必保留此出处

,香港空间
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn

熱AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Clothoff.io

Clothoff.io

AI脫衣器

Video Face Swap

Video Face Swap

使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

<🎜>:泡泡膠模擬器無窮大 - 如何獲取和使用皇家鑰匙
3 週前 By 尊渡假赌尊渡假赌尊渡假赌
北端:融合系統,解釋
3 週前 By 尊渡假赌尊渡假赌尊渡假赌
Mandragora:巫婆樹的耳語 - 如何解鎖抓鉤
3 週前 By 尊渡假赌尊渡假赌尊渡假赌

熱工具

記事本++7.3.1

記事本++7.3.1

好用且免費的程式碼編輯器

SublimeText3漢化版

SublimeText3漢化版

中文版,非常好用

禪工作室 13.0.1

禪工作室 13.0.1

強大的PHP整合開發環境

Dreamweaver CS6

Dreamweaver CS6

視覺化網頁開發工具

SublimeText3 Mac版

SublimeText3 Mac版

神級程式碼編輯軟體(SublimeText3)

熱門話題

Java教學
1667
14
CakePHP 教程
1426
52
Laravel 教程
1328
25
PHP教程
1273
29
C# 教程
1255
24
如何備份谷歌瀏覽器的擴充程序 如何備份谷歌瀏覽器的擴充程序 Jan 30, 2024 pm 12:36 PM

谷歌瀏覽器擴充功能如何備份?對於大多數Google瀏覽器用戶來說,日常使用時會安裝或多或少的插件,插件的存在可以提升我們的使用體驗。當我們重裝系統或瀏覽器時,這些插件卻無法保留,重新下載安裝又比較麻煩,那麼有沒有辦法備份目前已安裝的插件呢?下面就為大家帶來操作方法。備份chrome插件的教學方法先打開Google瀏覽器,點擊右上角的選單,選擇更多工具-擴充功能。點擊擴充功能頁面上方的打包擴充功能。在C:UsersAdministratorAppDataLocalGoogleChromeUserDataDe

如何在 PHP 中使用 MySQL 備份和還原? 如何在 PHP 中使用 MySQL 備份和還原? Jun 03, 2024 pm 12:19 PM

在PHP中備份和還原MySQL資料庫可透過以下步驟實現:備份資料庫:使用mysqldump指令轉儲資料庫為SQL檔。還原資料庫:使用mysql指令從SQL檔案還原資料庫。

如何在Windows 11的檔案總管中刪除啟動備份 如何在Windows 11的檔案總管中刪除啟動備份 Feb 18, 2024 pm 05:40 PM

如果您希望在Windows11的檔案總管中隱藏「開始備份」選項,以下是您可以採取的方法。有多種途徑可用於在檔案總管中停用或隱藏啟動備份選項,我們將簡要列出一些方法,以幫助您快速完成此任務。在開始之前,您需要了解這個選項與OneDrive密切相關。一旦您開啟某個庫資料夾(例如Document、Pictures、Music等),它會立即顯示在檔案總管的路徑中。如何在Windows11的檔案總管中刪除啟動備份要在Windows11的檔案總管中刪除啟動備份,請依照下列方法操

如何安裝、解除安裝、重設Windows伺服器備份 如何安裝、解除安裝、重設Windows伺服器備份 Mar 06, 2024 am 10:37 AM

WindowsServerBackup是WindowsServer作業系統自帶的功能,旨在協助使用者保護重要資料和系統配置,並為中小型和企業級企業提供完整的備份和復原解決方案。只有執行Server2022及更高版本的使用者才能使用此功能。在本文中,我們將介紹如何安裝、解除安裝或重設WindowsServerBackup。如何重置Windows伺服器備份如果您的伺服器備份遇到問題,備份所需時間過長,或無法存取已儲存的文件,那麼您可以考慮重新設定WindowsServer備份設定。要重設Windows

hosts檔案刪了怎麼恢復 hosts檔案刪了怎麼恢復 Feb 22, 2024 pm 10:48 PM

標題:hosts檔案刪除後如何恢復摘要:hosts檔案是作業系統中非常重要的一個文件,用於將網域名稱對應到IP位址。如果不小心將hosts檔案刪除了,可能會導致上網無法存取特定網站或其他網路問題。本文將介紹如何在Windows和Mac作業系統中復原被誤刪的hosts檔案。內文:一、Windows作業系統中恢復hosts檔案Windows作業系統中的hosts文

ghost怎麼備份系統-ghost備份教學 ghost怎麼備份系統-ghost備份教學 Mar 06, 2024 pm 04:30 PM

近期有很多小夥伴諮詢小編ghost怎麼備份系統,接下來就讓我們一起學習ghost備份系統的方法教程,希望可以幫助大家。 1、運行Ghost後,點選“OK”,如圖所示。 2.依序點選「Local」→「Partition」→「ToImage」(意為:本地→分割區→到鏡像檔),如圖所示。 3.出現選擇本機硬碟窗口,點選要備份的分割區所在硬碟,再點選“OK”,如圖所示。 4.出現選擇來源分割區視窗(來源分割區就是你要備份的那個分割區),點選系統所​​在的分割區(通常為1區,一定要弄準),再點選“OK”,如圖所示。 5.此時彈

GitLab的程式庫備份與復原功能及實作步驟 GitLab的程式庫備份與復原功能及實作步驟 Oct 20, 2023 pm 12:04 PM

GitLab是一個開源的程式碼託管平台,提供了豐富的功能,包括程式碼庫備份和還原。程式碼庫備份是確保程式碼安全的重要步驟之一,它可以幫助我們在發生意外情況時恢復資料。本文將介紹GitLab的程式碼庫備份和復原功能,並提供對應的實作步驟和程式碼範例。 GitLab的程式碼庫備份功能GitLab提供了兩種類型的備份:增量備份和全量備份。增量備份:增量備份是指只備份最新變更的數據

如何在麒麟作業系統上進行系統備份與還原? 如何在麒麟作業系統上進行系統備份與還原? Aug 07, 2023 pm 02:22 PM

如何在麒麟作業系統上進行系統備份與還原?麒麟作業系統是中國自主研發的開源作業系統,廣泛應用於各種場景。在使用麒麟作業系統時,系統備份和復原是非常重要的任務。備份系統可防止因故障或誤操作而導致資料遺失,而係統復原則可在系統崩潰時快速還原正常功能。本文將詳細介紹如何在麒麟作業系統上進行系統備份和恢復,並附上相關程式碼範例。備份系統為了備份整個系統,我們可以

See all articles