Full backup with no archivelog
Hi all10g and 11g,
achivelog enabled
I want to do a backup hot without generating any acrhivelogs. It is this possible?
I want my backupset for completeness than himself and the simplest and smallest single to date copy.
and not whether, redundancy and he has not repeated when restored or maybe the recovery less process as possible.
My procedures are:
I'll tell users to stop treatment at 18:00.
I'll stop listener.ora
I'll stop and start restricting.
I will alter system switch logfile 3 times.
Then run rman backup.
Do you think I will generate the error logs archiving? My goal is really to avoid recovery during the restoration.
Any ideas is much appreciated :)
Thank you
zxy
I want to do a backup hot without generating any acrhivelogs.
Oracle is always do things in the background.
The only way to have a backup that does not require to apply archive logs that are products during the backup is a backup to cold
Tags: Database
Similar Questions
-
I tried to do an incremental backup of level 0 with archivelogs, it failed with the error messages says that cannot recognize the file C:\ARCHIVE\ORCL\4_1_684433700.ARC, the error code was ORA-19625. So I added "overlap archivelog all;" to the backup script and do it again.
This time, he succeeded, but there is always something I'm confused. I created two folders to store the archivelogs, during the process, the archivelogs in the files were not deleted synchronously, for example arhivelog one has been removed from a file, while the same file in the other folder remained. Here is my backup script
RUN {}
ALLOCATE CHANNEL ch00 TYPE DISK;
ALLOCATE CHANNEL ch01 TYPE DISK;
BACKUP
extra strength 0
SKIP INACCESSIBLE
TAG hot_db_bk_level0
FILESPERSET 5
# format recommended
FORMAT '\\dell090121\rman_hotbackup\bk_full_%s_%p_%t '.
DATABASE;
SQL 'alter system archive log current';
OUTPUT CHANNEL ch00;
Ch01 CHANNEL;
# backup all archive logs
ALLOCATE CHANNEL ch00 TYPE DISK;
ALLOCATE CHANNEL ch01 TYPE DISK;
BACKUP
filesperset 20
FORMAT '\\dell090121\rman_hotbackup\al_%s_%p_%t '.
REMOVE ALL ARCHIVELOG ENTRY;
OUTPUT CHANNEL ch00;
Ch01 CHANNEL;
#
# Note: During the backup of the database, RMAN backup process also the
# control file. This version of the control file does not contain the
# information on the course of backup because 'nocatalog' has been specified.
# To include information on the current backup, the control file should
# Save the last step of the section RMAN. This step would not be
# necessary if we were using a recovery catalog.
#
ALLOCATE CHANNEL ch00 TYPE DISK;
BACKUP
# format recommended
FORMAT '\\dell090121\rman_hotbackup\cntrl_%s_%p_%t '.
CURRENT CONTROLFILE;
OUTPUT CHANNEL ch00;
}Even if you have directories of archivelog destination two (or more), the clause of "DELETE ENTRY" in "BACKUP ARCHIVELOG."... "would be to remove only the archivelogs that he plays for backup. So, because the backup might read of dest_1 (for example), it would be archivelogs dest_1 but not dest_2. The backup is free to backup files in each position of dest and remove only what he has saved by default with 'REMOVE ENTRY'.
However if you specify DELETE all THE ENTRIES, then Oracle removes all copies of the ArchiveLogs.
Your backup command would be
BACKUP ARCHIVELOG ALL DELETE ALL INPUT;
where the first 'ALL' is ' all logs archived available sequences, but only 1 copy of each ' while the second 'ALL' is 'all copies of each archived log, supported by the BACKUP.
-
RMAN backup with no archivelog mode
Hi friend
I made this backup several times before, to save a test database that is not in archivelog mode.
My procedure are:
rman target $ /.
RMAN > run {}
stop immediately;
bootable media;
backup format ' / u02/RMAN/%d_LVL0_%T_%u_s%s_p%p' database;
remove obsolete;
}
But strange, now I have error:
ORA-19602: no backup or copy of current file in NOARCHIVELOG mode
Thank you very muchHello
You havnt marked my answer as correct!
Boyfriend so bad. Joke.
Kind regards
Navneet -
Hello
I have create this shell script for rman for Oracle version 8i for full backup (database + controlfile archivelog):
Now I need rman script to Oracle 10.2.0.5 for full backup (database + controlfile archivelog).rman nocatalog <<EOF >> $LOG 2>&1 connect target sys/password@sid run { allocate channel c1 type disk format '/backup_full/backup%d_DB_%u_%s_%p'; backup database; sql 'alter system archive log current'; backup format 'backup%d_CL_%u_%s_%p' current controlfile; backup format 'backup%d_AR_%u_%s_%p' archivelog all delete input; release channel c1; }
Is this right? Should I change?
Thanks in advance!RAF Royal wrote:
I have create this shell script:MY_PATH="/backup_rman_full/" export MY_PATH rman nocatalog <
> $LOG 2>&1 connect target run { allocate channel c1 type disk format '${MY_PATH}back%d_%u_%s_%p'; backup database; sql 'alter system archive log current'; backup format '${MY_PATH}back%d_C_%u_%s_%p' current controlfile; backup format '${MY_PATH}back%d_A_%u_%s_%p' archivelog all delete input; release channel c1; } exit EOF Is to correct the syntax?
Hello
Your script above looks perfect with the exception of '$LOG' which is not defined. But I prefer to add ORACLE_HOME and ORACLE_SID in your script and also change the format specifier "%u" "%U" while RMAN generates the uniqueness in the backup files. Here's the updated script for you.
ORACLE_HOME=
export ORACLE_HOME ORACLE_SID= export ORACLE_SID MY_PATH="/backup_rman_full/" export MY_PATH rman nocatalog < Think of your son of fence by providing appropriate points if you think they have been answered. Please clean the forum.
-
Hello, I have several questions about rman.
I have an Oracle RAC with 3 knots in Suse Linux Enterprise Server 10 on IBM's PowerPC, and I want a script for the backup of this database.
My database is in archivelog and I multiplex that it again online connects two diferent locations
Location 1 = >/u01/redo_log
Site 2 = >/u02/redo_log
Also, I have MUX logs oracle archived in two different places:
Location 1 = >/u01/archive_log
Site 2 = >/u02/archive_log
I want a full backup of my database, for that, I think I have to configure somethings in Oracle rman like this:
-Configure the backup to a disc (AREA of RECOVERY FLASH)
DATABASE BACKUP AS BACKUPSET DEVICE TYPE DISK;
-Backup of database and archivelog and delete all archive logs after backup. is true?
DATABASE BACKUP AS BACKUPSET MORE ARCHIVELOG DELETE ALL ENTRIES;
-Implementation of a strategy for retention of 7 days (I'm going to recovery all data from my database in 7 days)
CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;
-Save our backup controlfile
CONFIGURE CONTROLFILE AUTOBACKUP ON;
OK, I want archivelogs auto removal in slot 1 (/ u01/archive_log) and 2 (archive_log/u02 /) when I have a backup of it, because I don't have a lot of space on the disk.
My AREA of RECOVERY FLASH did not have a lot of space and I put a 7 day recovery window, then oracle delete backups obsolete or expired, IS TRUE?
Well, I have the peripheral band but connect directly to any of my 3 knots, because I do not have the drivers for IBM PowePC, so I want to periodically copy to another server, and then copy the FRA in this new server Ribbon. I need before Oracle removes the obsolete backupset, is true?
If I save all my backupsets to Ribbon I will be can restore all data to 3 months ago?
Thank you very much
PD: Excuseme, but I'm Spanish and my English is terrible, horrible!The RECOVERY WINDOW is part of the RETENTION STRATEGY.
If you have defined a RECOVERY WINDOW of 5 days and you daily full backups or full backups every 2/3 days, over 5 days of backups would be OBSOLETE.
However, if you perform only full weekly backups, full backup of last Sunday is not obsolete (even if it seems to be beyond the 5 day window). Oracle expects that the backup is available.
However, if you moved it off disc then you have to manually restore this backup to disk first before the DATABASE RESTORE is on it.Therefore, to answer your question: even if the RECOVERY WINDOW is 5 days, if my last (or 'later') full backup is 6 or 7 days ago, that the backup is NOT deprecated by Oracle and is used for the RESTORATION. Of course, Oracle then, in my example above, apply to an incremental backup on Friday and then updated by ArchiveLogs on Friday has left.
(Similarly for the full backup being restrained, ArchiveLogs are also retained by Oracle and not obsolete, because they are needed for the revival of this full backup)
-
BlackBerry software how full is a full backup?
Finally, I will send my Dev Alpha return and I want to back up all data on the device to restore it once I get my THE Z10, but now I wonder how full a full backup with BB Link is actually. BlackBerry links speaks only of Application data, media and settings, this includes contacts and text messages? I know that the micro-sim card can store messages and contacts, but how can I be sure that they are on the sim card and how can I save them with link BlackBerry (just to be sure)?
I got my THE Z10 now, and I can confirm that after loggingin with my BB ID all my contacht have been synchronized live, no backup necessary! For other stuff, you obviously still need to restore the backup.
-
RMAN full backup - size SPFile Total 0.00 K
Hello, I do some tests and I need help to understand if there is something wrong in what I'm trying to do (a full backup with RMAN, DB is 11 GR 2).
If I perform a simple full DB Backup, all past file and it completes successfully. No errors.
Controlfile Autobackup is enabled, so I expect to find the control file and SPFile included in the backup, too.
But if I go to Console 'EM-> availability-> backup reports
It is reported the following:
---
Entry summary
Data file
Backup files 8
Separate files 8
Tablespaces separate 7
Total size 11.16 G
More former Checkpoint time Aug 29, 2011 01:00:29
Most recent Checkpoint time Aug 29, 2011 01:04:37
Control file
Backup files 1
Separate files 1
Total 22.95 M size
More former Checkpoint time Aug 29, 2011 01:05:44
Most recent Checkpoint time Aug 29, 2011 01:05:44
SPFile
Backup files 1
Separate files 1
Size total 0.00 K
More old time change Aug 29, 2011 01:02:12
Last Modification time Aug 29, 2011 01:02:12
---
Looks SPFile size on backup is '0' and not what I was expecting (SPFile is actually being used and it is not empty).
Should what kind of verification I do to see if everything is OK? Maybe a non-destructive.
Thank you very much!Hello R,
(1) the SPFile will be restored in a custom location / name of my choice ("
spfile_restore.ora")
which may be different from the ACTIVE SPFileI would say that must be different from the current spfile...
(2) the SPFile ACTIVE will always be in place and will always be that "in use" even after restoring
Correct the restored spfile will not be part of any oracle process.
Kind regards
Tycho -
RMAN how to handle simple full backups every day with the archivelogs
Hello
My use of Oracle DB is about 200 GB on a file system 1 TB from a NetApp file server. (i.e. 20% currently use)
I'm not so attracted to use the RMAN catalog for the love of simplicity.
Also, I have an affinity to run a full backup "Instant NetApp" every day, without running all the incremental backups.
My snapshots of NetApp have a framework for the retention of 7 days.
I think to implement a RMAN full backup script that includes the following to run every night:
Run {}
delete archivelog all; (to clean up the archive logs that are accumulated for each day)
backup database; (for a full backup every night)
}
This will be a good idea?
Will this coverage to back up all that I could restore if there is a problem.
Part of the great mystery for me is on the restoration of the data that is generated during the execution of the "backup database" command in the RMAN.
Any advice would be appreciated.
Thank you!
-Steve
If you perform the backup in this order, you will get in big trouble.
It is preferable to run the backup as follows:
(1) the following parameters, you have to do only once:
configure backup optimization
Configure retention policy to recovery of 7-day window;
Configure controlfile autobackup on;
(2) backup every day:
backup database more entered archivelog delete;
delete noprompt obsolete;
unrecoverable report;
RMAN automatically takes care of cleaning the old backups<7 days="" and="" saved="">7>
Concerning
Patrick
-
My 2 TB Time Capsule is full and will not save. Yet, I have only 1 TB of data on my laptop. Note that I've reformatted the laptop since the last backup with a clean installation of El Capitan.
I bought a 2 TB external hard and have used Time Machine to back up. But I also use my time Capsule, which I save wireless.
Any suggestions on getting my TC back up?
One suggestion would be to copy all existing backups that are now on the Time Capsule 2 TB hard disk. Then, clear the TC and start over again with new backups.
A more expensive option... assuming you want to keep all old backups on the TC... would be to add a new TC and start backups goes in this direction.
Another option... If you do not need to keep all old backups now on the TC... would be to erase the TC and start over again with new backups. The benefit of doing this would be that no new material will be necessary, but the downside would be that you lose your old backup history.
-
On Windows Vista 32 bit full backup fails with error 0x8007045d i/o device.
Original title: 32 bit back up fails i/o device error
I'm doing a full backup, because I just perchased Office 2010. I am trying to download on my cd player, E: got as far the 3rd cd and it fails
i/o device error (0x8007045d)
Help with this error code?
HelloTry the methods listed in the section below and check if that helps resolve the issue.Error message when you try to perform a full backup on a Windows Vista-based computer: "the application cannot be performed because of an i/o device error."
http://support.Microsoft.com/kb/952272Important: Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.I hope this helps.Thank you, and in what concerns:
Shekhar S - Microsoft technical support.Visit our Microsoft answers feedback Forum and let us know what you think.
If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly. -
RMAN backup with a missing archivelog.
Hello
I backed up my database yesterday after that you guys helped me to solve some problems I've had on this subject. I have used RMAN with the following command in an execution block:
* run {*}
allocate channel t1 type disk;
backup current controlfile;
backup database;
delete any backup archivelog entry;
output channel c1;
*}*
At the end of the operation, RMAN indicates that archivelog is missing, and he couldn't find it. Therefore, recover the operation may be compromised. Now am confused because I don't know if the command executed successfully or not and how to fix the missing archivelog.
Here are all of the output of the operation with the error message:
channel Affectu: t1
channel t1: sid = 131 typedev = DRIVE
Dumarrage of backup in 16/04/09
channel t1: backup of all files in Donnues all Dumarrage
channel t1: insertion of the Donnues in all of backup file
insertion of the current score in all of backup file
channel t1: Dumarrage of Ulument 1 in 16/04/09
channel t1: Ulument 1 Terminu in 16/04/09
pointeur=+ASMTEST/Meta4/backupset/2009_04_16/ncnnf0_tag20090416t211049_0.334.684
* Utiquette 364257 = TAG20090416T211049 comment = NONE *.
channel t1: all backup Terminu, time Ucoulu: 00:00:14
End of backup in 16/04/09
Dumarrage of backup in 16/04/09
channel t1: backup of all files in Donnues all Dumarrage
channel t1: insertion of the Donnues in all of backup file
file Donnues en Entrue fno = nom=+ASMTEST/meta4/m4prod.dbf 00008
Donnues en Entrue fno name 00010 = file is H:\ORADATA\M4REC. DBF
Donnues en Entrue fno = 00009 name file is E:\DATAFILEMETA4\M4PROD02. DBF
Donnues en Entrue fno = 00001 nom=+ASMTEST/meta4/system01.dbf file
file Donnues en Entrue fno = nom=+ASMTEST/meta4/sysaux01.dbf 00003
Donnues en Entrue fno = name 00006 file is C:\TEST. DBF
Donnues en Entrue fno nom=+ASMTEST/meta4/meta4.dbf 00007 = file
Donnues en Entrue fno = 00005 nom=+ASMTEST/meta4/example01.dbf file
Donnues en Entrue fno = 00002 nom=+ASMTEST/meta4/undotbs01.dbf file
file Donnues en Entrue fno = nom=+ASMTEST/meta4/users01.dbf 00004
channel t1: Dumarrage of Ulument 1 in 16/04/09
channel t1: Ulument 1 Terminu in 16/04/09
pointeur=+ASMTEST/Meta4/backupset/2009_04_16/nnndf0_tag20090416t211107_0.333.684
* Utiquette 364271 = TAG20090416T211107 comment = NONE *.
channel t1: all backup Terminu, time Ucoulu: 00:51:10
channel t1: backup of all files in Donnues all Dumarrage
channel t1: insertion of the Donnues in all of backup file
insertion of the current score in all of backup file
inclusion of the current SPFILE in all of backup
channel t1: Dumarrage of Ulument 1 in 16/04/09
channel t1: Ulument 1 Terminu in 16/04/09
pointeur=+ASMTEST/Meta4/backupset/2009_04_16/ncsnf0_tag20090416t211107_0.345.684
* Utiquette 367351 = TAG20090416T211107 comment = NONE *.
channel t1: all backup Terminu, time Ucoulu: 00:00:26
End of backup in 16/04/09
Dumarrage of backup in 16/04/09
Journal Archivu underway
channel Liburu: t1
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: Uchec of the command backup O 16/04/2009 22:04:03
RMAN-06059: journal archiving waited not found; the loss of the log arch
ivago compromises the Possibilitu of Rucupuration
ORA-19625: error identification of the H:\ARCHIVEMETA4\ARC00001_0 file
* 682674928.001*
ORA-27041: opening the file impossible
04002 - OSD: cannot open the file
S/O-error: (OS2) the Spucifiu file is not found.
Here is my l and please correct me if am wrong:
The first 3 statements in the block run executed successfully, but
the last of them is not. Is this true?
Whatever the understanding, should I have a backup? What can I do to get a consistent backup?
Thanks in advance.Adomi,
It is sad to see that you are still RMAN in 8i mode where you are on 10g.
The script is bs, sorry
Run {}
allocate channel t1 type disk; -not required
backup current controlfile; -not necessary, as this is already done backup of database
backup database;
delete any backup archivelog entry;
output channel c1; -not required.
}If you have autobackup controlfile, you might just
backup database archivelog
and be done with it.
Like you didn't made a RMAN backup from the start, should have read your archivelog backup statement
ARCHIVELOG backup all Skip inaccessible delete entry.
Once successful Oracle shouldn't the archivelog has more need, and you should make a second backup without the skip inaccessible clause.
------
Sybrand Bakker
Senior Oracle DBA -
Full backup to optimize backup RMAN
Hi gurus,
I wanted to implement the functionality of rman backup optimization. I did a little test to verify its use and not found helpful whenever I do a full backup to backup all data files and nothing is ignored.
According to the ORACLE notes as below, ideally, once I backup the database, the backup else should jump not all files.
If you enable Backup Optimization and then the
BACKUP
command ignores backup files when the identical file has already been saved on the specified device type.Please note that it's my test server and no connections are on the DB. Listener is broken. If no point of change Yvert. I'm missing here something?
Oracle - 11.2.0.4 version
RMAN > run
2 > {allocate channel ch1 type
3 > disc format ' / oraback/RMAN/%d_DB_%u_%s_%p';
4 > backup database;
{5 >}
allocated channel: ch1
channel ch1: SID = 172 type device = DISK
From April 28, 15 backup
channel ch1: start the backup set full datafile
channel ch1: specification-datafile in the backup set (s)
Enter a number of file datafile = 00001 name=/u01/oradata/nmsdata/system01.dbf
Enter a number of file datafile = name=/u04/oradata/nmsdata/NMSINFO_DATA01_02.dbf 00006
Enter a number of file datafile = 00005 name=/u04/oradata/nmsdata/NMSINFO_DATA01_01.dbf
Enter a number of file datafile = name=/u03/oradata/nmsdata/NMSINFO_INDX01.dbf 00007
Enter a number of file datafile = name=/u01/oradata/nmsdata/undotbs01.dbf 00003
Enter a number of file datafile = name=/u01/oradata/nmsdata/sysaux01.dbf 00002
channel ch1: from room 1 to 28 April 15
channel ch1: finished piece 1 at 28 April 15
total, handle = / oraback/RMAN/NMSDATA_DB_ngq5g2vv_71408_1 tag = comment TAG20150428T042431 = NONE
channel ch1: complete set of backups, time: 00:00:25
channel ch1: start the backup set full datafile
channel ch1: specification-datafile in the backup set (s)
Enter a number of file datafile = name=/u01/oradata/nmsdata/users01.dbf 00004
channel ch1: from room 1 to 28 April 15
channel ch1: finished piece 1 at 28 April 15
total, handle = / oraback/RMAN/NMSDATA_DB_nhq5g30o_71409_1 tag = comment TAG20150428T042431 = NONE
channel ch1: complete set of backups, time: 00:00:01
Backup finished April 28, 15
From control file and SPFILE Autobackup 28 April 15
room handle=/opt/app/oracle/product/11.2.0.4_ee/dbs/c-3349937142-20150428-00 comment = NONE
File control finished and Autobackup SPFILE to 28 April 15
output channel: ch1
RMAN > show all.
RMAN settings for database with db_unique_name CHNMCPRDB1_NMSDATA are:
CONFIGURE RETENTION POLICY TO RECOVERY OF 7-DAY WINDOW;
CONFIGURE BACKUP OPTIMIZATION # by default
SET UP DEFAULT DISK DEVICE TYPE; # by default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO "%F"
SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default
CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 1 ' ${backup_dir}/${ORACLE_SID}/%d_t%t_s%s_p%p';}
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT ' / oraback/RMAN;
CONFIGURE MAXSETSIZE TO UNLIMITED; # by default
CONFIGURE ENCRYPTION OF DATABASE # by default
CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AND 'DEFAULT' LIBERATION OPTIMIZE FOR TRUE LOAD; # by default
CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / tmp/nmsdata_snapshot_arch.ctl ';
RMAN > set UP OPTIMIZATION BACKUP;
new RMAN configuration settings:
CONFIGURE BACKUP OPTIMIZATION
new RMAN configuration settings are stored successfully
RMAN > run
{allocate channel ch1 type
disc format ' / oraback/RMAN/%d_DB_%u_%s_%p';
backup database;
}
2 > 3 > 4 > 5 >
allocated channel: ch1
channel ch1: SID = 172 type device = DISK
From April 28, 15 backup
channel ch1: start the backup set full datafile
channel ch1: specification-datafile in the backup set (s)
Enter a number of file datafile = 00001 name=/u01/oradata/nmsdata/system01.dbf
Enter a number of file datafile = name=/u04/oradata/nmsdata/NMSINFO_DATA01_02.dbf 00006
Enter a number of file datafile = 00005 name=/u04/oradata/nmsdata/NMSINFO_DATA01_01.dbf
Enter a number of file datafile = name=/u03/oradata/nmsdata/NMSINFO_INDX01.dbf 00007
Enter a number of file datafile = name=/u01/oradata/nmsdata/undotbs01.dbf 00003
Enter a number of file datafile = name=/u01/oradata/nmsdata/sysaux01.dbf 00002
channel ch1: from room 1 to 28 April 15
channel ch1: finished piece 1 at 28 April 15
total, handle = / oraback/RMAN/NMSDATA_DB_njq5g509_71411_1 tag = comment TAG20150428T045849 = NONE
channel ch1: complete set of backups, time: 00:00:25
channel ch1: start the backup set full datafile
channel ch1: specification-datafile in the backup set (s)
Enter a number of file datafile = name=/u01/oradata/nmsdata/users01.dbf 00004
channel ch1: from room 1 to 28 April 15
channel ch1: finished piece 1 at 28 April 15
total, handle = / oraback/RMAN/NMSDATA_DB_nkq5g512_71412_1 tag = comment TAG20150428T045849 = NONE
channel ch1: complete set of backups, time: 00:00:01
Backup finished April 28, 15
From control file and SPFILE Autobackup 28 April 15
piece handle=/opt/app/oracle/product/11.2.0.4_ee/dbs/c-3349937142-20150428-01 comment = NONE
File control finished and Autobackup SPFILE to 28 April 15
output channel: ch1
RMAN > exit
LANCERIQUE wrote:
Hi Tom,
Well well, then that contradicts what oracle mentioned in the docs?
Not at all. It does that contradict your understanding of what constitutes a data file "changed."
Also, I pulled data backup and not backup tablespace.
Is not serious. The principle is the same.
Also check your statement my understand that if there are 100 files of data and rarely used, Yvert will be updated for each of them?
If they are not unalterable, then Yes. That's how oracle ensures consistency between the data files.
Kind regards
Nikhil Mehta.
-
Archive newspaper vs. Full Backup Concept
Hello
I just need some clarification on how backups and Archives Records work. Lets say from 13:00 I have archive records 1,2,3,4,5 and then I perform a full backup at 18:00.
I take then generate logs archiving at 18:00 to get newspapers 6,7,8,9,10. Then, I stop at 23:00.
If my interpretation is correct, the archive logs should allow me to restore oracle to a point in time anywhere between 13:00 and 23:00. But if I have only the full backup, then I can only restore to a single point, which is from 18:00. My understanding is correct?
Archive logs only applied to data files during backup or only during a restore? There is no archive newspaper applied on the fly.
Thanks in advance.thelok wrote:
Thanks for the great explanation! If I can do a restore time to any time point since the data changed files have been written (or when I have the last set of data files backed up more archive logs). What you say, I can force the data files to write about recovery logs (by a control point with 'alter set archive current log' or 'backup database more archivelog'), and then I can delete all archive logs have an SCN less than the SNA control point on the data files. Is this true? It would be for the purpose of preservation of disk space.Hello
See this example. I hope this explains your doubt.
# My current date is 06-11-2011 17:15 # I not have backup of this database # My retention policy is to have 1 backup # I start listing archive logs. RMAN> list archivelog all; using target database control file instead of recovery catalog List of Archived Log Copies Key Thrd Seq S Low Time Name ------- ---- ------- - ------------------- ---- 29 1 8 A 29-10-2011 12:01:58 +HR/dbhr/archivelog/2011_10_31/thread_1_seq_8.399.766018837 30 1 9 A 31-10-2011 23:00:30 +HR/dbhr/archivelog/2011_11_03/thread_1_seq_9.409.766278025 31 1 10 A 03-11-2011 23:00:23 +HR/dbhr/archivelog/2011_11_04/thread_1_seq_10.391.766366105 32 1 11 A 04-11-2011 23:28:23 +HR/dbhr/archivelog/2011_11_06/thread_1_seq_11.411.766516065 33 1 12 A 05-11-2011 23:28:49 +HR/dbhr/archivelog/2011_11_06/thread_1_seq_12.413.766516349 ## See I have archive logs from time "29-10-2011 12:01:58" until "05-11-2011 23:28:49" but I dont have any backup of database. # So I perfom backup of database including archive logs. RMAN> backup database plus archivelog delete input; Starting backup at 06-11-2011 17:15:21 ## Note above RMAN forcing archive current log, this archivelog generated will be usable only for previous backup. ## Is not my case... I don't have backup of database. current log archived allocated channel: ORA_DISK_1 channel ORA_DISK_1: sid=159 devtype=DISK channel ORA_DISK_1: starting archive log backupset channel ORA_DISK_1: specifying archive log(s) in backup set input archive log thread=1 sequence=8 recid=29 stamp=766018840 input archive log thread=1 sequence=9 recid=30 stamp=766278027 input archive log thread=1 sequence=10 recid=31 stamp=766366111 input archive log thread=1 sequence=11 recid=32 stamp=766516067 input archive log thread=1 sequence=12 recid=33 stamp=766516350 input archive log thread=1 sequence=13 recid=34 stamp=766516521 channel ORA_DISK_1: starting piece 1 at 06-11-2011 17:15:23 channel ORA_DISK_1: finished piece 1 at 06-11-2011 17:15:38 piece handle=+FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171521_0.268.766516525 tag=TAG20111106T171521 comment=NONE channel ORA_DISK_1: backup set complete, elapsed time: 00:00:16 channel ORA_DISK_1: deleting archive log(s) archive log filename=+HR/dbhr/archivelog/2011_10_31/thread_1_seq_8.399.766018837 recid=29 stamp=766018840 archive log filename=+HR/dbhr/archivelog/2011_11_03/thread_1_seq_9.409.766278025 recid=30 stamp=766278027 archive log filename=+HR/dbhr/archivelog/2011_11_04/thread_1_seq_10.391.766366105 recid=31 stamp=766366111 archive log filename=+HR/dbhr/archivelog/2011_11_06/thread_1_seq_11.411.766516065 recid=32 stamp=766516067 archive log filename=+HR/dbhr/archivelog/2011_11_06/thread_1_seq_12.413.766516349 recid=33 stamp=766516350 archive log filename=+HR/dbhr/archivelog/2011_11_06/thread_1_seq_13.414.766516521 recid=34 stamp=766516521 Finished backup at 06-11-2011 17:15:38 ## RMAN finish backup of Archivelog and Start Backup of Database ## My backup start at "06-11-2011 17:15:38" Starting backup at 06-11-2011 17:15:38 using channel ORA_DISK_1 channel ORA_DISK_1: starting full datafile backupset channel ORA_DISK_1: specifying datafile(s) in backupset input datafile fno=00001 name=+HR/dbhr/datafile/system.386.765556627 input datafile fno=00003 name=+HR/dbhr/datafile/sysaux.396.765556627 input datafile fno=00002 name=+HR/dbhr/datafile/undotbs1.393.765556627 input datafile fno=00004 name=+HR/dbhr/datafile/users.397.765557979 input datafile fno=00005 name=+BFILES/dbhr/datafile/bfiles.257.765542997 channel ORA_DISK_1: starting piece 1 at 06-11-2011 17:15:39 channel ORA_DISK_1: finished piece 1 at 06-11-2011 17:16:03 piece handle=+FRA/dbhr/backupset/2011_11_06/nnndf0_tag20111106t171539_0.269.766516539 tag=TAG20111106T171539 comment=NONE channel ORA_DISK_1: backup set complete, elapsed time: 00:00:24 Finished backup at 06-11-2011 17:16:03 ## And finish at "06-11-2011 17:16:03", so I can recovery my database from this time. ## I will need archivelogs (transactions) which was generated during backup of database. ## Note during backup some blocks are copied others not. The SCN is inconsistent state. ## To make it consistent I need apply archivelog which have all transactions recorded. ## Starting another backup of archived log generated during backup. Starting backup at 06-11-2011 17:16:04 ## So automatically RMAN force another "checkpoint" after backup finished, ## forcing archive current log, because this archivelog have all transactions to bring database in a consistent state. current log archived using channel ORA_DISK_1 channel ORA_DISK_1: starting archive log backupset channel ORA_DISK_1: specifying archive log(s) in backup set input archive log thread=1 sequence=14 recid=35 stamp=766516564 channel ORA_DISK_1: starting piece 1 at 06-11-2011 17:16:05 channel ORA_DISK_1: finished piece 1 at 06-11-2011 17:16:06 piece handle=+FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171604_0.272.766516565 tag=TAG20111106T171604 comment=NONE channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02 channel ORA_DISK_1: deleting archive log(s) archive log filename=+HR/dbhr/archivelog/2011_11_06/thread_1_seq_14.414.766516565 recid=35 stamp=766516564 Finished backup at 06-11-2011 17:16:06 ## Note: I can recover my database from time "06-11-2011 17:16:03" (finished backup full) ## until "06-11-2011 17:16:04" (last archivelog generated) that is my recover window in this scenary. ## Listing Backup I have: ## Archive Logs in backupset before backup full start - *BP Key: 40* ## Backup Full database in backupset - *BP Key: 41* ## Archive Logs in backupset after backup full stop - *BP Key: 42* RMAN> list backup; List of Backup Sets =================== BS Key Size Device Type Elapsed Time Completion Time ------- ---------- ----------- ------------ ------------------- 40 196.73M DISK 00:00:15 06-11-2011 17:15:37 *BP Key: 40* Status: AVAILABLE Compressed: NO Tag: TAG20111106T171521 Piece Name: +FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171521_0.268.766516525 List of Archived Logs in backup set 40 Thrd Seq Low SCN Low Time Next SCN Next Time ---- ------- ---------- ------------------- ---------- --------- 1 8 766216 29-10-2011 12:01:58 855033 31-10-2011 23:00:30 1 9 855033 31-10-2011 23:00:30 896458 03-11-2011 23:00:23 1 10 896458 03-11-2011 23:00:23 937172 04-11-2011 23:28:23 1 11 937172 04-11-2011 23:28:23 976938 05-11-2011 23:28:49 1 12 976938 05-11-2011 23:28:49 1023057 06-11-2011 17:12:28 1 13 1023057 06-11-2011 17:12:28 1023411 06-11-2011 17:15:21 BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ ------------------- 41 Full 565.66M DISK 00:00:18 06-11-2011 17:15:57 *BP Key: 41* Status: AVAILABLE Compressed: NO Tag: TAG20111106T171539 Piece Name: +FRA/dbhr/backupset/2011_11_06/nnndf0_tag20111106t171539_0.269.766516539 List of Datafiles in backup set 41 File LV Type Ckp SCN Ckp Time Name ---- -- ---- ---------- ------------------- ---- 1 Full 1023422 06-11-2011 17:15:39 +HR/dbhr/datafile/system.386.765556627 2 Full 1023422 06-11-2011 17:15:39 +HR/dbhr/datafile/undotbs1.393.765556627 3 Full 1023422 06-11-2011 17:15:39 +HR/dbhr/datafile/sysaux.396.765556627 4 Full 1023422 06-11-2011 17:15:39 +HR/dbhr/datafile/users.397.765557979 5 Full 1023422 06-11-2011 17:15:39 +BFILES/dbhr/datafile/bfiles.257.765542997 BS Key Size Device Type Elapsed Time Completion Time ------- ---------- ----------- ------------ ------------------- 42 3.00K DISK 00:00:02 06-11-2011 17:16:06 *BP Key: 42* Status: AVAILABLE Compressed: NO Tag: TAG20111106T171604 Piece Name: +FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171604_0.272.766516565 List of Archived Logs in backup set 42 Thrd Seq Low SCN Low Time Next SCN Next Time ---- ------- ---------- ------------------- ---------- --------- 1 14 1023411 06-11-2011 17:15:21 1023433 06-11-2011 17:16:04 ## Here make sense what I trying explain ## As I don't have backup of database before of my Last backup, all archivelogs generated before of my backup full is useless. ## Deleting what are obsolete in my env, RMAN choose backupset 40 (i.e all archived logs generated before my backup full) RMAN> delete obsolete; RMAN retention policy will be applied to the command RMAN retention policy is set to redundancy 1 using channel ORA_DISK_1 Deleting the following obsolete backups and copies: Type Key Completion Time Filename/Handle -------------------- ------ ------------------ -------------------- *Backup Set 40* 06-11-2011 17:15:37 Backup Piece 40 06-11-2011 17:15:37 +FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171521_0.268.766516525 Do you really want to delete the above objects (enter YES or NO)? yes deleted backup piece backup piece handle=+FRA/dbhr/backupset/2011_11_06/annnf0_tag20111106t171521_0.268.766516525 recid=40 stamp=766516523 Deleted 1 objects
In the example above, I could before running Backup "archivelog all delete" because they are not necessary, but as an example, I followed this unnecessarily. (archivelog backup and deletion after)
Kind regards
Levi PereiraPublished by: Levi Pereira on November 7, 2011 01:02
-
Given the 10.5.8 to 10.6 Snow Leopard upgrade. Meet the Intel/memory minimum requirments. After a full backup of course. Anything I should be aware of before trying this? Possible to the functions/effects? My data (mp3, photos, documents, etc.) will not be affected? I also have Windows for Mac. It will not be affected? Recent browser performance is untenable in weeks. Safari 5.0.6. Now even my Firefox is fact-zo. Process seems simple enough, but thought I would ask a preview as many reviews on here seem to go anyway in regard to recommend it. Thought that I have gathered a few comments before the trigger (or not) thank you to all those wh
Just to start with this one:
I also have Windows for Mac.
I assume you mean that you run Windows in a virtual machine such as Parallels? If so, the machine virtual peut must be updated.
When you install Snow Leopard, make sure to choose the option to do a custom install, so you can select the check box for Rosetta, or it will not install and PowerPC applications will not run. Not a huge deal if you miss. The first time you try to run a PPC application if Rosetta has not been installed, OS X offers to download and install it for you.
Firefox works under Snow Leopard, which is the oldest version of OS X Mozilla always supports. Safari installed with SL will remain grossly outdated and should not be used.
Nothing will happen to your documents, although I can't say with certainty that all the apps from third party that allows you to open will not be updated. They can. They cannot. For example, Office 2004 will run as long as Rosetta is installed.
-
Adding redundancy backup with time Capsules
Are there problems associated with adding a second time Capsule to my system in order to add additional redundancy and safety of my backup options? I have a MacBook Pro and a single Capsule of 3 TB. I am looking for a non-Cloud option add extra security while maintaining the automation of the OSX TimeMachine.
Adding a second Time Capsule works perfectly. After that Time Machine performs a full backup of your Mac (s) on the new Time Capsule, it automatically alternates between two time Capsules backups.
If you have the possibility of adding a USB or FireWire drive directly to your Mac, which would be a bit better set up in terms of reliability of time Machine, but probably not very convenient if you have a laptop that is moving all the time.
Maybe you are looking for
-
Booklet paper the desktop wallpaper
Where can I download farm wallpaper for my libretto U100?I lost a configuration preset after you have reinstalled Windows XP.
-
Satellite L670-153: problem with a SONY 4 GB mass storage
I have a portable satellite L670-153 with Windows 7 64 bit. When I conect a 4 GB SONY USB mass storage, Windows install the USB mass storage. But after a few minutes, the USB mass storage is disassemble and assemble and disassemble some indefinitely.
-
Netflix S5000 problems after 4.4.2
Having the user from Yoga accurate face the 4.4.2 after update. I just got my Tablet two weeks ago, and the main goal was to stream Netflix and cannot currently do with this issue. See this thread for the same issue: http://forums.Lenovo.com/T5/idea-
-
I see all the program that are instaled in ADDremove
in Add/REMOVE on my XP, I don't see any program that are instaled
-
Original title: helmet emits. OK why, when I have my headphones plugged in, others hear themselves louder then they heard me when we are all two seized ventrilo. This is not a vent issue. I don't understand where the problem is tho. is there anywa