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="">

Concerning

Patrick

Tags: Database

Similar Questions

  • AS3 how to change picture every day of the week

    Hi all! IM pretty new to Flash and im trying to make this calendar thingy and I need to get a different image to show every day of the week. as every Monday has the same image and so on. THX I advance

    Based on what I can find that error is normally associated with a problem of path/name of the file you are trying to load.  If you test the fla in Flash, then the image must be in the same folder as the swf file that gets tested.

    You did a good job with the code.  The only thing I see that you probably want to change is to replace the name of the file with the value of the table.  You really need not variable in week if you use it somewhere else then it could be used as follows...

    my_loader. Load (new URLRequest (weekDay + ".jpeg"));

  • Every day at the same time that play the same music

    Hello

    I have my M4 2 days and now every day at the same time 10:03 play the same music.

    How to stop this, the music in the first place.

    And the second for every day.

    I don't have any timetable for an alarm setting alarm, something else?

    MVG,

    I found it... my fault.

    It's the music warning for incoming mail.

    Should start just 2 different days on the same time.

    Sorry guys.

  • try to set up my mini iPad and it won't let me choose a network that no backup is compatible with the version of iOS on iPad (9.1)

    Try to set up my mini iPad and it won't let me choose a network that no backup is compatible with the version of iOS on iPad (9.1)

    kellycfromlosgatos wrote:

    Try to set up my mini iPad and it won't let me choose a network that no backup is compatible with the version of iOS on iPad (9.1)

    First talk you about selection of a network, and then say that there are no compatible backups. Do you have an older device? Having problems connecting to Wi - Fi, or restore a backup problems? If you had a device more former, is - it possible that this device had 9.2 on iOS? If Yes, then you will need configure the Mini iPad like new, update the iOS 9.1 to 9.2, and then you must use the settings > General > reset > erase all content and settings, to bring him back to the installation wizard. From there, you will be able to restore your previous backup.

  • How to read/write tdms 2.0 files with the TDM C DLL?

    Hello

    How to read/write tdms 2.0 files with the TDM C DLL?

    How consequently the datas in interlaced with the TDM C DLL mode?

    Thank you

    Confirmation: TDM C DLL always wrote the file in TDMS version 2.0.

  • How is it possible to specific your own, with the constant help of string to locate a directory where the NEW

    How is it possible to specific your own, with the constant help of string to locate a directory where the NEW
    created the folder to save?


  • How to write a query to return rows with the varchar column that contains even a single occurrence of the characters, such as Ÿ and

    How to write a query to return rows with the varchar column that contains even a single occurrence of the characters, such as Ÿ and

    I have a table whose columns with values such as

    MINNEAŸPOLIS and ¿VV ¿A

    Only the characters that are allowed in this column are alphabets, numbers, spaces, points and supports.

    Please help to write a SQL SELECT with Regexp_like query or any other option.

    Thanks to you all! Under query worked for me. Thank you Frank to explain the concept of hooks inside regexp_like.

    SELECT * FROM testspecial, WHERE REGEXP_LIKE (sampletext, "[^] ^ A - Z ^ a - z ^ 0-9 ^ [^.]") ^ {^} ^]') ;

  • Hello, I accidentally opened an old file Ircat... and now can't figure out how to return to my only current.  With the help of Mac Yosemite, Lightroom CC

    Hello, I accidentally opened an old file Ircat... and now can't figure out how to return to my only current.  With the help of Mac Yosemite, Lightroom CC

    Thank you!

    File-> open recent. Lists the catalogs you have opened and will allow you to choose one of the previous catalogues.

  • Full backup of DB with RMAN

    Hello

    I have taken using RMAN backup "backup database". This backup control files include, spfile, redo logs, logs of archiving and data files?

    How should there be a backup strategy so that db is retrieved without any loss?

    Thank you
    JIL

    If you set UP CONTROLFILE AUTOBACKUP controlfile and spfile ON backups are automated. They go to the FRA (FlashRecoveryArea) If you have an MRE defined, otherwise they go to $ORACLE_HOME/dbs (on Unix/Linux).

    Redo Logs are never backed up by RMAN.

    BACKUP DATABASE does not include the ArchiveLogs unless you run the basic DATA PLUS ARCHIVELOG BACKUP. Alternatively, you can run BACKUP ARCHIVELOG... specification of the... separately after the DATABASE BACKUP.

    Please read the documentation of Oracle backup and restore.

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • How to restore a full backup of the Server 2008 system that has been stored on a BitLocker Drive encrypted?

    I have a requirement to encrypt my server for transport off-site backups, so I'll try to store my backups to an external drive that is encrypted for BitLocker.  I am doing a test restore to a new drive to simulate a full system recovery, but I'm unable to unlock the drive encrypted with the backup of the prompt under system recovery options.

    I have confirmed that I can unlock the drive from a command inside the original Windows installation prompt using manage - bde.wsf and the recoverypassword, but the same command does not work from the command prompt during the recovery process (started from the installation DVD).  There is no error code, a single message that the recovery key did not work and administrator privileges may be required.

    When you try the same command from another server when connected to that drive, I got an error that can be informative, code 0 x 80310037, implying that the recovery key may not because of the FIPS compatible algorithms that are needed.

    I'm looking for something that isn't possible trying to store the complete system on a BitLocker encypted disk backups?  Any help would be greatly appreciated.

    Thank you
    Jay

    http://www.Microsoft.com/windowsserver2008/en/us/forums-blogs.aspx

    Repost in the Forums 2008 Server at the address above.

    They will help.

    See you soon.

    Mick Murphy - Microsoft partner

  • With RMAN for backup, but not with the archive logs

    We run a 10.2.0.4 database and the rest 11.2.0.3. All databases are on RHEL 5.7.

    Our backups are via RMAN, with the data files, controlfiles and spfile saved to disk, then each day, it is copied off site to a backup server.

    My question is around logs archiving and RMAN.
    Our current situation is:
    -We do not save the logs to archive via RMAN. for example: backup of the list of the archivelog all; gives "specification does not match backups in the repository.
    -We set the archive_lag_target so archiving logs is produced every 30 minutes.
    -a cron job running on a remote server runs periodically to synchronize data (rsync server) the directory of archives with a remote control.
    -daily archive logs on the server host are bzip. Purge of these newspapers is scheduled for more than 3 days rman 'window of recovery '.

    I'm interested in feedback as to if our strategy around archiving logs is correct or not.

    Should we be backup logs archiving via RMAN? Are there potential problems with our approach?
    We just kept our backups in this way the DBA in the past want to see newspapers archived as opposed to it while a backupset.

    Curious to know what others are doing.

    Hello

    Welcome to OTN!

    Archivelogs with RMAN backup is a better option. When the archives are supported by RMAN, RMAN would be aware of the backup items which are required at the time of the recovery archives. You don't have to do it manually.

    On the disk space, you can delete the archives once they were saved by RMAN.

    RMAN > delete any backup archivelog entry;

    This supports the archivelogs and then remove the archives from the disk.

    If you have a dataguard configured, you can set the deletion policy 'applied on Eve', which removes the archives as and when they are applied to the database ensures there by the management of disk space again.

    RMAN > configure archivelog political of deletion to applied pending;

  • I receive several emails every day with zip files attached how can I set message rules to implement spam?

    I tried establish rules of message in Mail, to direct the spam a junk e-mail folder.

    I used "content of the message contains attachments .zip ' but it does not work. Do I need something like (* .zip) to identify all zip files?

    I get about 10 emails like this every day.

    I have O2 and hotmail email accounts and spam comes from all accounts.

    Thank you

    Doug

    I used "content of the message contains attachments .zip ' but it does not work. Do I need something like (* .zip) to identify all zip files?

    How about "any tie his name ends with zip?

  • The backup computer fails with the error "access is denied. (0x80070005) »

    original title: computer backup failure

    My computer will be back up to a point, then will be an error "access is denied. (0x80070005) "at the same time, Microsoft security essentials SAIS it detects a potential threat.

    My question is this: if he stops because it detects a corrupted file?  or is there an error with a certain application that prevents a full backup?

    Hi Cyberwasp35,

    ·         Exactly how are you trying to backup?

    ·         You run the computer as an administrator?

    ·         Have you tried a backup on an external hard drive?

    Try the following steps.

    Step 1

    Perform an online scan to remove the threat detected by the basics of Microsoft security during the backup process

    To make online scan click on the link below:

     

    Online analysis of Microsoft security essentials

    http://OneCare.live.com/site/en-us/default.htm

    Try to disable antivirus software and check if the backup is successful.

    http://Windows.Microsoft.com/en-us/Windows-Vista/disable-antivirus-software

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

    Step 2

    This error can also occur because the recovery partition is enabled for the file backup or restore of the system and is almost full. To work around this problem, do not select D:\ as a backup source. In addition, go to the System Protection in Control Panel and make sure that D:\ is not activated for restore points.

    (1) open the backup and restore by clicking on the Start button, clicking Control Panel, clicking system and Maintenance, and then clicking the backup and restore.

    2) click change settings.  If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    (3) clear the partition D drive if it is selected, and then try to backup again

    Check if the service is stopped or started. Change it to start if it is stopped. The service name is windows backup.

    http://Windows.Microsoft.com/en-us/Windows-Vista/manage-services-in-Windows-Vista-from-Windows-Vista-inside-out

    Reply back with the results

  • [SPA3102] SIP recording every hour with the 401 error and directly 12 OK

    Location: INET-ADSL modem in bridge mode-SPA3102.
    Problem: not really, everything seems to work, can dial in and out.
    But...
    Because I'm curious, I have a logserver of installation and checked what happened every hour of registration.

    What I see in the syslog hourly the 3102 made re - enroll by the SIP provider, but first I think 401 Unauthorized een 12 error and measured, I see an OK message.

    Seems weird to me.

    The same thing happens when I compose, firstly a 401 that OK.

    Can someone explain why the first attempt gives an error and how to avoid this?

    Some details of syslog:

    I replaced a text in the syslog:

    x.x.x.x is real My outside IP address.
    yyyyyyyyy = my local phone number including the area code, such as 31201234567, 31 = NL, 20 = codeZone for Amsterdam
    username = username by my SIP provider

    message 1:
    REGISTER SIP:SIP.poivy.com SIP/2.0
    Via: SIP/2.0/UDP x.x.x.x:5060; direction = z9hG4bK-2283ef7b
    From: + 31yyyyyyyyy ; tag = c85fff819484d288o0
    To: + 31yyyyyyyyy
    Call ID: [email protected]

    CSeq: 6104 REGISTRY
    Max-Forwards: 70
    Authorization: Digest username = "username", realm = "sip.poivy.com", nonce = "1663445546", uri = "sip:sip.poivy.com", algorithm = MD5 response = "c8c5b94c384559bb490b59b72be1c674"
    Contact: + 31yyyyyyyyy ; expires = 3600
    User-Agent: Linksys/SPA3102-3.3.6(GW)
    Content-Length: 0
    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFICATION OPTIONS, see
    Support: x-sipura

    Message 2:
    SIP/2.0 401 Unauthorized
    Via: SIP/2.0/UDP x.x.x.x:5060; direction = z9hG4bK-2283ef7b
    From: + 31yyyyyyyyy ; tag = c85fff819484d288o0
    To: + 31yyyyyyyyy
    Contact: sip:x.x.x.x:5060
    Call ID: [email protected]
    CSeq: 6104 REGISTRY
    Server: (very nice Sip Registrar/Proxy Server)
    Allow: ACK, BYE, CANCEL, INVITE, REGISTER, OPTIONS, INFO, MESSAGE
    WWW-Authenticate: Digest realm = "sip.poivy.com", nonce = "1667015687", algorithm = MD5
    Content-Length: 0

    Message 3:
    REGISTER SIP:SIP.poivy.com SIP/2.0
    Via: SIP/2.0/UDP x.x.x.x:5060; direction = z9hG4bK-4d7052c
    From: + 31yyyyyyyyy ; tag = c85fff819484d288o0
    To: + 31yyyyyyyyy
    Call ID: [email protected]

    CSeq: 6105 REGISTRY
    Max-Forwards: 70
    Authorization: Digest username = "username", realm = "sip.poivy.com", nonce = "1667015687", uri = "sip:sip.poivy.com", algorithm = MD5 response = "46f2176652c0ad8d27f8d3ad1cf72c24"
    Contact: + 31yyyyyyyyy ; expires = 3600
    User-Agent: Linksys/SPA3102-3.3.6(GW)
    Content-Length: 0
    Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFICATION OPTIONS, see
    Support: x-sipura

    Message 4:
    SIP/2.0 200 Ok
    Via: SIP/2.0/UDP x.x.x.x:5060; direction = z9hG4bK-4d7052c
    From: + 31yyyyyyyyy ; tag = c85fff819484d288o0
    To: + 31yyyyyyyyy
    Contact: + 31yyyyyyyyy ; expires = 3600
    Call ID: [email protected]

    CSeq: 6105 REGISTRY
    Server: (very nice Sip Registrar/Proxy Server)
    Allow: ACK, BYE, CANCEL, INVITE, REGISTER, OPTIONS, INFO, MESSAGE
    Content-Length: 0

    @hw: thank you for your tip and your right on the spot!

    Never, ever, thought of this way of "logging" in a system and use delberatley an error response. With your tip, I thought that allows to read the RFC and found RFC 3665. This RFC describes the Protocol SIP basic call flow. And there he was, almost at the beginning of the real story on page 5! The protocol uses a command register which gives a message of 401 error back just to be sure to avoid security problems "man in the middle" (if I understand correctly). He present a challenge and you the answer to a totalizer new order including your answer on the challenge. Which will lead to an OK return the message.

    To resume: nothing weird, it is as expected. My curiosity is frankly satisfied. Another day with what I've learned something. Thank you.

  • How do I publish my site in line with the correct url and not the url of business catalyst

    Hi, I created a Web site in muse and published the catalyst for business, however I now what to do my live site to the correct url. I own the domain name, but this is my first time using muse and I do not know how to find my way dashboard about business catalyst or how to change the url. Whenever I watch video on how to do this, I can only find ones that show you how to publish the site on the catalyst, but nothing about how to go to the next step, which is to publish the site with the correct url.

    Can some please send me a link to a video or a tutorial on how I can do this?

    Thanks to you all

    You're right, because you don't need to update the site every week. Once the site is live it would be very well received. In case you make changes to your file of Muse, you can simply publish the site.

    Thank you

    Sanjit

Maybe you are looking for