RMAN: remove obsolete &; sbt_tape backups?
Hey;After several months of separation, I'm finally studying oracle backups. I try to get my database backups small test cleaned before trying again everywhere. I'm running into a bit of a snag, however:
RMAN > list backup;
Backup list
===============
S LV TY Device Type delay #Pieces compressed #Copies Tag key
------- -- -- - ----------- --------------- ------- ------- ---------- ---
5. A 10-AUG-09 SBT_TAPE 1 1 no TAG20090910T115704
6. A 10-AUG-09 SBT_TAPE 1 1 no TAG20090910T115730
13. A RECORD JULY 21 10 1 1 no TAG20100721T133933
I want these two to 10-sep-09 backups go away. How they got there is a mystery because it is a small box of linux on intel. Is not a tape drive and never did; but this isn't the issue.
I tried:
RMAN > delete backup tag = "TAG20090910T115730";
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 139 devtype = DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: sid = 129 devtype = DISK
but the backup is still there because it uses a disk instead of a band channel channel.
Can someone tell me how these two backups disappear?
Thanks for your tips/advice/suggestions
Doug O'Leary
Allocate a fake tape channel and try again your deletion:
RMAN> allocate channel for maintenance device type sbt
parms 'SBT_LIBRARY=oracle.disksbt, ENV=(BACKUP_DIR=/tmp)';
RMAN> delete obsolete;
Tags: Database
Similar Questions
-
How to remove the old backup RMAN
Hello Experts,
Please English me to remove my old backups RMAN. We act in RMAN backup on a daily basis on the disc. you want to delete the previous day from the disk backup.
Any help?Ideally if your backup is automatic, you need to add a line "delete noprompt obsolete device type disk;" at the end of backup scripts based on your retention policy clean the old not required for backups.
HTH.
-
remove obsolete don't kick in my scripts to backup... or did it?
Here is the shell script I use to back up our test database.
------
#! / bin/bash
ORA_USER = oracle
known - $ORA_USER - c "target rman / nocatalog" < < EOF
backup as a tag to compressed backupset incremental level 0 = "WEEKLY_FULL" database.
remove obsolete;
output
EXPRESSIONS OF FOLKLORE
output
------
It seems that "remove obsolete" part does not work. When I come to work and do
RMAN > obsolete report.
....
There is always something to delete.
Once a week we do INCREMENAL LEVEL 0 and every day INREMENTAL LEVEL 1. They are made at 02:00.Sorry, that was a controlfile autobackup I wrong was a backupset archivelog.
You can include the archivelogs in the backups with the following:
backup as compressed backupset incremental level 0 tag = "WEEKLY_FULL" database plus archivelog;
-
RMAN delete obsolete job fails due to the error of peripheral distribution
Experts, I need help, please.
It's on Windows 10.2.0.1
RMAN > DELETE NOPROMPT OBSOLETE;
RMAN retention policy apply to the order
RMAN retention policy is set to 3 days recovery window
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 130 devtype = DISK
output channel: ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the delete command at 15/05/2012 14:10:17
ORA-19554: error device allocation, type of device: SBT_TAPE device name:
ORA-27211: unable to load the media management library
I ran RMAN > set up the device type 'SBT_TAPE' clear;
but I still get the same error.
I backup to disk, not tape
Note the reference to SBT_TAPE:
RMAN configuration parameters are:
SET UP THE DEVICE TYPE DISK PARALLELISM BACKUPSET BACKUP TYPE 1;
SET UP THE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP BACKUPSET TYPE; # by default
What should I do to be able to run REMOVE OBSOLETE;?
Thank you, JohnTry to use the OVERLAPPING BACKUP first and then repeat DELETE OBSOLETE
-
Hello
I write a rman script to remove an outdated backup.
When I run the Remove "obsolete" in the script
The script fails because:rman target / << EOF delete obsolete; EOF
How can I say an automatic Yes?Deleting the following obsolete backups and copies: Type Key Completion Time Filename/Handle -------------------- ------ ------------------ -------------------- Backup Set 2336 04-OCT-12 Backup Piece 2336 04-OCT-12 +RECOVERY/e2edb/autobackup/2012_10_04/s_795819566.508.795819567 Backup Set 2339 04-OCT-12 Backup Piece 2339 04-OCT-12 +RECOVERY/e2edb/autobackup/2012_10_04/s_795824554.568.795824555 Backup Set 2342 05-OCT-12 Backup Piece 2342 05-OCT-12 +RECOVERY/e2edb/autobackup/2012_10_05/s_795839055.449.795839057 Backup Set 2345 05-OCT-12 Backup Piece 2345 05-OCT-12 +RECOVERY/e2edb/autobackup/2012_10_05/s_795853399.416.795853401 Do you really want to delete the above objects (enter YES or NO)? "spool log off;" is an invalid response - please re-enter. Do you really want to delete the above objects (enter YES or NO)? "exit;" is an invalid response - please re-enter. Do you really want to delete the above objects (enter YES or NO)? Error occurred getting response - assuming NO response
Thank youUse DELETE NOPROMPT OBSOLETE
-
RMAN - location on the backup disk full
Hi guys, I have problem with RMAN backup of some databases is strongly exploited during a day. We have storage problem (disk backup destination) when you do the backup of it. I would like to change retention for this database from 2 to only 1 day because these disk backupsets heading a tape every night. But before I do that, I need free space on the backup disk that is almost 100% full.
So my question is possible to delete old backup sets and continue the backup operation? If this is the case, I could just delete backupsets of RMAN, simply delete all backups of full disk location and simply take the new backup?
I use this script to do the full backup:
target connection.
Run {}
cross-checking of backup;
obsolete report;
delete noprompt obsolete;
delete expired backup noprompt.
backup database more entered archivelog delete;
obsolete report;
delete noprompt obsolete;
delete expired backup noprompt.
cross-checking of backup;
}
"exit";
Published by: rootsman Sep 14, 2011 23:51Rootsman wrote:
I'm sorry that I forgot to put numbers's database version 10.2.0.3 on RHEL4 OS 64-bit.
I would like to delete the backup more to buy disc because this database uses disk storage space, and is to develop the database so therefor I decide to do in this way.Could you please give me a link or try to explain how to remove the backupsets that I have on the storage of full disk and continue with the operation to bakup? IM new in RMAN and I want to make sure that I'm doing the correct things.
Thank you!
According to my understandig of your question... you want to remove the last backup because you save it to tape. If it is problem, then remove the rman backup.
RMAN > delete noprompt backup; and continue the backup for the next days
RMAN > run {}
backup database archivelog;
delete noprompt obsolete;
}I hope this help you :)
Neeraj-
-
RUN 'delete noprompt obsolete' before 'backup database '.
Hello
11g on windows 2003, window 3 day recovery
For almost a year now, I have after having run the script every day to save my database below. Now I begin to run out of disk space and cannot run backup commands unless I run 'delete noprompt obsolete' first.
backup database tag = database_full_backup;
backup ARCHIVELOG all delete them tag input = achivelog_backup;
cross-checking of backup;
delete the backup expired;
delete noprompt obsolete;
Is it a bad idea to rearange the order of commands like below?
cross-checking of backup;
delete the backup expired;
delete noprompt obsolete;
backup database tag = database_full_backup;
backup ARCHIVELOG all delete them tag input = achivelog_backup;
Thanks for any helpHello
No problem. You have configured a window of 3 days recovery, it means you want to be able to restore/recovery sysdate - X (up to 3 X) at any time. RMAN which will always respect, you can "remove obsolete" when you want.
Best regards
Phil -
RMAN-03009 faliure of backup command
ORA-19809: limit exceeded for file recovery
ORA-19804: cannot recover 1413391360 bytes of limit 61203283968 disk space
continue other job steps, not a not working will not re-run
Please indicate how to solve
Dear team,
Connect the rman
RMAN target /.
cross-checking of backup;
remove the backup is completed before ' sysdate - 4'; ---> He will keep backups of 4 days and will delete older backups.
cross-checking of backup;
overlap archivelog all;
delete archivelog all completed before ' sysdate - 4'; ---> It will keep 4 days archivelog and will remove the old archivelogs.
overlap archivelog all;
Issue the commands above and remove the old backup rman and archivelogs.
Hope this can help u.
Concerning
Kumar
-
How can I remove app Mega backup of my desktop computer. He got installed when I thought I was downloading an update for adobe flash. I closed the application them tp mpved ot trash, but he would not accept it stating still open app.
"MegaBackup" is an application of unworthy of trust-storage cloud or perhaps real malware. I have not tried to make this distinction. To remove it, please start back up all the data (not with the MegaBackup himself, of course). Then take the steps below.
1 Select the elements of the connection tab in the users pane and groups of system preferences. Remove all elements with a name starting in 'MegaBackup '.
2 log off or restart the computer.
3. slide the MegaBackup application in the Applications to the trash and empty folder.
Note that you cannot delete any application trying to drag its icon from the LaunchPad or the Dock. You must open the Applications folder in the Finder.
You may have installed ad-injection with MegaBackup malware. If you don't see unaccustomed pop-up in a web browser, ask for additional instructions.
-
How to remove obsolete downloaded programs files, memory dump window, error reports window xp
Use the disk cleanup tool in Windows XP to clean several types of files and folders are no longer, you want or need.
"lauraschenberg" wrote in the new message: * e-mail address is removed from the privacy * _xp...
How to remove obsolete downloaded programs files, memory dump window, error reports window xp
http://answers.Microsoft.com/message/422fde34-2f99-464c-B6C9-a36c63e2155b
Tags meta-tags: performance; windows_xpMonday 9 April 2012 08:05:37 + 0000: CreateMessage lauraschenberg
-
If I saved photo on an external hard drive, I can now delete backup files from the laptop for free space - my 'E' drive is full and cannot run backups more. Also other documents that have now been removed still have backups that I need? How will I know what backup should I keep not individually through hundreds of files? Thank you in advance.
Original title: can anyone help please?
Hello
You can take a safe backup.
After you create your first backup, Windows backup will add new information or changed to your subsequent backups. If you save your backups on a hard drive or network, Windows backup will create a new backup, full for you automatically if necessary. If you save your backups on CDs or DVDs and could not find an existing backup disk, or if you want to create a new backup of all the files on your computer, you can create a full backup. Here's how to create a full backup:
Open backup and restore by clicking the Start button, clicking Control Panel, clicking system and Maintenance, and then clicking the backup and restore.
In the left pane, click on create new, full backup.
-
RMAN backup location must change and remove obsolete
Dear Experts,
I'm working on the following environment,
Operating system: Windows server 2012 R2
Oracle version: 11.2.0.1.0 release
Type of RMAN backup: Cumulative (preferred by the direction and I can't change it in differential backup)
My current situation,
I set up RMAN and H: drive for purposes of backup and G: for Archivelog.
Recently, my city was covered by the flood waters and the server works not for a week so that we delete obsolete level 0 does not work.
Currently there is not enough space to run a level 1 and level 0, while I should change the backup location.
My Question is,
(1) I need to change this location of drive H: to G: drive backup backup correctly without error not enough space.
(2) after having taken a level 1 and level 0, depending on my 1 redundancy, RMAN mechanism should delete obsolete backup disk without failure G: and H:.
Kindly help me how to get to my need. This will help me, thanks in advance
You can
1. replace the DB_RECOVERY_FILE_DEST G:
2 run backups
3. wait for the DELETE OBSOLETE delete obsolete backups of H:
and then
4. change the DB_RECOVERY_FILE_DEST return h as it was more early
In this way, you don't have to use the FORMAT or CHANNEL of CONFIGURE commands (I was referring to CONFIGURE CHANNEL, not ALLOCATE CHANNEL) to change the destination of the backup
Hemant K Collette
-
remove obsolete entries from backup
Hello!
Under Microsoft Backup & restore, I have obsolete entries in the backup directory. The backup file that contains the original entry has been removed. How to remove the entry date in the stock of backup?
concerning
If you have a retail version of Windows 7, I believe you get two free calls. If you have an OEM version, you are supposed to get help from your manufacturer. MS provides a tax service.
Thanks for the comment that they should pay me. If they wanted to send me money, I'm sure that I wouldn't turn it down. I'm not holding my breath well. :-)
Good luck.
-
RMAN SBT_TAPE BACKUP FAILURE
Hi all
I met the following error when backing up the database. The device type is SBT_TAPE. We have replaced the tape media but still error persist.see journal of the errors below:
RMAN-03009: failure of the backup command on channel t2 to 2015/12/29 07:10:49
(ORA-19509: impossible de supprimer le fichier sequeIntial, gérer = «diqq0t84_1_1», parms="ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt)".
ORA-27027: sbtremove2 returned error
ORA-19511: error received from layer media manager, error text:
ANS1355E Session (RC55) rejected: off server
ORA-27191: sbtinfo2 returned the error
Additional information: 3276
ORA-19511: error received from layer media manager, error text:
ORACLE recovery catalog database error: ORA-03113: end of file on communication channel
Process ID: 13762638
Session ID: 166 serial number: 18103
Any ideas.
Thank you.
Hello
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-06004: the recovery catalog database ORACLE error: ORA-03113: end of file on communication channel
Process ID: 7667754
Session ID: 166 serial number: 18303
ORACLE recovery catalog database error: ORA-03114: not connected to ORACLE
Common causes of the error ORA-03114 include:
- Process of Web server or headset does not work
- Missing entry in the tnsnames.ora.
- Network problems.
- Problems with connection pooling (shared servers, MTS).
Kind regards
Katia V.
-
Data Guard - RMAN removing archive log
Hello
I ' v DataGuard with physical standby.
I do a backup only on the primaries. Both sites have ther separate backup systems.
I ' v FRA and configured archivelog deletion with RMAN configuration:
on primary: CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
standby: CONFIGURE ARCHIVELOG DELETION POLICY to APPLY ON STANDBY;
It works fine but I think what if scenarios and I'v qestion on best practices for backup after the transition of role management. Let's say that for some reason, as i'v in switch mode sleep for a few days and the backup will be posible to watch (now primary) database. What would be the steps/reconfiguration appropriate to do?
1 should I reconfigure RMAN?
change of new primary to: CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;
change back to sleep again: CONFIGURE ARCHIVELOG DELETION POLICY to APPLY ON STANDBY;
2. make full backup
Hello
1. you can refer to the oracle documentation: http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmconfb.htm#CHDCFHBG
section: "all archived Redo Log deletion policy."
Document provides the best algorithm to analysis of work
You can use the
CONFIGURE ARCHIVELOG DELETION POLICY BACKED UP
integer
TIMES TO DEVICE TYPE
command to allow a policy of removal of archived newspaper. This configuration specifies that archived newspapers are eligible for deletion only when the specified number of archived log backups exist on the specified device type.If the deletion policy is configured with the
BACKED UP
integer
TIMES
clause, then aBACKUP ARCHIVELOG
, the command copy newspapers, unlessinteger
already exist on the specified device type backups. Ifinteger
are backups of logs, then theBACKUP ARCHIVELOG
command ignores the newspapers. In this way, the deletion of archived newspaper policy works as a defaultNOT BACKED UP
integer
TIMES
clause on theBACKUP ARCHIVELOG
command. Note that you can override the deletion policy by specifying theFORCE
option on theBACKUP
command.The deletion of archived newspaper policy has also options specific to an environment Data Guard. , then RMAN can delete logs after they have been applied to all destinations remote mandatory. If you specify
SHIPPED TO STANDBY
, for example, then RMAN can remove log files when they were transferred to all destinations of mandatory relief.2. the paper provides good information, just to check and decide easily based on the functionality of the database role you can configure.
It will be useful.
-Thank you
Pavan Kumar N
Maybe you are looking for
-
is your Apple Watch unplug your phone at a certain distance?
I recently bought a series of Apple Watch 1 and I was wondering if at a distance, only he disconnects your iPhone? In addition, who is the home button, and what are the objectives of the buttons?
-
I have the old hard drive in a USB enclosure and connected to the computer again. I have installed firefox and you need to have the address book (critical) copied and inserted information from address book on the new computer. I hope that there is a
-
New episode does not appear in iTunes
Hello I have a problem, my flow http://hypnowords.Podbean.com/feed/ works but I have the new episode I posted recently, this morning, does not Hypnowords https://itunes.apple.com/de/podcast/hypnowords-podcast/id1062592743?l=en in the store. Can you h
-
HP touchsmart PC 320: WLAN network connections missing icon
My computor has stopped working on the WiFi network in our House at night, all other computor at home always connects to the modem router wifi and work very well it is just this computor ceased and it not same reconising Wi - Fi and networking in the
-
How to use Windows Fax and Scan if a modem has not been built in my PC?
Original title: fax and scan Windows Why bother to preload a tower PC with windows fax and analyze if the PC has a modem and in fact does not even a wireless receiver. When an ordinary user like me go buy the adapter wireless and go buy the fax mode