How to take RMAN backup through a single (default) channel

Sir,
In an interview I was asked a question that how can I allocate a single channel to multiple databases to take simultaneous backup. I was unanswer.
Pl. tell me if it is possible what will be the query with an example.
Regards
Neeraj

No it's not at all possible to take backup of multiple database through the manually allocated channel.
Allocating the channel manually is only possible while running the commands in batch mode
eg. run {
allocate channel ch1 type disk format='/backup1/RMANBACKUP/PROD521_%s_%p';
allocate channel ch2 type disk format='/backup1/RMANBACKUP/PROD521_%s_%p';
backup database setsize=12582912;
release channel ch1;
release channel ch2;
And you can connect through single rman prompt to only one target database not more than that. So at any point of time you connect to only one database you can user channels to backup that database only.
connected to recovery catalog database
RMAN> CONN TARGET SYS/ORACLE@RMAN
RMAN> CONNECT TARGET SYS/ORACLE@RMAN
connected to target database: RMAN (DBID=1528877161)
RMAN> CONNECT TARGET SYS/ORACLE@CLS
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-06167: already connected
Edited by: sac on Sep 4, 2008 12:59 PM

Similar Messages

  • HT1766 how to take message backup through icloud

    Hii
    Please tell me how to take message backup  through icloud.
    Thanks
    Kapil

    Not from iCloud, because it's just one updated backup.
    I would also backup with your computer next time it's more reliable.

  • To Confgure RMAN backup through Netvault

    Hi All,
    I have configured RMAN backup through a Net-Vault. Previously I was taking User Managed backup, Backup ran successfully. I have issues with RMAN Backup through NetVault.
    The following is the error message received.
    RMAN-00571: ===========================================================
    : =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-01031: insufficient privileges
    Failed with exit code 3
    RMAN returned exit code 3
    But when I take RMAN backup directly(Without Netvault) with that oracle user, I have no problem - Backup Runs properly.
    What should I do to take Backup through NetVault.
    Thanks In Advance,
    Suresh S.

    No it's not at all possible to take backup of multiple database through the manually allocated channel.
    Allocating the channel manually is only possible while running the commands in batch mode
    eg. run {
    allocate channel ch1 type disk format='/backup1/RMANBACKUP/PROD521_%s_%p';
    allocate channel ch2 type disk format='/backup1/RMANBACKUP/PROD521_%s_%p';
    backup database setsize=12582912;
    release channel ch1;
    release channel ch2;
    And you can connect through single rman prompt to only one target database not more than that. So at any point of time you connect to only one database you can user channels to backup that database only.
    connected to recovery catalog database
    RMAN> CONN TARGET SYS/ORACLE@RMAN
    RMAN> CONNECT TARGET SYS/ORACLE@RMAN
    connected to target database: RMAN (DBID=1528877161)
    RMAN> CONNECT TARGET SYS/ORACLE@CLS
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-06167: already connected
    Edited by: sac on Sep 4, 2008 12:59 PM

  • Like to take rman backup files into some other machine

    Dear all
    I like to take Rman backup into some other machine rather than its default storage location $oracle_home/dbs in to some other machine..
    While i ran database backup in rman it stores the file sets into default location $ORACLE_HOME/dbs ... I relocated in to some other drivers in same machine also.. I got work ... But due to space issue i would like to take backup into some other machine so its possible ? how to configure it...
    Regards
    Gopinath

    GopiKrishna wrote:
    Dear all
    I like to take Rman backup into some other machine rather than its default storage location $oracle_home/dbs in to some other machine..
    While i ran database backup in rman it stores the file sets into default location $ORACLE_HOME/dbs ... I relocated in to some other drivers in same machine also.. I got work ... But due to space issue i would like to take backup into some other machine so its possible ? how to configure it...
    Regards
    GopinathYou need to mount the second machine and take backup to that mount point
    Kamran Agayev A.
    Oracle ACE
    My Oracle Video Tutorials - http://kamranagayev.com/oracle-video-tutorials/
    My ebook - http://kamranagayev.com/2011/10/19/step-by-step-oracle-installation-all-in-one-e-book/

  • How to take a backup manually in oracle 11g express edition?

    how to take a backup manually in oracle 11g express edition? i want to take backup of a database and want to restore later on on a different computer .

    Stop database, and copy all files to another machine.That sounds to me to be the closest answer to the question posted. And perhaps the easiest solution.
    Install XE on the "another machine", shut it down. Shutdown the source database. Copy the datafiles to the new host. Startup your "new" database, it will be an exact clone of the original.
    To find out what files need to be copied, as system (or sysdba) run:
    select name from v$datafile;
    ... file1, file2 ...
    show parameter control
    ... control_files ... file1 ...
    alter database backup controlfile to trace [reset logs];
    show parameter diag;
    ... diagnostic_dest ... <drive:>|/diag_pathTo do a proper database clone its better to recreate the controlfile and reset the archive sequence number- leave out the controlfile copy part. In the diag_path location find the trace file under diag/rdbms/$ORACLE_SID/<db_name>/trace it should be the latest ora*.trc file.
    The trace file has the commands to recreate the controlfile, which includes the datafiles and putting the tempfile back in place. If the datafiles are in a different location, i.e. in Windows going to a different drive, or you want do put datafiles in a different folder location, the create controlfile statement is the easiest time to get the file directories right.
    If you add the "reset logs" qualifier (don't use the brackets!) you'll get just the reset logs version of the create controlfile statement, otherwise you'll get both NORESETLOGS and RESETLOGS versions of a create controlfile statement, run one or the other. Not both. Not the entire trace file, just the create controlfile, alter database open [reset logs], alter tablespace temp add tempfile ... bits. No recovery is needed for a database that is shutdown when datafiles get copied to a new location/host.

  • How to stop RMAN backup in solaris platform.

    Dear All;
    How to stop RMAN backup in solaris platform.
    Ranjan

    788442 wrote:
    How to stop RMAN backup from oracle end.
    To stop Rman backup you have to identify rman session as below
    select * from v$session
    where MODULE like 'rman%'or you can use v$rman_status identify sid and serial then kill this session as
    alter system kill session '<sid>,<serial>' immediate;

  • How to take schema backup

    Hi All,
    Can you please tell me how to take schema backup.
    DB : 10.2.0.2
    Thanks in advance.

    1. 1. what is the time difference between for this two utilities to export the data for a schema, i.e "expdp" and "exp"?Go for EXPDP
    2. If i using COMPRESSION option in "expdp" utility, how many times data size will be reduced to original size?When “Y”, export will mark the table to be loaded as one extent for the import utility. If “N”, the current storage options defined for the table will be used. Although this option is only implemented on import, it can only be specified on export.
    3. 3. With out importing the data, how can i check the data which is exported, is correctly exported or not? You can do import with show=y option. This will not import any thing in the database. this will only generate the Sql file and your Export file can be validated. This will work similar to normal import except that this will not insert anything in the database.
    Imp 'userid/password' fromuser=userid touser=userid show=y file=filename.dmp log=logfile.log
    Regards

  • How to get RMAN backup logfile.

    Hi All,
    Can u tell me How to get RMAN backup logfile after completion of the backup.

    SQL> desc v$rman_output
    Name                            Null?    Type
    SID                                  NUMBER
    RECID                                  NUMBER
    STAMP                                  NUMBER
    SESSION_RECID                             NUMBER
    SESSION_STAMP                             NUMBER
    OUTPUT                              VARCHAR2(130)
    RMAN_STATUS_RECID                        NUMBER
    RMAN_STATUS_STAMP                        NUMBER
    SESSION_KEY                             NUMBERIt works for me

  • How to identify rman backup level?

    Hi,
    I am using rman catalog for rman backup. how to identify rman backup level from catalog.
    Thanks,

    By doing the obvious and consulting the online documentation at http://tahiti.oracle.com
    You will notice the list backup command output has a level column and this is also present in rc_backupset and/or rc_backuppiece.
    Sybrand Bakker
    Senior Oracle DBA

  • Who takes RMAN backup?

    Hi all,
    I have an oracle 9.2.0.7 database instance on SLES9 sp3 64bit. And RMAN backup is taken every day by one who is I dont know although I changed sys and system passwords. It seems that the backup is taken on local machine, doesn't it? I looked at v$session_longops view then I saw backup is taken SYS user. Anyone doesn't have RECOVERY_CATALOG_OWNER role. I looked at crontab of oracle and root users, then I looked at dba_jobs. But I dont see anything about rman backup anywhere. I wonder who takes RMAN backup on my system?
    Regards
    İlke ALTINPULLUK

    hi,
    I sent one of my audit files. Then I looked at baandb machine's crontab but I didnt find anything. Then I looked at dba_jobs on baandb. I didnt find anything.
    my audit files like follow:
    Audit file /opt/oracle/oracle/product/9iR2/rdbms/audit/ora_27666.aud
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    ORACLE_HOME = /opt/oracle/oracle/product/9iR2
    System name:    Linux
    Node name:      baandb
    Release:        2.6.5-7.244-smp
    Version:        #1 SMP Mon Dec 12 18:32:25 UTC 2005
    Machine:        x86_64
    Instance name: gcam
    Redo thread mounted by this instance: 1
    Oracle process number: 22
    Unix process pid: 27666, image: oracle@baandb (TNS V1-V3)
    Thu Jan 13 01:05:50 2011
    ACTION : 'CONNECT'
    DATABASE USER: '/'
    PRIVILEGE : SYSDBA
    CLIENT USER: oracle
    CLIENT TERMINAL:
    STATUS: 0
    Dear EJR; I didnt understand what you mean?
    Edited by: ilke_altinpulluk on 20.Oca.2011 03:51

  • Is it possible to take RMAN Backup

    Can anyone tell me whether we can take Rman Backup in Oracle 10g Express Editon.
    Thanks in advance.

    hi,
    Thanks for the reply.
    I tried to take a rman backup and got this error:
    Starting backup at 14-APR-08
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 04/14/2008 17:19:13
    RMAN-03014: implicit resync of recovery catalog failed
    RMAN-06171: not connected to target database
    When tried to connect to target database this is what i got.
    RMAN> connect target /;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-01031: insufficient privileges
    Please help. Thanks in advance.

  • How to test RMAN backups

    Hi,
    We are running 24X7 systems and we take backup through RMAN.
    I want to test my backups are working or not.
    How can I do that.
    Regards
    MMU

    restore validate database would be handy in your case.
    When the above is issued, RMAN doesn't touch the live datafiles, it uses the previous valid backupsets to validate whether they are good enough for restore and recovery.
    However, restoring on another host, will helpful to guage the restore and recovery timing.
    Jaffar

  • How to verify RMAN backup ?

    How to verify and validate the RMAN backups on daily basis?One more doubt at this point - if we can't locate any RMAN script in crontab(crontab -l) but still backup is occuring regularly, how can we see the script behind this?
    Thanks in advance.
    Edited by: 916438 on May 27, 2012 8:47 PM

    916438 wrote:
    How to verify and validate the RMAN backups on daily basis?One more doubt at this point - if we can't locate any RMAN script in crontab(crontab -l) but still backup is occuring regularly, how can we see the script behind this?
    What you want see? If backup was executed without error or make sure that there is a valid backup on tape or disk.
    So, If you want see if backup was executed successfull you must find the logs of backup or query "V$RMAN_OUTPUT" (check it on documentation).
    If you want check if Database is Valid on Disk or TAPE as mentioned previously "RESTORE VALIDATE DATABASE" (check it on documentation).
    Where we can locate RMAN SCRIPT? It's hard to answer.
    It' your env, you should find out. The options are: Crontab / Oracle Enteprise Manager / Third-Party Backup Software / Job Scheduler.
    Also you can try : Take a time of backup was executed and check on shell a time of exection of backup " ps -ef |grep rman" you will find from where script was started.
    Regards,
    Levi Pereira

  • How to take cold  backup

    hi,
    i have database oracle 10 g rac on aix machine , my datbafiles r on SAN storage,
    now i want to take cold backup of my database so tell me how to do it step by step while i cannot c the datafiles thoes r on san.
    thxs

    neeraj19 wrote:
    hi,
    i have database oracle 10 g rac on aix machine , my datbafiles r on SAN storage,
    now i want to take cold backup of my database so tell me how to do it step by step while i cannot c the datafiles thoes r on san.
    thxs"while i cannot c the datafiles thoes r on san"
    I guess that must some shorthand for "I cannot see the datafiles, those are on san."
    If so, what does being on san have to do with being able to see the files?
    In any event the answer to any question about "how do I backup" is the same .... RMAN.

  • How to move rman backups on tap from disk

    Hi,
    I have rman backup files on the disk, now how we can move these files to tap. is there any rman command or is there any script to move.
    Thank you!

    Do you use FRA (Flash recovery area)?
    If you use FRA then configure RMAN to take backup to tape. And backup fra to tape.
    RUN
    ALLOCATE CHANNEL ch0 TYPE ‘SBT_TAPE’;
    BACKUP RECOVERY AREA;
    RELEASE CHANNEL ch0;
    If you don't use FRA then you can backup your backupsets which are on the disk to tape.
    RMAN> BACKUP DEVICE TYPE SBT BACKUPSET ALL;
    Talip Hakan Ozturk
    http://taliphakanozturken.wordpress.com/

Maybe you are looking for