Archive log deletion with no backup of the archive logs

I suffer from enormous size archive of the newspaper. In my previous post, I asked for help. I almost 480 GB archive log every day in our database of 11 2 under redhat linux 5.8 GR. Now, if you please help me in another case.

If I take backup of archive logs and run delete archivelog everything until ' sysdate-1' with each backup database of day how it affects. " In my opinion there should be no problem in that I have the last incremental backup and recovery 1 days archive log in archivelog destination. If I do not archive log backups to how it will be different. Help, please.

>

Hello

Sir, I know how to remove. But in my opinion delete up to sysdate-1 and taking no backup of the Archives of newspapers will
no effect. Is in my opinion is right or wrong, that is the question.

What I read in your original post, is that you take a daily incremental backup - Yes? I'm assuming that you also take
a full backup on a regular basis (Sunday?).

I was working on the assumption that the foregoing is available? I worked on a project where installation has been similar. We
tested regularly backups - I hope that you do the same thing?

What we used to do was FTP (script Unix - cron job - if you Google you will find Python or Perl to do the same thing - that is)
what I wanted to, but was cancelled - very 1980, anyway) the archived redo logs on to a specific computer that holds only these files.
After FTP "d - they have been removed from the server, freeing up space.

Now, you say you have TB 0.5 per day - while more than a week, you will need a machine with ~ 3 TB of disk - if you can get a kind
the scenario as this place and running, then you will have both your incremental backup and your archived redo logs for the last
24 hours and the full backup with recovery archived records dating back to this full backup. You can also always archive on tape if
suits. So, you will have redundant coverage - 'belt and braces' as the Americans say.

But, to answer your question directly, "take no backup of archive logs have no effect" - that is true - it
will not affect the operation of the database server, but if I were you, I would hang on to enough archived redo log to return to the
last backup. That's just my humble OPINION.

HTH,

Paul...

Published by: Paulie July 21, 2012 19:28

Tags: Database

