RAC Backup of  archivelogs in local destinations

Suppose there is 10g RAC Database using RMAN Backups.
Suppose It is a 2 node or 4 node RAC with archivelogs going to local destinations in all of them. What command we require to run to make sure all four node archivelogs are backed up at once ?
Is there such a command ? Or shall we run backup archivelog all command in all 4 nodes ?

two ways to do it:
1 automatic
configure parallelism to 4.
Backup archivelog etc.
This will automagically open a channel on each node and run a backup command.
2 semi-automatic
alllocate channel .... connect to 'sys/<password>@tns4node1'
alllocate channel .... connect to 'sys/<password>@tns4node2'
alllocate channel .... connect to 'sys/<password>@tns4node3'
alllocate channel .... connect to 'sys/<password>@tns4node4'
backup archivelog etc
Note: RMAN is a lot smarter than you seem to suggest in your last line.
Actually, you are handicapping recovery by setting up local archives.
If the destination would have been shared, all 4 nodes would automagically participate in recovery.
You may want to reconsider your archivelog strategy.
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Time Machine message - "Backup destination is a local destination, but we found an embedded server URL." Should I worry?

    Hello,
    I just transferred my data with Migration Assistant to a newer, used iMac from my old G5. When Time Machine finished, I saw a strange message about an "embedded server URL" and I'm wondering if I should worry.
    The external drive is a LaCie 2TB hard drive connected via Firewire. My iMac is model 12,2 running the latest Mavericks.
    Here is my Time Machine log with the questionable piece in bold:
    Copied 113.67 GB of 235.39 GB, 1168503 of 1213037 items
    Backup destination is a local destination, but we found an embedded server URL.
    Copied 1140104 items (228.3 GB) from volume Macintosh HD. Linked 80321.
    Will copy (424.6 MB) from Macintosh HD
    Found 7210 files (444.3 MB) needing backup
    2.17 GB required (including padding), 23.5 GB available
    Copied 6747 items (444.5 MB) from volume Macintosh HD. Linked 7453.
    Created new backup: 2014-09-24-233352
    Copying OS X Recovery set
    Backup completed successfully.
    Thanks for any advice,
    Zeus

    Firewire can handle networking.. I wonder if you are or have in the past networked the LaCie.. maybe even shared it over the network??
    I do not think the message is particularly problematic.. Since firewire is still not directly connected to a network.. and unless you share it, is still just a local drive.. sometimes TM comes up the strangest issues.. particularly since Mavericks.

  • Full backup with archivelogs

    I tried to do an incremental level 0 backup with archivelogs, it failed with the error messages said that can not recognize file C:\ARCHIVE\ORCL\4_1_684433700.ARC, the error code was ORA-19625. So I added "crosscheck archivelog all;" to the backup script and Redo it.
    This time it succeeded, but there is still something I'm confused. I set up two folders to store the archivelogs, during the process, the archivelogs in the folders were not deleted synchronously,for example arhivelog a was deleted from one folder while the same file in the other folder was remained. Below is my backup script
    RUN {
    ALLOCATE CHANNEL ch00 TYPE DISK;
    ALLOCATE CHANNEL ch01 TYPE DISK;
    BACKUP
              incremental level 0
    SKIP INACCESSIBLE
    TAG hot_db_bk_level0
    FILESPERSET 5
    # recommended format
    FORMAT '\\dell090121\rman_hotbackup\bk_full_%s_%p_%t'
    DATABASE;
    sql 'alter system archive log current';
    RELEASE CHANNEL ch00;
    RELEASE CHANNEL ch01;
    # 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'
    ARCHIVELOG ALL DELETE INPUT;
    RELEASE CHANNEL ch00;
    RELEASE CHANNEL ch01;
    # Note: During the process of backing up the database, RMAN also backs up the
    # control file. This version of the control file does not contain the
    # information about the current backup because "nocatalog" has been specified.
    # To include the information about the current backup, the control file should
    # be backed up as the last step of the RMAN section. This step would not be
    # necessary if we were using a recovery catalog.
    ALLOCATE CHANNEL ch00 TYPE DISK;
    BACKUP
    # recommended format
    FORMAT '\\dell090121\rman_hotbackup\cntrl_%s_%p_%t'
    CURRENT CONTROLFILE;
    RELEASE CHANNEL ch00;
    }

    Even if you have two (or more) archivelog destination directories, the "DELETE INPUT" clause in "BACKUP ARCHIVELOG ..." would delete only archivelogs which it reads for the backup. Thus, because the backup could read from dest_1 (for instance), it would archivelogs from dest_1 but not from dest_2. The Backup is free to backup files at either dest location and delete only what it has backed up, by default with "DELETE INPUT".
    However if you specify DELETE ALL INPUT, then Oracle deletes all copies of the ArchiveLogs.
    Thus your backup command would be
    BACKUP ARCHIVELOG ALL DELETE ALL INPUT;where the first "ALL" is "all archived log sequences available, but only 1 copy of each" while the second "ALL" is "all copies of each archived log backed up by the BACKUP"

  • I am using UPK developer 12.1.0 single user. My sofware has crashed and needs reinstallation. Please suggest how can I take back up of my source files. I am unable to open the application and i can not locate the library backup folder on my local machine.

    I am using UPK developer 12.1.0 single user. My sofware has crashed and needs reinstallation. Please suggest how can I take back up of my source files. I am unable to open the application and i can not locate the library backup folder on my local machine.
    Also, does reinstallation takes the back up automatically or the files will be lost. Please help.

    Here are a bunch of scripts to get folder size under all circumstances.  Take your pick.
    https://gallery.technet.microsoft.com/scriptcenter/site/search?query=get%20folder%20size&f%5B0%5D.Value=get%20folder%20size&f%5B0%5D.Type=SearchText&ac=2
    ¯\_(ツ)_/¯

  • Urgent help : Need to recover a database without backup and archivelogs

    Hi,
    We are in urgent need to recover a database without backup and archivelogs
    one datafile seems corrupted
    SQL> recover automatic database until cancel using BACKUP CONTROLFILE;
    ORA-00279: change 10527325422479 generated at 07/27/2011 03:13:04 needed for
    thread 1
    ORA-00289: suggestion : /pys/u5/oradata/PYS/PYSarch/arch0001.0000181845.arc
    ORA-00280: change 10527325422479 for thread 1 is in sequence #181845
    ORA-00278: log file '/pys/u5/oradata/PYS/PYSarch/arch0001.0000181845.arc' no
    longer needed for this recovery
    ORA-00308: cannot open archived log
    '/pys/u5/oradata/PYS/PYSarch/arch0001.0000181845.arc'
    ORA-27037: unable to obtain file status
    HP-UX Error: 2: No such file or directory
    Additional information: 3
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/pys/u2/oradata/PYS/pay_system_01.dbf'

    N Gasparotto wrote:
    bsac14 wrote:
    my database is in no archive mode
    can you please tell how to restore
    yes it is a datafile corruptionYou did not say how you defined that's a datafile corruption. You provide minimum to zero information.
    I just need to bring the database up,no need any exact data
    I can refresh from prod laterThen drop and recreate database. Basically and since you are not in archive mode, no recover is possible. Period.
    Nicolas.Hi,
    How did you come to the conclusion that your datafile is corrupted? Can you provide and supported logs?
    Regards .....

  • Does Time Machine backup system files (/usr/local/*)?

    Does Time Machine backup system files (/usr/local/*)?
    If so how do you locate them in the Time Machine interface?
    If I go into Time Machine mode and type say "/usr/local" in the Time Machine search bar I get nothing although I can open a terminal application and cd to /usr/local and see bin, lib, include, etc.
    Of course I can never see /usr/local in Finder either ... only at the command line.
    Thanks.

    John, another tech pro ("baltwo") suggests:
    Run this in the Terminal:
    defaults write com.apple.finder AppleShowAllFiles 1
    OPTION-click and hold on Finder's Dock icon->Relaunch which reveals all hidden files. Then, look for that file and delete it. To hide all of those, use the same command, substituiting zero for the one, and relaunch the Finder.

  • Taking daily rman backup of archivelogs

    Hi,
    Technical info:
    OS: Windows 2003 EE
    DB: Oracle 10g EE v. 10.2.0.3
    DB size: 30 GB
    I need help to create a rman script or suggestions for creating a Job in Grid Control.
    I want to take a daily (monday to friday) rman backup of archivelogs in the time interval 9 AM to 5 PM. The script should be run every 2 hours. I want the script to remove the archivelogs that are older than 4 days. The retention policy is 9 days.
    Any suggestions will be very much appreciated.

    Hi,
    Yes, I have realized that I can create different jobs in Grid Control one for each day and each time: for example: at 9 AM, 11 AM, etc until 5 PM.
    Each job performs a backup archivelog and removes those backups that are older than 4 days.
    But I have to create 25 jobs (5 jobs for each day).
    Is there a simpler way to achieve the same result?

  • Can we put RAC database in Archivelog mode without shutting down

    All,
    Can we put RAC database in Archivelog mode without shutting down.
    Currently our new production database (2 node RAC) is in no archive log mode, Need to enable archive log in the database...
    I believe we need to set the cluster_database=false and then put the DB in archive log mode then we need to bounce the database to take effect...
    Just curious to know in 11gR2 ...Can we put the RAC database in archive log mode without any downtime ...?

    Even RAC or non-RAC, database should bounced and enable/disable archive log mode from mount status.

  • Backup failed because the network destination disk was ejected or disconnected unexpectedly!

    My time machine is stuck on 'Stopping backup'.
    The time machine widget gives the above reason: 'Backup failed because the network destination disk was ejected or disconnected unexpectedly!'
    Any idea what I can do to restore it?
    Many thanks
    John
    iMac 2.8GHz Intel Core 2 Duo
    OS 10.7.1
    2 GB 667 MHz DDR2 SDRAM
    Dog named 'Fido'
    Permanent sense of bemusement

    Check this Web page for advice that might help with that problem.

  • Incremental Backup of archivelog

    Hi All,
    I'm new in administration of Oracle and confused about the concept of backup and recovery.
    1. The documentation said the archivelog can be deleted once the Backup has been performed. Is that true? But I want to keep them for 3 days
    2. I did an incremental level 0 yesterday and level 1 backup today on the datafiles and archivelog. I found that the data file sizes of both days are quite small and different every day. But for the archivelog backup, the file size is very large and similar every day. What's the proper way to perform incremental level 1 backup on archivelog?
    Thanks in advance!

    1. The "DELETE INPUT" specification in the Backup command deletes ArchiveLogs immediately after the backup. If you do not want them deleted immediately, do not include the DELETE INPUT specification in your Backup command. (the default is to not delete archivelogs immediately).
    To delete archivelogs seperately, you can add the command
    delete archivelog until time='sysdate-3';to your RMAN backup script to be executed after the backup is completed.
    2. The keyword "INCREMENTAL" in the BACKUP command properly applies to DataFiles (database files0 and not to archivelogs. This is a directive to backup blocks within the datafile that have changed since the last backup. In archivelogs, no blocks are changed within a file -- every file is new.
    To prevent an archivelog being backed up again you can use the "NOT BACKED UP 1 TIMES" in your backup command.
    Thus
    backup archivelog all not backed up 1 times;will only backup new archivelogs that haven't been backed up at the last run.
    See the Oracle Backup and Recovery Reference documentation.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • List backup of archivelog sequence between 7748 and 7750;

    Hi,
    in 8.1.7, I get syntaxe error when I Issue this commande :
    RMAN> list backup of archivelog sequence between 7748 and 7750;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01005: syntax error: found "identifier": expecting one of: "all, from, high, like, low, until"
    RMAN-01008: the bad identifier was: sequence
    RMAN-01007: at line 1 column 27 file: standard input
    Do you know the right syntax ??
    Many thanks before.

    replace sequence by logseq.
    In the future, please use the RMAN reference manual, and do NOT ask this doc question here.
    Sybrand Bakker
    Senior Oracle DBA

  • Datafile lost. No backups or archivelogs

    DB version: 11.2.0.2
    In our newly created DB which is in NOARCHIVELOG mode, we lost a datafile in one of our tablespaces (accidently removed).
    We don't have RMAN backups or archivelogs since the DB creation.
    What is the most we could do ?

    Thank you Hemant, Najat
    Yes. After mentioning that the DB is in NOARCHIVELOG mode, I didn't have to mention "We don't have RMAN backups or archivelogs since the DB creation" .Sorry to confuse you.
    This was the only datafile in that tablespace. So, i guess I have to add another one before dropping the lost datafile (from control file)
    This is what I am going to do
    alter tablespace mytbs add datafile '/u04/oradata/orcl_mytbs01_a.dbf' size 1g;
    alter tablespace mytbs drop datafile '/u04/oradata/orcl_mytbs01.dbf';  --- The lost datafile

  • Define Output type and Local destination per user

    Hi Gurus,
    Nowadays us have defined Output type by Sales Organiztion/Order Type (S_TCODE = VV11).
    Is possible define Output type and Local destination per user?. How to do?.
    thanks and best regards,
    Wilson

    Hi Wilson
    As per my understanding of requirement: you want output type and Local destination for each SAP End user (i.e. who is processing sales order) not the customer. If this is the requirement, we have two solution for it:
    1) If for a particular region/sales district customer are contacting to one particular destination, then create access sequence with output type/order type/sales district. Means for one sales district one Local destination. If sales district is big area and you have many local destination with in that, then you can divide it into regions.
    2) Ask your ABAPer to create a Z table and maintain Local destination for all Users. And amend the print program such that before saving the output entry into NAST table, based on SY-UNAME(user's id), fetch the printer (local destination) from Z table and update the NAST table accordingly.
    As per my observations, option 2 is simpler and more effective.
    try and revert.

  • Rman backup with archivelog from tape

    Hi,
    We are doing a level 0 backup on sunday and then level1 backup on all the weekdays.
    The archive logs generated are 1GB each and are more in number.
    IF we include archivelog in level1 backup , its taking around 12hrs to complete.
    So we are thinking of not including the archivelog in level 1 backup,but then we can daily move the archive logs to another location .
    So archivelogs will not be in the rman backup.
    So in case of restore, how can we apply the archive logs required? rman will not identify the archive logs...how can we manually apply the required archive logs
    Please help

    Information about ArchiveLogs is available in the controlfile as I outlined in my response post in the thread How to find out which archived logs needed to recover a hot backup?
    However, if your CONTROLFILE_RECORD_KEEP_TIME is 7 days and you are attempting a restore of a backup 14 days or 28 days or 35 days old ... you may be out of luck.
    You'd need to maintain a listing of ArchiveLogs in some manner (e.g. a log file outside the database that you periodically update with information about ArchiveLogs).
    It is much better to also backup the ArchiveLogs using RMAN. Don't forget to ensure that controlfile backups or autobackups are also taken and retained.
    Hemant K Chitale

  • RMAN hot backup requires archivelog all the time?

    Hi all,
    consider the case: a dml operation is running in oracle 11g database. after sometime it got completed and issued a commit statement. Now i took a full database hot backup using rman. but dint take archivelog backup(its must i know, but i want to know whether we can do incomplete recovery using only the full database backup and open database using RESETLOGS option?
    Kindly let me know whether we can do incomplete recovery using only full database backup or we must need archivelog to open the database?
    Regards,

    Say your BACKUP DATABASE begins at 01:00am and finishes at 01:50am. At the minimum, you need to backup the Archivelogs from 01:00am to the first archivelolg after 01:50am.  Technically you don't need the archivelogs of before 01:00am. However, if you want the ability to do a point in time recovery (which is a MUST for any production database), you would also backup the "earlier" archivelogs which can be used with the previous database backup.
    Your commit does NOT guarantee that the database files are immediately updated -- DBWR "lazily" defers writing to the database files.  Your commit is preserved in the online redo log. This has to be archived as an Archivelog and backed up.
    Hemant K Chitale

Maybe you are looking for

  • Drive won't read any dvd .. ejects it automatically after spinin some time

    My MBP is just some 2 months old and suddenly it has stopped recongnizing/reading the dvds, they dont even show up on the desktop, dont even read a blank dvd. it spins for some time with a noise and then ejects it out by itself. it is doing this for

  • Problem in installing Ultra Search

    Hi all, We are facing problem while installing Ultra Search for Oracle 9i in Sun Solaris server. The Ultra Search documentation says that the middle tier component includes the following : 1. Ultra Search admininstration tool 2. Ultra Search Java que

  • ITunes causing music to skip

    Hello everyone. Lately, after using iTunes for a few hours the music starts skipping making the computer run choppy. It also skips the mouse and causes programs to timeout. I'm running the latest version of iTunes. I have no spyware, viruses or hijac

  • Pearl 8120 problems

    Ok, so I win this excellent phone in a contest.    It was originally locked to T Mobile, but I really wanted to keep vs sell the phone, so I paid to have it unlocked so I could use it with my AT&T service.  Everything seems to work fine, except I can

  • Since I've updated my computer 2

    Since I've upgraded my 2.4 GHz Intel Core 2 Duo laptop to Mac OS 10.7.2, I've lost the arrowheads used for fine tuing of page position in Pages '09. The page typically now skips from lower part of preceding page to upper part of subsequent page. I ca