Restore/recovery of database HRCS90 how?
People,
Hello. On December 2, 2013, I backed up my instance of database with RMAN with Oracle Linux 5 HRCS90 as below:
SQL > bootable media. (HRCS database is mounted but is not open.)
SQL > "exit";
[user@linux bin] $. / rman
RMAN > Connect target;
RMAN > configure channel device type disk format ' / backup_database_instance_HRCS90/full_%0_%s_%p'; (backup_database_instance_HRCS90 is the directory to store the backup files)
RMAN > configure retention policy to recovery of 360 days window;
RMAN > set up automatic backup of control file;
RMAN > show all.
RMAN > backup database;
Then database backup is running properly. The 2 files 'full_0doqhbqc_13_1' and
"full_0eoqhce9_14_1" are saved in the /backup_database_instance_HRCS90 directory.
Because my HRCS90 database has been damaged, I need to restore the database to HRCS90 until the time 02-Dec_13. My questions are:
First of all, I have to delete my current instance of the database HRCS90 which is corrupt?
Secondly, I just do the follwing 2 commands one by one to restore the database:
RMAN > restore database;
RMAN > restore database;
Thirdly, the commands above 2 restore database HRCS90 in the 2 files automatically in the directory /backup_database_instance_HRCS90 on December 2, 2013?
Finally, if the above 2 commands are not correct, how do I restore the database correctly on December 2, 2013?
Thanks in advance.
Hello
The control used when retrieving file contains references to files created after CAMILLE.
It is possible to make a DBPITR using a current copy of the control file or a copy that contains files created after the DBPITR. However, some additional steps are necessary to avoid the ORA-1248.
Following article will help you.
ORA-1248 by DBPITR using a current controlfile (Doc ID 1558515.1)
Thank you
Renu
Tags: Database
Similar Questions
-
Restore/recovery of database HRCS90 question: psimage2.dbf
People,
Hello. On December 2, 2013, I backed up my instance of database with RMAN with Oracle Linux 5 HRCS90. the backup of the database to run correctly. 2 files 'full_0doqhbqc_13_1' and 'full_0eoqhce9_14_1' are saved in the /backup_database_instance_HRCS90 directory.
Because my HRCS90 database has been damaged, I need to restore the database to HRCS90 until the time 02-Dec_13 when it is saved.First, do not use SET up to THAT. I have run the commands below:
RMAN > CONNECT TARGET;
RMAN > RESTORE database;
The system is in place the error message as below:
RMAN-06956: create the data file failed; Retry after the withdrawal of the /u01/oradata/HRCS90/psimage2.dbf of the OS.
So, I delete the /u01/oradata/HRCS90/psimage2.dbf file and do not have a copy of it.I run RESTORE DATABASE and the psimage2.dbf file is re-created.
The output from the RESTORE DATABASE command is:
Restoration complete, duration: 00:15:54
Finished restore at February 1, 14.
Then I run the following command:
RMAN > RECOVER DATABASE;
Its release: WARNING: media recovery until all SNA 1947113. Finished recover at February 3, 14.Second time, because I need the database prior to 12/02/2013 when she has been saved, I run the command below:
RMAN > RUN {SET until TIME ' to_date (February 12, 2013: 00:04:56 ',' DD-MM-YYYY: HH24:MI:SS') ";} RESTORE THE DATABASE ;}
The commands run correctly and restore complete above.
Then I run the command below:SQL > ALTER DATABASE OPEN RESETLOGS;
His output: failure to change the db command. File 121 was created in the future of incomplete recovery. Data file 121: u01/oradata/HRCS90/psimage2.dbf.
RMAN > RECOVER NOREDO of DATABASE;
Its release: recover command failed. Data file 121 must be restored.
121 data file is the u01/oradata/HRCS90/psimage2.dbf file. I have made sure the directory/u01/oradata/HRCS90/has rwx for all users and groups permissions.
RESTORE DATABASE SET up THAT do not recreate the file psimage2.dbf RESTORE DATABASE while recreate the file psimage2.dbf.I deleted the psimage2.dbf file and cannot resume. I can't find the ORA-1248 by DBPITR article using a current controlfile (Doc ID 1558515.1).
My question is:
Any folk can tell me how to RESTORE/RECOVERY of database HRCS90 with the VALUE up to THAT in other way for example using the file command?
or how to fix psimage2.dbf file that has been deleted by me?
Thanks in advance.
Congratulations! Your database is open so not required recovery (recovery database noredo).
I'm glad that it worked for you. Since you open this database with reset logs, it is recommended that you take a Level0 backup costs.
HTH
Anuj -
Restore/recovery of database without a backup controlfile
Hello
We can get so we just all part of the original datafile backup / restore our database on the new server without backup controlfile?
Thank you
Published by: Gerard on June 27, 2010 14:51
Published by: Gerard on June 27, 2010 15:38RESTORE CONTROLFILE FROM 'NameOfBackupPiece';
Hemant K Collette
-
urgent server won't boot up, how rman restore/recovery?
Hello
Reboot server SA will not start server.
s/n cannot access server.
the worst case:
If SA want to rebuild a new server, reinstall the oracle database, is there docs to show me how to restore/recovery of database using rman of rman backup files in the old server records.
(we do not catalog rman, just the control file)
Thank you very much!
If SA want to rebuild a new server, reinstall the oracle database, is there docs to show me how to restore/recovery of database using rman of rman backup files in the old server records.
Yes - there are a LOT of docs on the web. Just use your favorite search engine and the search for them. They are EASY to find.
But the SMARTEST thing would be to find the problem with the original database and fix it.
-
How can I restore recovery d ' training on hp pavilion dv6-2155dx after format?
How can I restore recovery d ' training on hp pavilion dv6-2155dx after format?
Hello
You can not restore
It was photographed on your hard drive by HP during the fabrication of your machine and cannot be replaced
Buy HP recovery disks instead
read this:
Contact HP and ask them to send you in vista recovery disks to reinstall the operating system back as it was when you bought it
they do it for a nominal cost of $
-
How to use backups RMAN to restore a RAC database to single instance on another host?
How to use backups Rman to restore a RAC database to single instance on another host?
I tried to copy these inline for you:
------------
Backups RMAN disk HowTo restore database RAC to single Instance on another node (Doc ID 415579.1)
Down
-
lost control file and datafile addeed restore/recovery without loss of data
Here, I tried the following
created a new table called t2 and made sure the data went to a specific tablespace...
has taken a level 0 backup
remove the control file
couple of datafile to above tablespace was added and then insert more data
then went out to restore the database... but datafile and control file always could not be open? What is wrong here...
-wnet to session 2 and renamed datafile for file unammedSQL> @datafile -- list of datafile Tablespace File Typ Tablespac File Stat Used MB Free MB FILE_MB MAXMB Datafile_name FILE_ID AUT ---------- -------- --------- --------- ---------- ---------- ---------- -------- ------------------------------ ---------- --- UNDOTBS1 Datafile ONLINE AVAILABLE 16 84 100 1,024 /data/trgt/undotbs01.dbf 3 YES USERS Datafile ONLINE AVAILABLE 1153 895 2048 3,072 /data3/trgt/user02.dbf 5 YES CNT_TST Datafile ONLINE AVAILABLE 1 9 10 0 /data3/trgt/cnt_tst01.dbf 7 NO SYSAUX Datafile ONLINE AVAILABLE 626 35 660 32,768 /data/trgt/sysaux01.dbf 2 YES USERS Datafile ONLINE AVAILABLE 2031 17 2048 2,048 /data3/trgt/move/users01.dbf 4 YES SYSTEM Datafile ONLINE AVAILABLE 712 58 770 32,768 /data/trgt/system01.dbf 1 YES USERS Datafile ONLINE AVAILABLE 65 35 100 32,768 /data3/trgt/users03.dbf 6 YES 7 rows selected. -- new table is created called t2 and its going into TS called cnt_tst SQL> CREATE TABLE TEST.T2 ( C1 DATE, C2 NUMBER, C3 NUMBER, C4 VARCHAR2(300 BYTE) ) TABLESPACE cnt_tst; 2 3 4 5 6 7 8 Table created. -- data inserted SQL> INSERT INTO test.T2 SELECT * FROM (SELECT SYSDATE, ROWNUM C2, DECODE(MOD(ROWNUM,100),99,99,1) C3, RPAD('A',300,'A') C4 FROM DUAL CONNECT BY LEVEL <= 10000) ; 2 3 4 5 6 7 8 9 10 11 12 13 14 15 10000 rows created. SQL> commit; Commit complete. -- to check of cnt_tst has any free space or not, as we can see its full SQL> @datafile Tablespace File Typ Tablespac File Stat Used MB Free MB FILE_MB MAXMB Datafile_name FILE_ID AUT ---------- -------- --------- --------- ---------- ---------- ---------- -------- ------------------------------ ---------- --- UNDOTBS1 Datafile ONLINE AVAILABLE 16 84 100 1,024 /data/trgt/undotbs01.dbf 3 YES USERS Datafile ONLINE AVAILABLE 1153 895 2048 3,072 /data3/trgt/user02.dbf 5 YES SYSAUX Datafile ONLINE AVAILABLE 626 35 660 32,768 /data/trgt/sysaux01.dbf 2 YES USERS Datafile ONLINE AVAILABLE 2031 17 2048 2,048 /data3/trgt/move/users01.dbf 4 YES SYSTEM Datafile ONLINE AVAILABLE 712 58 770 32,768 /data/trgt/system01.dbf 1 YES USERS Datafile ONLINE AVAILABLE 65 35 100 32,768 /data3/trgt/users03.dbf 6 YES CNT_TST Datafile ONLINE AVAILABLE 10 0 10 0 /data3/trgt/cnt_tst01.dbf 7 NO 7 rows selected. SQL> select count(*) from test.t2; COUNT(*) ---------- 10000 1 row selected. -- to get a count and max on date SQL> select max(c1) from test.t2; MAX(C1) ------------------ 29-feb-12 13:47:52 1 row selected. SQL> -- AT THIS POINT A LEVEL 0 BACKUP IS TAKEN (using backup database plus archivelog) SQL> -- now control files are removed SQL> select name from v$controlfile; NAME -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- /ctrl/trgt/control01.ctl /ctrl/trgt/control02.ctl 2 rows selected. SQL> SQL> ! rm /ctrl/trgt/control01.ctl SQL> ! rm /ctrl/trgt/control02.ctl SQL> ! ls -ltr /ctrl/trgt/ ls: /ctrl/trgt/: No such file or directory SQL> -- new datafile is added to CNT_TST TABLESPACE and new data is added as well SQL> ALTER TABLESPACE CNT_TST ADD DATAFILE '/data3/trgt/CNT_TST02.dbf' SIZE 100M AUTOEXTEND OFF; Tablespace altered. SQL> ALTER SYSTEM CHECKPOINT; System altered. SQL> alter system switch logfile; System altered. SQL> / System altered. SQL> / System altered. SQL> ALTER TABLESPACE CNT_TST ADD DATAFILE '/data3/trgt/CNT_TST03.dbf' SIZE 100M AUTOEXTEND OFF; Tablespace altered. SQL> INSERT INTO test.T2 SELECT * FROM (SELECT SYSDATE, ROWNUM C2, DECODE(MOD(ROWNUM,100),99,99,1) C3, RPAD('A',300,'A') C4 FROM DUAL CONNECT BY LEVEL <= 10000) ; 2 3 4 5 6 7 8 9 10 11 12 13 14 15 10000 rows created. SQL> / 10000 rows created. SQL> commit; Commit complete. SQL> INSERT INTO test.T2 SELECT * FROM (SELECT SYSDATE, ROWNUM C2, DECODE(MOD(ROWNUM,100),99,99,1) C3, RPAD('A',300,'A') C4 FROM DUAL CONNECT BY LEVEL <= 40000) ; 2 3 4 5 6 7 8 9 10 11 12 13 14 15 40000 rows created. SQL> commit; Commit complete. SQL> @datafile -- to make sure new datafile has been registered with the DB Tablespace File Typ Tablespac File Stat Used MB Free MB FILE_MB MAXMB Datafile_name FILE_ID AUT ---------- -------- --------- --------- ---------- ---------- ---------- -------- ------------------------------ ---------- --- CNT_TST Datafile ONLINE AVAILABLE 9 91 100 0 /data3/trgt/CNT_TST03.dbf 9 NO UNDOTBS1 Datafile ONLINE AVAILABLE 16 84 100 1,024 /data/trgt/undotbs01.dbf 3 YES USERS Datafile ONLINE AVAILABLE 1153 895 2048 3,072 /data3/trgt/user02.dbf 5 YES CNT_TST Datafile ONLINE AVAILABLE 9 91 100 0 /data3/trgt/CNT_TST02.dbf 8 NO SYSAUX Datafile ONLINE AVAILABLE 626 35 660 32,768 /data/trgt/sysaux01.dbf 2 YES USERS Datafile ONLINE AVAILABLE 2031 17 2048 2,048 /data3/trgt/move/users01.dbf 4 YES SYSTEM Datafile ONLINE AVAILABLE 712 58 770 32,768 /data/trgt/system01.dbf 1 YES USERS Datafile ONLINE AVAILABLE 65 35 100 32,768 /data3/trgt/users03.dbf 6 YES CNT_TST Datafile ONLINE AVAILABLE 10 0 10 0 /data3/trgt/cnt_tst01.dbf 7 NO 9 rows selected. -- now the count and max ... note count before backup was 10000 and max(c1) was diff SQL> select count(*) from test.t2; COUNT(*) ---------- 70000 1 row selected. SQL> select max(c1) from test.t2; MAX(C1) ------------------ 29-feb-12 13:58:25 1 row selected. SQL> -- now restore starts SQL> shutdown abort; ORACLE instance shut down. SQL> exit Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production With the Partitioning, OLAP, Data Mining and Real Application Testing options [oracle@berry trgt]$ rman Recovery Manager: Release 11.2.0.1.0 - Production on Wed Feb 29 14:01:48 2012 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. RMAN> connect catalog rman/pass@rcat connected to recovery catalog database RMAN> connect target / connected to target database (not started) RMAN> startup nomount; Oracle instance started Total System Global Area 188313600 bytes Fixed Size 1335388 bytes Variable Size 125833124 bytes Database Buffers 58720256 bytes Redo Buffers 2424832 bytes RMAN> restore controlfile from autobackup; Starting restore at 29-FEB-12 14:02:37 allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=20 device type=DISK recovery area destination: /backup/trgt/flash_recovery_area database name (or database unique name) used for search: TRGT channel ORA_DISK_1: no AUTOBACKUPS found in the recovery area channel ORA_DISK_1: looking for AUTOBACKUP on day: 20120229 channel ORA_DISK_1: AUTOBACKUP found: /backup/trgt/backup/cont_c-3405317011-20120229-09 channel ORA_DISK_1: restoring control file from AUTOBACKUP /backup/trgt/backup/cont_c-3405317011-20120229-09 channel ORA_DISK_1: control file restore from AUTOBACKUP complete output file name=/ctrl/trgt/control01.ctl output file name=/ctrl/trgt/control02.ctl Finished restore at 29-FEB-12 14:02:39 RMAN> alter database mount; database mounted released channel: ORA_DISK_1 RMAN> recover database; Starting recover at 29-FEB-12 14:02:55 Starting implicit crosscheck backup at 29-FEB-12 14:02:55 allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=20 device type=DISK Crosschecked 96 objects Finished implicit crosscheck backup at 29-FEB-12 14:02:57 Starting implicit crosscheck copy at 29-FEB-12 14:02:57 using channel ORA_DISK_1 Finished implicit crosscheck copy at 29-FEB-12 14:02:57 searching for all files in the recovery area cataloging files... no files cataloged using channel ORA_DISK_1 starting media recovery archived log for thread 1 with sequence 13 is already on disk as file /redo_archive/trgt/online/redo01.log archived log for thread 1 with sequence 14 is already on disk as file /redo_archive/trgt/online/redo02.log archived log for thread 1 with sequence 15 is already on disk as file /redo_archive/trgt/online/redo03.log archived log file name=/redo_archive/trgt/archive/1_10_776523284.dbf thread=1 sequence=10 archived log file name=/redo_archive/trgt/archive/1_10_776523284.dbf thread=1 sequence=10 archived log file name=/redo_archive/trgt/archive/1_11_776523284.dbf thread=1 sequence=11 archived log file name=/redo_archive/trgt/archive/1_12_776523284.dbf thread=1 sequence=12 archived log file name=/redo_archive/trgt/online/redo01.log thread=1 sequence=13 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of recover command at 02/29/2012 14:02:59 ORA-01422: exact fetch returns more than requested number of rows RMAN-20505: create datafile during recovery RMAN-11003: failure during parse/execution of SQL statement: alter database recover logfile '/redo_archive/trgt/online/redo01.log' ORA-00283: recovery session canceled due to errors ORA-01244: unnamed datafile(s) added to control file by media recovery ORA-01110: data file 9: '/data3/trgt/CNT_TST03.dbf' RMAN> -- wnet to session 2 and renamed datafile from unammed
After before was done, went back to session 1 and I tried recovered the DBSQL> select name from v$datafile; NAME -------------------------------------------------------------------------------- /data/trgt/system01.dbf /data/trgt/sysaux01.dbf /data/trgt/undotbs01.dbf /data3/trgt/move/users01.dbf /data3/trgt/user02.dbf /data3/trgt/users03.dbf /data3/trgt/cnt_tst01.dbf /oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00008 /oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00009 9 rows selected. SQL> alter database create datafile '/oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00008' as '/data3/trgt/CNT_TST02.dbf'; Database altered. SQL> alter database create datafile '/oracle/app/product/11.2.0/dbhome_1/dbs/UNNAMED00009' as '/data3/trgt/CNT_TST03.dbf'; Database altered. SQL> select name from v$datafile; NAME -------------------------------------------------------------------------------- /data/trgt/system01.dbf /data/trgt/sysaux01.dbf /data/trgt/undotbs01.dbf /data3/trgt/move/users01.dbf /data3/trgt/user02.dbf /data3/trgt/users03.dbf /data3/trgt/cnt_tst01.dbf /data3/trgt/CNT_TST02.dbf /data3/trgt/CNT_TST03.dbf 9 rows selected.
RMAN> recover database; Starting recover at 29-FEB-12 14:06:16 using channel ORA_DISK_1 starting media recovery archived log for thread 1 with sequence 13 is already on disk as file /redo_archive/trgt/online/redo01.log archived log for thread 1 with sequence 14 is already on disk as file /redo_archive/trgt/online/redo02.log archived log for thread 1 with sequence 15 is already on disk as file /redo_archive/trgt/online/redo03.log archived log file name=/redo_archive/trgt/online/redo01.log thread=1 sequence=13 archived log file name=/redo_archive/trgt/online/redo02.log thread=1 sequence=14 archived log file name=/redo_archive/trgt/online/redo03.log thread=1 sequence=15 media recovery complete, elapsed time: 00:00:00 Finished recover at 29-FEB-12 14:06:17 RMAN> alter database open resetlogs; database opened new incarnation of database registered in recovery catalog starting full resync of recovery catalog full resync complete starting full resync of recovery catalog full resync complete RMAN> exit Recovery Manager complete. [oracle@berry trgt]$ [oracle@berry trgt]$ [oracle@berry trgt]$ sq SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 29 14:07:18 2012 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> alter session set NLS_DATE_FORMAT="dd-mon-yy hh24:mi:ss: 2 SQL> SQL> alter session set NLS_DATE_FORMAT="dd-mon-yy hh24:mi:ss"; Session altered. SQL> select count(*) from test.t2; select count(*) from test.t2 * ERROR at line 1: ORA-00376: file 8 cannot be read at this time ORA-01110: data file 8: '/data3/trgt/CNT_TST02.dbf' SQL> select max(c1) from test.t2; select max(c1) from test.t2 * ERROR at line 1: ORA-00376: file 8 cannot be read at this time ORA-01110: data file 8: '/data3/trgt/CNT_TST02.dbf' SQL> alter database datafile 8 online; alter database datafile 8 online * ERROR at line 1: ORA-01190: control file or data file 8 is from before the last RESETLOGS ORA-01110: data file 8: '/data3/trgt/CNT_TST02.dbf' {code} so what did i do wrong in my recovery that i could not get my data?? how can i avoid this?? and restore my DB? Edited by: user8363520 on Feb 29, 2012 12:24 PM
user8363520 wrote:
so can get us this or can't do?You seem to have:
(a) old version of data through rman backup files
(b) old version of the control file
(c) Backed archived redo logs
(d) recovery archived logs that have been recently generated
(e) current online redo logsTherefore, you should be able to bring back the database in the State wherever it was when you made the abandonment.
I don't do enough laps to be able to cite details on the commands to use (and I often find myself using the command line recovery after that file of rman restore, but the steps you need must be)Take a copy of security of the data current, archived and online redo log files.
Restore the backup control file, data files, and archived recovery logs
Recover the database by using up to cancel backup control file
You have to do 'create datafile' bit as the collection hits the 'missing file' bit
You will need to provide the names of the archived and log files online redo recovery reached their
(although, presumably, you could leave copies of the logs stored in the default location)Concerning
Jonathan Lewis
http://jonathanlewis.WordPress.com
Author: core Oracle -
RMAN-20001: target not found in the recovery catalog database
I'm practicing the loss of all control files. I have backups of catalog rman configured for controlfile autobackup. So far, I did this.
RMAN > startup nomount;
Oracle instance started
Total System Global Area 209715200 bytes
Bytes of size 1272864 fixed
155190240 variable size bytes
Buffers 50331648 database bytes
Redo buffers 2920448 bytes
RMAN > restore controlfile autobackup.
From restoration to SEPT. 08.-10
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 156 devtype = DISK
field of recovery destination: / u02/flash_recovery
name of database (or unique name of database) used for research: TEST
channel ORA_DISK_1: autobackup found in the recovery area
channel ORA_DISK_1: autobackup found: /u02/flash_recovery/TEST/autobackup/2009_12_09/o1_mf_s_705171034_5l0kgv4o_.bkp
channel ORA_DISK_1: restore full automatic backup of control file
output filename=/u02/control_files/TEST/control02.ctl
output filename=/u03/oradata/TEST/control03.ctl
Restoration finished in 08-SEVEN.-10
RMAN > change the editing of the database;
mounted database
output channel: ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure to modify the order db at 08/09/2010 14:54:50
RMAN-06004: error ORACLE recovery catalog database: RMAN-20001: target not found in the recovery catalog database
I guess it has something to do with the DBID but... I don't have and I do not know how to find.Hello
Try this
RMAN > Connect target /.
RMAN > Connect catalog rman/rman@test
RMAN > startup nomount;
RMAN > list backup of controlfile; -
system restore points when they and how do I remove them
Remember - this is a public forum so never post private information such as numbers of mail or telephone!
Behold, it is I reinstalled Vista and now my portion of my hard drive recovery is almost full and he tells me to delete some of my restore points which could clear enough space to take care of the necessary space. I tried to find files to restore and no luck in that area someone can lend a hand in this area pease.
Ideas:
- You have problems with programs
- Error messages
- Recent changes to your computer
- What you have already tried to solve the problem
Hello
Don't forget to check with the system manufacturer for instructions, as the recovery of your system and the
Restore points should not have one impact on the other. Did you use OEM manufacturer system
disc to re - install Windows?Phantom memory also holds your restore VSSadmin points it defines parameters.
How to create a Vista System Restore Point
http://www.Vistax64.com/tutorials/76332-system-restore-point-create.htmlHow to make a Vista system restore
http://www.Vistax64.com/tutorials/76905-System-Restore-how.html
How to turn System Restore on or off in Vista
http://www.Vistax64.com/tutorials/66971-system-restore.htmlAdjustment of the amount of disk space, System Restore uses for restore points
http://bertk.MVPs.org/html/diskspacev.htmlHow to change how much Space System Restore can use
http://www.Vistax64.com/tutorials/76227-system-restore-disk-space.html
http://www.Petri.co.il/change_amount_of_disk_space_used_by_system_restore_in_vista.htmShadowStorage vssadmin commands
http://TechNet.Microsoft.com/en-us/library/cc755866 (WS.10) .aspx
http://technet2.Microsoft.com/WindowsServer/en/library/89d2e411-6977-4808-9AD5-476c9eaecaa51033.mspx?mfr=trueGuide to Windows Vista system restore
http://www.bleepingcomputer.com/tutorials/tutorial143.htmlExpiration errors occur in Volume Shadow Copy service writers, and shadow copies are lost during
backup and at the time when there are high levels of input/output
http://support.Microsoft.com/?ID=826936A good utility:
Explorer of the shadow - free
http://www.ShadowExplorer.com/-Free - CCleaner can also see Restore Points and remove everything except the last.
Tools - System Restore
http://www.Piriform.com/CCleanerCCleaner - Forums
http://Forum.Piriform.com/Hope these helps.
Rob Brown - MS MVP - Windows Desktop Experience: Bike - Mark Twain said it right.
-
Problem with the restoration of the database
Hello world
I have a strange problem while restoring the database with rman. The problem is that the data are not restored at all.
Let me show you what I do step by step:
1. create the test table:
$ sqlplus / as sysdba
SQL * more: Production of release 11.2.0.1.0 Thu Apr 17 22:51:58 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > create table test (ID);
Table created.
SQL > insert into values test (1);
1 line of creation.
SQL > commit;
Validation complete.
2. backup the current database:
rman target $ /.
Recovery Manager: release 11.2.0.1.0 - Production Fri Apr 17 22:56:44 2014
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: ORACLE (DBID = 1672007929)
RMAN > backup database;
From 17 April 14 backup
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 6 type of device = DISK
channel ORA_DISK_1: starting full datafile from backup set
channel ORA_DISK_1: specifying datafile (s) in the backup set
Enter a number of file datafile = 00001 name=/u01/app/oracle/oradata/oracle/system01.dbf
Enter a number of file datafile = name=/u01/app/oracle/oradata/oracle/sysaux01.dbf 00002
Enter a number of file datafile = name=/u01/app/oracle/oradata/oracle/undotbs01.dbf 00003
Enter a number of file datafile = 00005 name=/u01/app/oracle/oradata/oracle/example01.dbf
Enter a number of file datafile = name=/u01/app/oracle/oradata/oracle/users01.dbf 00004
channel ORA_DISK_1: from room 1 to 17 April 14
channel ORA_DISK_1: finished piece 1 to 17 April 14
piece handle=/u01/app/oracle/flash_recovery_area/ORACLE/backupset/2014_04_17/o1_mf_nnndf_TAG20140417T230734_9o1j980f_.bkp tag = TAG20140417T230734 comment = NONE
channel ORA_DISK_1: complete set of backups, time: 00:00:57
channel ORA_DISK_1: starting full datafile from backup set
channel ORA_DISK_1: specifying datafile (s) in the backup set
including the current control in the backup set file
including current SPFILE in the backup set
channel ORA_DISK_1: from room 1 to 17 April 14
channel ORA_DISK_1: finished piece 1 to 17 April 14
piece handle=/u01/app/oracle/flash_recovery_area/ORACLE/backupset/2014_04_17/o1_mf_ncsnf_TAG20140417T230734_9o1jc09s_.bkp tag = TAG20140417T230734 comment = NONE
channel ORA_DISK_1: complete set of backups, time: 00:00:01
Backup finished on 17 April 143. change the data in the test table
$ sqlplus / as sysdba
SQL * more: Production of release 11.2.0.1.0 Thu Apr 17 23:10:16 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing optionsSQL > select * from test;
ID
----------
1SQL > update test set ID = 2;
1 line update.
SQL > commit;
Validation complete.
4. restore the database
RMAN target /.
Recovery Manager: release 11.2.0.1.0 - Production Fri Apr 17 23:11:15 2014
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: ORACLE (DBID = 1672007929)
RMAN > shutdown immediate;
using the control file of the target instead of recovery catalog database
database closed
dismounted database
Instance Oracle to close
RMAN > bootable media.
connected to the database target (not started)
Oracle instance started
mounted database
Total System Global Area 835104768 bytes
Bytes of size 2217952 fixed
629147680 variable size bytes
197132288 of database buffers bytes
Redo buffers 6606848 bytes
RMAN > restore database;
From restoration to April 17, 14
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 156 type device = DISK
channel ORA_DISK_1: from the restore backup set data file
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
channel ORA_DISK_1: restore datafile 00001 to /u01/app/oracle/oradata/oracle/system01.dbf
channel ORA_DISK_1: restore datafile 00002 to /u01/app/oracle/oradata/oracle/sysaux01.dbf
channel ORA_DISK_1: restore datafile 00003 to /u01/app/oracle/oradata/oracle/undotbs01.dbf
channel ORA_DISK_1: restore datafile 00004 in /u01/app/oracle/oradata/oracle/users01.dbf
channel ORA_DISK_1: restore datafile 00005 to /u01/app/oracle/oradata/oracle/example01.dbf
channel ORA_DISK_1: backup /u01/app/oracle/flash_recovery_area/ORACLE/backupset/2014_04_17/o1_mf_nnndf_TAG20140417T230734_9o1j980f_.bkp piece reading
channel ORA_DISK_1: room handle=/u01/app/oracle/flash_recovery_area/ORACLE/backupset/2014_04_17/o1_mf_nnndf_TAG20140417T230734_9o1j980f_.bkp tag = TAG20140417T230734
channel ORA_DISK_1: restored the backup part 1
channel ORA_DISK_1: restore complete, duration: 00:00:55
Restoration finished in 17 April 14
RMAN > restore database;
To go back to April 17, 14
using channel ORA_DISK_1
starting media recovery
media recovery complete, duration: 00:00:03
Finished recover at April 17, 14
RMAN > sql 'alter database open;
SQL statement: alter database open
5. check if the data has been restored
sqlplus / as sysdba
SQL * more: Production of release 11.2.0.1.0 Thu Apr 17 23:14:39 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing optionsSQL > select * from test;
ID
----------
2Summary:
Data has not changed. Provided the ID is 1, but after the success of data recovery is not restored (ID is always 2).
Can someone help me? What I am doing wrong?
Database is Oracle 11 g with archivelog active
Ol6 2.6.39 Linux OS - 300.17.2.el6uek.x86_64
RMAN > restore database;
To go back to April 17, 14
using channel ORA_DISK_1
starting media recovery
media recovery complete, duration: 00:00:03
Finished recover at April 17, 14
RMAN > sql 'alter database open;
SQL statement: alter database open
5. check if the data has been restored
sqlplus / as sysdba
SQL * more: Production of release 11.2.0.1.0 Thu Apr 17 23:14:39 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing optionsSQL > select * from test;
ID
----------
2Summary:
Data has not changed. Provided the ID is 1, but after the success of data recovery is not restored (ID is always 2).
Can someone help me? What I am doing wrong?
Database is Oracle 11 g with archivelog active
the recovery was successful, but achieved your goal.
There are several options to reach your goal to recover your database to a particular State that is point in time.
1 restore the file of control as noted above. you restore the control file must not be aware of the generated once archivelog that you update your table. IE backup controlfile prior you updatedyour table.
2. do not apply archivelog all during recovery. You can use SNA, SEQUENCE, RESTORE POINT option of the recover command. This option requires that you open your database with resetlog.
read: scene of Flashback and the database Point-in - time recovery
After a restore successful your database (before the recover command), you can "alter database open read-only" to check and confirm the values in the table.
HTH
Tobi
-
People,
Hello. I was installing HCM and Campus Solution 9.0 with 8.53 PeopleTools. Operating system is Oracle Linux 5 and Windows XP. Database server is Oracle11gR1. Because the functional database HRCS90 is written with PT8.52, I need improved to PT8.53.
I use upgrade wizard change (CA). EMF is composed of 4 parts: EMHUB, EMAGENT, CA and bridge update client connection.
According my understaning, there are 5 steps to do as below:
Step 1: Connect to browser and PeopleTools > Public Services > Administration > Options PeopleTools and fill: long environment, name abbreviated environment, type of system.
Step 2: Configure EMHUB.
Step 3: Configure EMAgents
Step 4: Configure CA.
Step 5: Connect client.My database server machine is Oracle Linux 5 and Windows XP-based client computer. The two BONES has the \PT8.53\setup\PsCA\setup.exe file.
Currently, PS user cannot log into the HRCS90 database in the browser. So, my questions are:
First of all, OS which is used to configure the wizard to change? Oracle Linux 5 or Windows XP? The file \PT8.53\setup\PsCA\setup.exe run the Setup program?
Second, because the PS user cannot log into the browser, how do step 1?
Thirdly, I do not have the Oracle client login ID, can I configure CA in my operating system?
Thanks in advance.People,
Hello. I have no PeopleSoft customer connection identifier. So can not use Assistant change to automate the upgrade process. The problem will be solved by myself. Thank you.
-
People,
Hello. I was installing Human Capital and Campus Solution 9.0 with PeopleTools 8.53 with Oracle Linux 5. My database server is Oracle 11 GR 1 material. Because the human database functional and 9.0 Solution Campus is written with 8.52 PeopleTools, I need to upgrade to 8.53.
When I run the Task 4-1-3 script dbtsfix.sqr as below:
Double-click the C:\PT8.53\bin\sqr\ora\BINW\sqrw.exe file and fill in the message:
Report a name: C:\PT8.53\sqr\dbtsfix.sqr
Username: MyName
PWD: mypass
Database: HRCS90
Arguments of report:-ZIFC:\PT8.53\sqr\pssqr.ini-iC:\PT8.53\sqr-oC:\PT8.53\log\dbtsfix.log-garder
After you click OK, the error message is as below:
Cannot open # include file:'setenv.sqc'. No such file or directory. For PeopleSoft SQR: abandonment of the program.
I checked and opened all # include files with Notepad in the C:\PT8.53\sqr directory, but still not the error message above.
My question is:
How to run the script dbtsfix.sqr in a correct way and solve the above error?
Thank you.
I usually have the following parameters in a shortcut to SQRW.exe on my desktop.
[PS_HOME]\bin\sqr\ora\BINW\sqrw.exe-ZIF[PS_HOME]\sqr\pssqr.ini-i [PS_HOME] \sqr\-fC:\temp\output.htm-keep - printer: ht]
If we take a glance at PeopleBooks, the-i parameter indicates where to look for include files:
-Idir_list
Specifies the list of directories looking for PeopleSoft SQR during the processing of the #INCLUDE directive when the include file does not exist in the current directory, and no path is specified for the file. Directory names must be separated by commas (,) or semicolons (;).
For UNIX/Linux-based systems, if your shell uses semicolons as the command delimiter, you must precede each semicolon with a backslash (\). Always add the directory at the end of each directory name character. See the F indicator for a list of characters in the directory, sorted by operating system.
When compared with your settings, I see a difference in this i - parameter
-ZIFC:\PT8.53\sqr\pssqr.ini-IC:\PT8.53\sqr-OC:\PT8.53\log\dbtsfix.log-garder
You may want to try adding a------after the path of the i - parameter. So that would be
-IC:\PT8.53\sqr\
Also, take a look on:
-
Restore XE Oracle Database 10g on another machine
Hello
I have an Oracle XE server on a Windows XP computer, and I want to copy it to a Windows 7 computer.
On XP, I did a backup through the database "backup" of the GUI. The Oracle backup created 3 new folders under C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\
ARCHIVELOG
AUTOBACKUP
BACKUPSET
I installed XE on the Windows 7 machine and it seems to work.
Then I had to face the 3 files to backup on a USB and put them in the folder structure on the new Windows 7 machine. I ran the restoration from the GUI as administrator. Restore failed, and I can't understand why. I don't know what are the sequence numbers.
Now I can't get into Apex or Apex_Admin
Thanks for taking a peek at this.
The contents of the OXE_RESTORE file is as follows:
Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 8 18:33:11 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Windows NT Version V6.1
CPU: 8 - type 586, 4 physical cores
Process affinity: 0x00000000
Memory (success/Total): Ph: 6031 M / 8183 M, Ph + FCP: 13737 M / 16364 M, GOES: 1973M / 2047 M
From debugging disabled
connected to target database: xe (unassembled)
RMAN > set the echo;
2 > restore (spfile to autobackup db_recovery_file_dest = 'C:\oraclexe\app\oracle\flash_recovery_area\');
3 > strength of startup nomount;
4 > restore (automatic backup controlfile);
5 > change the editing of the database;
6 > configure controlfile autobackup.
7 > restore database;
8 >
echo on
From restoration to January 8, 11
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 37 devtype = DISK
destination field of recovery: C:\oraclexe\app\oracle\flash_recovery_area\
name of database (or unique name of database) used for research: XE
channel ORA_DISK_1: autobackup found in the recovery area
channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_. BKP
channel ORA_DISK_1: restore SPFILE full automatic backup
Finished restore at 8 January 11
Oracle instance started
Total System Global Area 805306368 bytes
Bytes of size 1289996 fixed
239075572 variable size bytes
562036736 of database buffers bytes
Redo buffers 2904064 bytes
From restoration to January 8, 11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 36 devtype = DISK
destination field of recovery: C:\oraclexe\app\oracle\flash_recovery_area
name of database (or unique name of database) used for research: XE
channel ORA_DISK_1: autobackup found in the recovery area
channel ORA_DISK_1: autobackup found: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_. BKP
channel ORA_DISK_1: restore full automatic backup of control file
name of the output file = C:\ORACLEXE\ORADATA\XE\CONTROL. DBF
Finished restore at 8 January 11
mounted database
output channel: ORA_DISK_1
RMAN old configuration settings:
CONFIGURE CONTROLFILE AUTOBACKUP ON;
new RMAN configuration settings:
CONFIGURE CONTROLFILE AUTOBACKUP
new RMAN configuration settings are stored successfully
From restoration to January 8, 11
From implicit overlapping Backup 8 January 11
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 35 devtype = DISK
Cut objects 1
Backup of implicit overlap ended in January 8, 11
Starting copy of implicit cross-8 Jan 11
using channel ORA_DISK_1
Copy of implicit overlap finished-8 Jan 11
the search for all files in the recovery area
cataloging files...
cataloging done
List of cataloged files
=======================
File name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_. ARC
File name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_. ARC
File name: C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\AUTOBACKUP\2011_01_07\O1_MF_S_739828107_6LHF2W3X_. BKP
using channel ORA_DISK_1
channel ORA_DISK_1: from datafile backupset restoration
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
restoring datafile 00001 to C:\ORACLEXE\ORADATA\XE\SYSTEM. DBF
restoring datafile 00002 to C:\ORACLEXE\ORADATA\XE\UNDO. DBF
restoring datafile 00003 to C:\ORACLEXE\ORADATA\XE\SYSAUX. DBF
restoring datafile 00004 to C:\ORACLEXE\ORADATA\XE\USERS. DBF
restoring datafile 00005 to C:\ORACLEXE\ORADATA\XE\APEX_1244616068553754.DBF
channel ORA_DISK_1: backup C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_ piece reading. AK3
channel ORA_DISK_1: restored the backup part 1
piece handle = C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\BACKUPSET\2011_01_07\O1_MF_NNNDF_TAG20110107T194642_6LHDZM3X_. Tag BKP = TAG20110107T194642
channel ORA_DISK_1: restore complete, duration: 00:00:56
Finished restore at 8 January 11
Complete recovery manager.
Recovery Manager: Release 10.2.0.1.0 - Production on Sat Jan 8 18:34:37 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Windows NT Version V6.1
CPU: 8 - type 586, 4 physical cores
Process affinity: 0x00000000
Memory (success/Total): Ph: 6021 M / 8183 M, Ph + FCP: 13238 M / 16364 M, GOES: 1973M / 2047 M
From debugging disabled
connected to target database: XE (DBID = 2604800077, is not open)
RMAN > set the echo;
2 > restore database;
3 > alter database open resetlogs;
4 >
echo on
From back-8 Jan 11
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 38 devtype = DISK
starting media recovery
Archive journal 1 sequence 375 thread is already on the disk that the file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_. ARC
archive log thread 1 sequence 376 is already on the disk that the file C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_. ARC
archive log filename = C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_375_6LHF31CQ_. Wire ARC = 1 sequence = 375
archive log filename = C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2011_01_07\O1_MF_1_376_6LHF3DCQ_. Wire ARC = 1 sequence = 376
Cannot find the log archiving
archive log thread = 1 sequence = 377
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the command recover at 08/01/2011 18:34:47
RMAN-20000: abnormal termination of job step
RMAN-06054: recovery of media asking unknown journal: thread 1 seq 377 lowscn 11715842
Complete recovery manager.
Published by: PhilMan2 on January 8, 2011 19:24If you have made a full recovery, with online redo logs (copied on in cool mode).
Good.Hemant K Collette
-
Question of ditch RMAN restore/recovery
Hi all, so here's my situation.
I have two database servers, both running 10.2.0.1 SE on RHEL 4. One is the primary database, and the second is a standby mode. Since it's SE and given there guard is not available, the primary database has archive_lag_target value 30 minutes. The standby database is in a mounted State, and a cron job runs every 30 minutes which catalogues the primary archivelogs and does a recovery of the database to apply the archivelogs. This means that the database pending is to to more than 30 minutes behind the primary.
The other night, the primary database server hung and restarted on its own to almost 450 h, and the last filled archivelog reached about 441 h, (sequence #52113). When the principal server has increased once again, we have tried to launch database errors, but recovered, ora-600/7445 database corruption, so we decided to wait. The last archivelog seq # 52113, has been applied on the eve and passed on the eve of the operations.
The day before is now last up to 441 hours. As the primary database server is stopped at 450 pm, is there a way to always retrieve the changes between 441 pm and 450 MP? If I do a restore/recovery using the backup, the database that results would not be recovered at the same time/scn as data watches, namely the #52113 seq?
Any help would be appreciated.Yes you can.
But be careful you've got errors ora-600/7445, so contacts with the support of oracle first.
Concerning
Asif Kabir -
Is it possible to restore a RMAN full backup on a different/db machine?
I have a DB of Prod (800 f) running 10.2.0.4 and launch the RMAN backup strategy. I am to perform full backups on tape and need to prove that the backups are viable for the restoration. The problem I have is that I can't do any test on the Prod db. My original plan was to create a tablespace and a data file - get the rman backup, delete the data file and restore from the backup. I'm not allowed to do this simple test, while he was susggested we use RMAN to recover from Prod backup set to a different database on another server. Is it still possible? I proved functionaly RMAN can restore in a test environment, but management wants to prove we can restore/recovery of data from production wo affecting primary production of db.
Thank you!!!Hello.
If you have access to metalink take a look at the Doc.
388431.1 (creation database duplicated on a new host). RMAN
* T
Maybe you are looking for
-
Used Firefox (and Xmarks) for many years without problem.Since the upgrade to the latest version of Firefox, I can't create new bookmarks. When I have a Web page 'star', it does not appear in the folder of Unsorted Bookmarks OR at the bottom of my li
-
Laptop keyboard settings changed using the external keyboard
Friends, I have a laptop of Lenovo 410. Recently, I bought an external keyboard (wireless). Changed everything using the keyboard of the post office, laptop keyboard configurations (if I press a letter, he would type another) .is it possible to under
-
Suggestion for Windows XP patch management
Can anyone suggest a way to automate the installation / the patch management for a small network of 9 Windows XP computers that no Active Directory used in an office? I don't want to walk to every computer, every time I need to download and install W
-
screen flickers on each open document, including videos and the internet?
Hello I have problems with my computer laptop xp basically everytime I open a window it's running so slowly, that I can't do anything and I scroll the entire screen flickers and it happens to everything, including videos. Very annoying. Please help s
-
So, I bought the Bluetooth Victsing speaker: http://www.Amazon.ca/GP/product/B00NHDPL2O/ref=s9_simh_gw_p422_d0_i1?pf_rd_m=A3DWYIK6Y9EEQB&pf_rd_s=Desktop-2&pf_rd_r=0AZYXNCMA995ED5G8A7R&pf_rd_t=36701&pf_rd_p=2055621962&pf_rd_i=desktop And when I pair i