Similar Questions

  • BlackBerry Blackberry Q10 ID deleted with Blackberry Protect to the

    Hello

    I do not own the Blackberry device, but my father and I think he did something wrong. He asked me to write to you to help you, because he can't use his device because it deleted the Blackberry account. On October 23, he bought Blackberry Q10 and on 26 October, he deleted an account (he had some problems with the reception of e-mails and he thought that it might help). He also said that the problem might be related with Blackberry Protect. What can I do to make him his device working properly?

    Greetings from Poland and thanks for any help.

    MREX.

    You can try. I don't think he'll do good. Why BlackBerry would be to blame when they provide a big warning that says do not remove the BBID if it is connected to a device?

  • We can schedule with rman backup in the windows platform?

    My question is about the backup settings of my

    the idea is to all on the windows platform

    a weekly full backup (compressed backupset level 0)
    daily incremental backup of (cumulative) (even, level 1)
    an incremental backup every hour (bonus) (level 1)



    could you please tell me if the following examples will be adapted to my needs
    Thanks to you all

    I think you would need to do a .cmd file plan and then using the Windows Task Scheduler. I suggest you do a cmd simple backup file, try to plan and see how it goes.

    HTH
    Aman...

  • How can I move copies of data from an incremental backup, not the original file?

    As part of an incremental backup I get copies of the storage spaces. These default are stored in the disk location of backup diskgroup. Is it possible to move those copies to different diskgroup/location while always save to the default disk backup location diskgroup. I know how to do it with the main data files, but not with copies.
    for example
    Current situation:
    The DATA of the original data files in +.
    Backups in + FRA
    Copies of Datafile recovered in + FRA

    New configuration to be:
    The DATA of the original data files in +.
    Backups in + FRA
    Copies recovered in Datafile + BACKUP

    Thank you

    Yes it is possible.

    Move the backup, and then set the new location of the backup on the controlfile:

    1 put the backup.

    2 RMAN delete old reference backup in the control file:

     crosscheck backup device type disk;
    
     delete noprompt expired backup device type disk;
    

    3 RMAN includes the new location of the backup:

     catalog start with '/path/to/your/backup/'
    

    And you're done :)

  • Is it possible no pictures of backup in a backup of the iPhone?

    My photos are already stored on my iCloud account, so I don't think I need to save it with my backups of the iPhone. This will save space on my hard drive, because my device is locked and iCloud backups are not allowed. Is it possible not to store everything on my camera, which I prefer not to "waste" space on my hard drive, backup of my photos.

    According to the safeguards in iCloud and iTunes - Apple Support, photos are not included in backups, if they are already stored in iCloud, in my photo stream or iCloud photo library.

  • Backup of the stolen device

    Hello

    I want to ask this; What happens if someone steals my iphone / backup file of the ipad to my itunes or something like that. What can do with my backup of the device? I can nothing detected when it is?

    Technically they could restore it to any compatible device unless you it encrypted. On safeguards encrypted in iTunes - Apple Support

    I also recommend to secure your computer in order to avoid these issues.  Guest accounts are perfect for this kind of thing.

  • Duplicate RMAN with specific backup location

    Hello

    I explain here my architecture:

    -Server Oracle 11.2.0.4 production: prod db with the instance name PROD with RMAN backups on the F: drive

    -Test the Oracle 11.2.0.4 Server: test-db with the instance name TEST with RMAN backups on the F: drive and production available on the G: drive backup drive

    -Customer name: customer

    My goal is to reproduce the production server to the test server instance and I can't achieve this goal. The connection is client-side.

    I do it like this:

    -startup nomount TEST

    -On the client, run the following "rman target sys/pass@PROD auxiliary sys/pass@TEST.

    Then in RMAN, I run the following:

    RUN

    {

    CHANNEL AUXILIARY ALLOCATE ch01 DEVICE TYPE DISK;

    CHANNEL AUXILIARY ALLOCATE ch02 DEVICE TYPE DISK;

    DUPLICATE THE DATABASE TO THE LOCATION OF THE BACKUP TEST "G:\RMAN";

    }

    RMAN does not see my "LOCATION of BACKUP" command because it tries to reproduce the F: drive and can't find the backup files.

    I have the thing like this:

    CH01 channel: reading of the element of backup F:\RMAN\CTRLFILES\CTRL-PROD-C-2267984545-20150826-00

    CH01 channel: ORA-19870: error when restoring full backup, F:\RMAN\CTRLFILES\CTRL-PROD-C-2267984545-20150826-00

    ORA-19505: impossible to identify the file "F:\RMAN\CTRLFILES\CTRL-PROD-C-2267984545-20150826-00 '

    ORA-27041: could not open the file

    04002 - OSD: could not open the file

    S/O-error: (OS 2) the system cannot find the file specified.

    Single quote, double quote, tried almost everything and RMAN always look for the backup in the F: drive. Can you help me to use the G: drive?

    And at the beginning of this thread someone told me not to connect to the target database.

    You use the clauses unwanted duplicating without connecting to the target database. SPFILE clause is not necessary, but you seem to use it in the block of the RACE.

    Create a simple PFILE with all the parameters required for the auxiliary instance, startup nomount and run the duplicate.

    Also worth db_file_name_convert log_file_name_convert parameters in the PFILE to the auxiliary instance file, run the duplicate.

    run

    {

    CHANNEL AUXILIARY ALLOCATE ch01 DEVICE TYPE DISK;

    CHANNEL AUXILIARY ALLOCATE ch02 DEVICE TYPE DISK;

    DUPLICATE THE DATABASE TO THE LOCATION OF THE BACKUP TEST "G:\RMAN";

    output channel ch01.

    output channel ch02;

    }

    HTH

    Duplication of data without a connection to the target database or catalog of database in Oracle 11 g | Shivananda Rao

    -Jonathan Rolland

  • the friends hyii UA HUD need help how to make a backup of the files from his deleted with (shift + delete) memory card

    the friends hyii UA HUD need help how to make a backup of the files from his deleted with (shift + delete) memory card

    Hello

    It seems that you want to restore the files removed from the memory card.

    I will definitely help you with this.

    I would say you can search the Internet for data recovery software by using your favorite search engine.

    Warning: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    It will be useful. If you have any other questions, feel free to let us know. We will be happy to help you.

    Thank you.

  • RMAN asking newspapers to archive old (deleted) after a backup full database

    Hello guys,.

    Am a little lost here. Is there something I'm missing. Would be great if you guys can report to help me learn.

    We are 11 GR 2. I tried to restore a database to a new machine. I have a RMAN backup with the archive logs.

    The current sequence number is 272.html but when I 'Recover databse' RMAN is asking me for sequence 3. 3 of the sequence, I guess has been deleted manually and we do not have a backup of it. I ran cross-check to clear in the RMAN Repository. He said that validation succeeded for all available logs.

    The sequence 3-119 number are missing (accidentally deleted). We have backups only from sequence number 134 - 272.When I throw summary restoring a complete database of backup it complains about missing archives. Did not really understand what is happening. Would be great if someone can help out me.

    Thank you

    It seems that one or several or all the data in the backup files are older than the SEQUENCE # 3.  Make a BACKUP of the LIST and view details of control point for each of the data files.

    Another alternative is that one or several areas of storage is / was in BACKUP STARTED at the RMAN backup mode.

    Hemant K Collette

  • Keep the session with Esx/Vcenter throughout the backup

    Hello

    When I trigger a backup of drive on a virtual machine, I have the following algorithm.

    1. log in to the host.

    2 take a snapshot of the virtual machine.

    3. for each disk in the virtual machine, the request for the block changed.

    4. take the backup of the disk.

    5. Repeat steps 3 and 4 for the entire disc.

    6. store the virtual machine configuration.

    7 remove the snapshot.

    8 disconnection.

    When I tested my code with a very large drive which took place for a 8hrs say for a diskbackup complete, when I get to step 6, the session appears to have expired. With the exception of the removal of the snapshot, I think I can work around the problem - since the snapshot is an object of the session, just confused how this can be managed. Is there a way to keep the session until I finish the backup - as it seems more natural to keep the session so that all operations are completed instead of trying to work around. Let me know your opinion.

    Thank you

    . / Siva.

    Hello Shiva!

    I couldn't find a way to get the object of snapshot based on the name. One of the recommended steps to do before taking a snapshot is to delete all the snapshots with the name that you use to take the snapshot - which are essentially snapshots of the backup failed. The virtual computer object provides a way that to remove all snapshots - which of course is false, but does not rely on the name of the snapshot. Any ideas on that?

    Sorry to be not been clear enough, I'll try one another: how to find a snapshot by name?

    I agree with you that it is not obvious at first glance. In my opinion the VirtualMachine managed object provides a property named 'snapshot '. This property is an instance of data object VirtualMachineSnapshotInfo. There is a property named "rootSnapshotList". This property is an array of data objects VirtualMachineSnapshotTree . And now comes the crucial point to the routine:

    To me, it seems that the hierarchy entire snapshot is represented by instances of VirtualMachineSnapshotTree of objects where each of them finally points to the successful VirtualMachineSnapshot Explorer they represent in fact. The tree object provides data in read-only snapshot represented, i.e. name, description, etc.

    In short:

    1. Download the roots of instant trees via VM.snapshot.rootSnapshotList
    2. Recursively browse through [VirtualMachineSnapshotTree.childSnapshotList]
    3. Identify your snapshot via VirtualMachineSnapshotTree.name
    4. Access to the managed VirtualMachineSnapshot object via VirtualMachineSnapshotTree.snapshot
    5. Remove the snapshot via the method RemoveSnapshot_Task

    I guess that should work :-)

  • How to make a backup of the database with RMAN Oracle Single Instance

    People,

    Hello. I use the server of Oracle 11 GR 1 material with operating system Oracle Linux 5.10 database.

    I understand how to back up the database instance in SQL Server with Windows. But do not really understand how to back up the database instance in Oracle on Linux.
    I did it cold and hot backup for the database HRCS90 instance, but both receive the same error message.


    Cold backup is below:

    SQL > startup
    ORACLE instance started.

    Total System Global Area 538677248 bytes
    Bytes of size 2146024 fixed
    528482584 variable size bytes
    4194304 buffers of data bytes
    Redo buffers 3854336 bytes
    Mounted database.
    Open database.


    SQL > shutdown immediate
    The database is closed.
    The database is dismounted.
    ORACLE instance stops.


    RMAN > backup database;

    From backup 25 November 13
    using the control file of the target instead of recovery catalog database
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the backup command to the 25/11/2013 14:26:52
    RMAN-06171: not connected to the target database


    RMAN > backup HRCS90

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01009: syntax error: found 'distinctive sign': expected an of: ' archivelog, auxiliary, as, backup backupset, blocks, channel, check, copy, copies, controlfilecopy, cumulative, current, basic data, datafile, datafilecopy, device, diskratio, db_recovery_file_dest, db_file_name_convert, duration, filesperset, for, format, from, full, strength, file, incremental, keep, (, maxsetsize nochecksum, noexclude, nokeep, not, proxy, pool, re-use, recovery, section, skip). ', spfile, skip readonly, setsize, tablespace, tag to validate.
    RMAN-01008: the identifier of the AfDB was: HRCS90
    RMAN-01007: line 1 column 8 file: entry standard


    RMAN > backup database HRCS90

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00558: error occurred during parsing of order entry
    RMAN-01009: syntax error: found 'distinctive sign': expected an of: ' archivelog, auxiliary, backupset channel, copy, controlfilecopy, backup, common, base data, data file, datafilecopy, remove, diskratio, db_recovery_file_dest, filesperset, format, force, file, include, keep, (, maxsetsize, noexclude, nokeep, not, pool, more reuse, recovery, section, skip, spfile, pass readonly, setsize, tablespace, tag, to).
    RMAN-01008: the identifier of the AfDB was: HRCS90
    RMAN-01007: line 1 column 17 file: entry standard

    While the instance of database HRCS90 is starting, I do hot backup by using the same commands and get the same error message with above cold backup.

    My question is:

    Can any folk tell me specific steps (order by order) to back up a single instance of the database in Oracle with RMAN?


    Thank you.

    Yes, you can restore and recover the backup, but not at the moment. You will only be able to restore and recover at the time of your backup.

    For example.

    If you take backup (mount point with no mode of journal archive) at 06:00 and your grave database crashes at 21:00, you will be able to restore and recover until 06:00. You will find all the changes made to the database between 06:00 and 21:00.

    If you want your database to recover until 9 PM or until a point in time, then you must put your database in log mode archive, and then save the archives.

  • Problems with duplicate DATA when the data file was added after the backup completes

    Hello

    I am facing a problem when running of duplicate database with the command of database duplicate RMAN on a 10 g database. If I have the duplication from a full backup that is missing a data file that has been added to the database after the full backup of preforms, I get the following error message:
    Starting restore at 10-10-2009 18:00:38
    
    released channel: t1
    released channel: t2
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/10/2009 18:00:39
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06100: no channel to restore a backup or copy of datafile 43
    Redo log which was Pond at the time of the creation of 43 of the data file is also available in the backups. It seems that RMAN cannot use the log information archived redo to restore the content of the data file 43. I guess that because failure is already reported in the RESTORATION and not in the RECOVERY phase, so again the archived logs are not available yet. I get the same message even if I do another backup of the data file 43 (so a backup that is not in the same backupset as the backup to all the other data files).
    The script, the command duplicate product, I guess that RMAN reads the contents of the source database controlfile and trying to get a backup that contains all the data files to restore the database Assistant - if such a backup is not found, it fails.


    Of course, if I try to perform a restore/recovery of the source database, it works without problem:
    RMAN> restore database;
    
    Starting restore at 13.10.09
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    
    creating datafile fno=43 name=F:\ORA10\ORADATA\SOVDEV\SOMEDATAFILE01.DBF
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to F:\ORA10\ORADATA\SOVDEV\SYSTEM01.DBF
    .....
    The 43 data file is re-created and then redo is applied to the course.

    So, does anyone know if the duplicate database can use archived redo logs to recreate the contents of a data file, as does a normal restore/recovery? If this is the case, then it is necessary to perform a full backup before each duplicated if a data file has been added after such a backup database.

    Thanks in advance for any answers.

    Kind regards
    Swear

    Hi swear,.

    I got exactly the same problem during replication.
    Because we backup archive logs every 6 hours with rman, I added an additional block of running this script.
    run
    {
    backup incremental level 0
    format "% d_ % s_ %%t p_ bk_ '.
    filesperset 4
    database not saved;
    }

    (I also hit a bug in the catalogue which was resolved by patching up the dbs catalog 11.1.0.6, 11.1.0.7 for.)

    This will restrict the data not making file not part of any backup rman 6 hours while jumping for which there is already a backup of data files.

    Kind regards

    Tycho

  • Problem with the new iPhone - iOS bad for the backup in the cloud

    Today, I received my new 6 iPhone.  When I try to configure the phone and download all my info to the cloud backup, I get an error message that says new phone is iOS 9.1 - backups from the old phone 6 (no longer works) are iOS 9.3.1 - so I'm stuck.  Happy to upgrade the software, but...

    I cannot go forward, and I'm nervous about losing all my data/images, if I choose 'NEW PHONE'

    Help, please.  I've been without my iPhone since Sunday... was so excited when it arrived today... now I'm going to lose my mind!

    Kim

    Set up as a new phone. Do not restore the backup. Then update to iOS. After the update, delete it (settings > general > reset > erase all content and settings.) After the erase operation, restore the backup to iCloud.

    You cannot restore a backup made with a new version of the iOS on a device that is running an earlier version.

  • How can I open a backup of the content of the review before deleting or savings?

    I'm being invited to buy more storage or remove files from my icloud. $GB of my 5GB allowance in return is ups.

    I would like to know which photo is saved in some back ups before deciding if I remove the back upwards or not. How I "opened" or revise the content of a return upwards on icloud?

    Sorry, but the only thing you can do with a backup of iCloud to an iOS device is use to restore or install other iOS device.

  • should my time capsule be connected with a cable for backups, after the initial installation?

    should my time capsule be connected with a cable for backups, after the initial installation?

    If you mean that you have to keep your Mac connected to a Time Capsule via Ethernet for future backups, then the answer is no. Time Machine and time Capsule are designed to work over wireless for your Mac would just need to be connected to the wireless network provided by the time Capsule.

Maybe you are looking for