Précédent   Forum des professionnels en informatique > Bases de données > Oracle
Oracle Forum Oracle : le serveur, les outils, ... Voir F.A.Q Oracle Tutoriels Oracle
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 31/08/2007, 09h55   #1
Invité de passage
 
Inscription : juin 2007
Messages : 7
Détails du profil
Informations forums :
Inscription : juin 2007
Messages : 7
Points : 2
Points : 2
Envoyer un message via MSN à rlegeas
Par défaut Oracle 10gR2 Encore un autre problème RMAN-06023

Bonjour à tous,

Après avoir recherché sur ce forum et sur autres Oracle, étant débutant avec l'outil RMAN, je suis un peu embêté sur ce point...
Mon SGBB est Oracle 10gR2, dont le filesystem a crashé il y a 2 semaines et a depuis été remonté. Reste maintenant à restaurer la base depuis les sauvegardes RMAN (dont je n'ai aucune connaissance).

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
 
RMAN> restore controlfile FROM '/swapcom/flash_recovery_area/SWAPCOM/backupset/backupset/2007_08_02/o1_mf_ncsn1_TAG20070802T172400_3c3yckh7_.bkp';
 
Starting restore at 30-AUG-07
USING channel ORA_DISK_1
 
channel ORA_DISK_1: restoring control file
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
output filename=/export/swapcom/oracle/oradata/swapcom/swapcom/control01.ctl
output filename=/export/swapcom/oracle/oradata/swapcom/swapcom/control02.ctl
output filename=/export/swapcom/oracle/oradata/swapcom/swapcom/control03.ctl
Finished restore at 30-AUG-07
 
RMAN> restore spfile FROM '/swapcom/flash_recovery_area/SWAPCOM/backupset/backupset/2007_08_02/o1_mf_ncsn1_TAG20070802T172400_3c3yckh7_.bkp';
 
Starting restore at 30-AUG-07
USING channel ORA_DISK_1
 
channel ORA_DISK_1: autobackup found: /swapcom/flash_recovery_area/SWAPCOM/backupset/backupset/2007_08_02/o1_mf_ncsn1_TAG20070802T172400_3c3yckh7_.bkp
channel ORA_DISK_1: SPFILE restore FROM autobackup complete
Finished restore at 30-AUG-07
 
RMAN> startup mount
 
DATABASE IS already started
DATABASE mounted
released channel: ORA_DISK_1
 
RMAN> restore DATABASE;
 
Starting restore at 30-AUG-07
Starting implicit crosscheck backup at 30-AUG-07
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=157 devtype=DISK
Crosschecked 62 objects
Finished implicit crosscheck backup at 30-AUG-07
 
Starting implicit crosscheck copy at 30-AUG-07
USING channel ORA_DISK_1
Crosschecked 8 objects
Finished implicit crosscheck copy at 30-AUG-07
 
USING channel ORA_DISK_1
 
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 08/30/2007 15:24:59
RMAN-06026: some targets NOT found - aborting restore
RMAN-06023: no backup OR copy of datafile 4 found TO restore
RMAN-06023: no backup OR copy of datafile 3 found TO restore
RMAN-06023: no backup OR copy of datafile 2 found TO restore
RMAN-06023: no backup OR copy of datafile 1 found TO restore
Merci beaucoup pour toute idée qui me permettrait de me sortir de cette situation...
rlegeas est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 31/08/2007, 10h33   #2
Rédacteur/Modérateur
 
Avatar de orafrance
 
Inscription : janvier 2004
Messages : 15 861
Détails du profil
Informations personnelles :
Âge : 35

Informations forums :
Inscription : janvier 2004
Messages : 15 861
Points : 16 212
Points : 16 212
les fichiers de sauvegarde ont bien été restauré ?
orafrance est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 31/08/2007, 10h37   #3
Invité de passage
 
Inscription : juin 2007
Messages : 7
Détails du profil
Informations forums :
Inscription : juin 2007
Messages : 7
Points : 2
Points : 2
Envoyer un message via MSN à rlegeas
J'ai effectivement restauré les fichiers de sauvegarde depuis la bande sur un espace de mon serveur, et quand je fais :
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 
RMAN>list backup of DATABASE;
 
BS KEY  Type LV Size       Device Type Elapsed Time Completion Time
------- ---- -- ---------- ----------- ------------ ---------------
135     Incr 1  53.38M     DISK        00:00:00     16-JUL-07
        BP KEY: 135   STATUS: AVAILABLE  Compressed: YES  Tag: TAG20070716T010614
        Piece Name: /swapcom/flash_recovery_area/SWAPCOM/backupset/backupset/2007_07_16/o1_mf_nnnd1_TAG20070716T010614_39ob3dmk_.bkp
  List of Datafiles IN backup SET 135
  File LV Type Ckp SCN    Ckp Time  Name
  ---- -- ---- ---------- --------- ----
  1    1  Incr 103691225  16-JUL-07 /export/swapcom/oracle/oradata/swapcom/swapcom/system01.dbf
  2    1  Incr 103691225  16-JUL-07 /export/swapcom/oracle/oradata/swapcom/swapcom/undotbs01.dbf
  3    1  Incr 103691225  16-JUL-07 /export/swapcom/oracle/oradata/swapcom/swapcom/sysaux01.dbf
  4    1  Incr 103691225  16-JUL-07 /export/swapcom/oracle/oradata/swapcom/swapcom/users01.dbf
  5    1  Incr 103691225  16-JUL-07 /export/swapcom/oracle/oradata/swapcom/DMC_01.dbf
  6    1  Incr 103691225  16-JUL-07 /export/swapcom/oracle/oradata/swapcom/DETECTION_01.dbf
  7    1  Incr 103691225  16-JUL-07 /export/swapcom/oracle/oradata/swapcom/MMG_01.dbf
  8    1  Incr 103691225  16-JUL-07 /export/swapcom/oracle/oradata/swapcom/DMC_TEST_01.dbf
J'ai plusieurs listes de ce type, je n'ai mis que la dernière... Mais je ne sais pas trop interpréter ce résultat...

Merci pour ton aide
rlegeas est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 23h52.


 
 
 
 
Partenaires

Hébergement Web