Rotate backup OFFLINE oracle / Win

Class,
I do not have much knowledge with Oracle, and I'm wanting to do a HSC and need to create an offline backup.
Does anyone have any documentation on how to do an offline backup in Oracle and WINDOWS.
thanks guys!

Hi,
With the help of BRTools, the backup of DB's for SAP can be taken very easily
Login to the Server at the OS level as <SID>ADM user.
Execute BRTools
4 - Backup and database copy
1 = Database backup
2 - Backup device type (device) (specify disk/tape) If ur option is disk then u need to have enough space in <drive>:oracle\<SID>\sapbackup
6 - Backup type (type) ............... [offline_force]
c - cont
1 - Confirmation mode (confirm) ....... [yes]
c - cont
As u r going to take offline backup u need to have the DB shutdown and thus u need a downtime.
Regards,
Varadharajan M

Similar Messages

  • Oracle Users blocked after backup offline CRM

    Hi all,
    everytime the backup offline finished the oracle users are blocked and the system is unable to start up again, so we have to unblock them manually,  does anybody have a clue why this is happening?
    Many thanks in advance

    Hello Markus,
    This is the error i got:
    ERROR => ORA-1403 when accessing table SAPUSER
    And then i have to unlock all this users:
    ALTER USER OPS$CRPADM ACCOUNT UNLOCK;
    ALTER USER OPS$SR3ADM ACCOUNT UNLOCK;
    ALTER USER OPS$SAPSERVICESAP_SID ACCOUNT UNLOCK;
    ALTER USER OUTLN ACCOUNT UNLOCK;
    ALTER USER OPS$ORACRQ ACCOUNT UNLOCK;
    ALTER USER OPS$ORACRP ACCOUNT UNLOCK;
    ALTER USER OPS$SAPSERVICECRQ ACCOUNT UNLOCK;
    ALTER USER OPS$CRQADM ACCOUNT UNLOCK;
    ALTER USER OPS$SAP_SIDADM ACCOUNT UNLOCK;
    ALTER USER OPS$SAPSERVICECRP ACCOUNT UNLOCK;
    ALTER USER SYS ACCOUNT UNLOCK;
    ALTER USER SYSTEM ACCOUNT UNLOCK;
    ALTER USER SAPSR3DB ACCOUNT UNLOCK;
    ALTER USER DIP ACCOUNT UNLOCK;
    ALTER USER TSMSYS ACCOUNT UNLOCK;
    ALTER USER DBSNMP ACCOUNT UNLOCK;
    ALTER USER SAPSR3 ACCOUNT UNLOCK;
    Many thanks

  • How to backup an oracle database?

    I am running a oracle server on a windows box.
    using the oracle 92 management console and developer tools.
    Can someone instruct me on how to create a "job" that will backup my oracle databases on a daily basis?
    I am more used to MS-SQL and have no clue how to do it in Oracle.
    Thanks

    Hi,
    this is my weekly script to backup oracle database.
    i run it from cron so you can schedule it in win but you must do same change there
    #!/bin/bash
    . /etc/profile.d/oracle.sh
    TMPDIR=/opt/app/oracle/tmp
    $ORACLE_HOME/bin/rman target / nocatalog log=$TMPDIR/backup_full_`date +'%Y%m%d_%H%M'`.log >/dev/null 2>&1 <<EOF
    set echo on;
    show all;
    crosscheck archivelog all;
    crosscheck backup ;
    delete noprompt expired backup device type disk;
    backup device type disk database tag='FULL_BACKUP';
    backup device type disk archivelog all not backed up;
    delete noprompt obsolete device type disk;
    exit;
    EOF
    exit

  • What commands used for taking backup of oracle database using BR*Tools

    Can somebody please help me urgently to know what are the commands used for taking backup of oracle database using BR TOOLS.Also specifythe commands in detail which can be used for taking backups of oracle database ,Online Redo log files in databse using BRBACK tool,Archiving of offline, redo log files using BRARCHIVE, and Restoring a Database using BRRESTORE tool Commands(Plese specify the commands with their Syntax used).Also specify the commands with their Syntax which are used for taking backup of oracle database(online,Offline redo log files) into Tapedrives using BRTOOLS commands.
    Thanking You for helping (in advance).

    Dear Ashish,
    BRBACKUP / BRARCHIVE calls the operating system command to copy the files.
    Simple approach to get the commands is as follows.
    1. Set the BR_TRACE (as given in the SAP note 29321) and run the command for which you need to know the OS / SQL commands.
    2. This will generate the log file with the trace information. This trace has the information of the commands used by the job you have run.
    Hope this helps.
    Regards,
    Madhukar

  • Shell script for export backup in oracle 11g

    Hi,
    Oracle version 11.2.0..
    O/S-AIX
    How to write shell script for export full backup in oracle 11g and also need to remove 2 days of old backup.
    Regards,
    Raju

    How to write shell script for export full backup in oracle 11g
    Do you mean that export is your backup strategy ? is your database running in noarchivelog mode ? if so, then why ? if not so, then why not RMAN ?
    need to remove 2 days of old backup.
    If that mean remove files older than 2 days, you can use something like this :
    $ find <absolute directory path> -mtime +2 -exec rm {} \;

  • How to include Date for backup of Oracle in a script !!! LINUX

    hi,
    I need to add date & time for the backup of Oracle 10g on OEL 5 32 bit.
    and also how do I get an email when Rman finishes its job
    Thanks in advanced.

    user584721 wrote:
    Thanks for the update..
    I am using a script called full_dpbackup.sh which contain the following ...
    expdp system/oracle schemas=scott directory=test_dir dumpfile=scott.dmp logfile=expdpscott.log mpencryption=all encryption_password=scott reuse_dumpfiles=y compression=all
    I need to include the date & time in this script.
    Thanks in advanced.That's not a backup, it's an export.
    I don't have my linux system handy to debug, but what you want would be something like:
    expdp ..... dumpfile=exp_`date`.logThe reverse single quote (I don't know the official term, but it's the character just to the left of the one/exclamation on a US keyboard) tells the shell to substitute the value returned by the command enclosed by the marks. In the example above, it would substitute the value returned by the "date" command. That command has many, many arguments to control the format of what is returned. Look them up an any good nix reference, or just "man date".  (As for any good nix reference, you should at a minimum have a copy of "Unix In A Nutshell" on your desk.)

  • Hot backups in Oracle 10g R2

    Hi
    How to take up Hot backups (On-line backup) in Oracle 10g Release 2 in Windows environment.
    Pls give me the link or steps for do the hot back-ups.
    Thanks

    I think you are test ENV?
    Did you archive the current log file which i mentioned in the earlier post
    if so and if you the archived log
    Shutdown the DB
    Rename the file you copied
    move the D:\oradata\*.dbf(whihc was backed up by you)in the original directory and
    from sqlplus issue
    SQL>startup mount
    SQL>recover database
    this hould work
    But make sure you have the backup before deleting/renaming the the file you backed up by HOTbackup

  • RMAN / backup.  oracle 9 vs. oracle 10

    My colleague mentioned a while ago that we had to investigate RMAN &/or a backup client, "because in oracle 10, when doing an export of a live db, oracle does not switch into "single user mode" like it did in 9. So we couldn't have 100% faith in our .dmp file."
    I'd like to do some further research on this, but looking through the "Oracle 10 Complete reference" and googling - I don't see any information about it. Has anyone here dealt with this or know of a link I should see?
    Finally... Does anyone know if an RMAN backup for Oracle 10 accounts for any "in progres" transactions?
    Thanks in advance,
    Mike.

    Oracle, itself, doesn't switch to single user mode.
    Your colleague might have been talking of scripts which shutdown and restart the
    database in restricted mode to run an export of the database.
    RMAN backups as in 8.0/8i/9i/10g (or EBU in Oracle 7) and scripted (aka
    "user managed") backups are all physical backups. They take database blocks
    "as they are". Conceptually, the datafile backups aren't aware of active transactions.
    It is the redo stream in the archivelogs that is required for you to be able to restore
    and recreate a consistent database image.

  • Corrupt data error when using Windows backup on Oracle

    Our SAP servers include a SDLT internal tape drive that we use for doing a complete system backup.  When using Windows Backup we get the following message in the backup log:
    WARNING: Portions of "\oracle\T00\sapdata1\protd_2\PROTD.DATA2" cannot be read.  The backed up data is corrupt or incomplete.
    This file will not restore correctly.
    This is occuring on a couple of different systems but the wierd thing is when this happens in occurs on one Oracle drive in one system and the other Oracle drive on another system i.e. the G: drive on our TST sysytem and the E: drive on another.  The E: and G: drives contain the main Oracle datafiles.
    Has anybody ever encounter something like this and what can I do about it?
    Thanks;
    Gale S.

    Especially no backup tool would know about the
    fact
    that a Oracle block had been changed after it was
    copied.
    Now I have to contracdict
    There are backup tools (e. g. OpenFile Manager from
    Legato/EMC), that track the filesystem changes and
    makes sure, the backups are consistent in sense of
    filesystem blocks. We´re backing up some ORA
    databases (non-SAP, 7.3.4 and 8.1.7) for ages now -
    and I never saw this kind of corruptions.
    Well, these Backup-Tools do perform copies I/O-Consistent. That's different than DB-Block-consistent in the first place. Anyhow due to the fact that the DBMS do have a syncronizing between I/Os and writing out the blocks this leads both to consistent blocks.
    I just wonder, how the database would deal with such
    "inconsistent" files. Given the fact, you start a
    backup at filesystem block 0, the database is being
    backed up and a transaction is committed and
    something is written to block 100, 200 and 500. The
    backup is on block 300. If you now restore the
    database, it has the already commited block 500 in
    the file but 100 and 200 are not yet written in the
    database file. The redo will then find an already
    commited transaction on 500. What magic will tell the
    engine, that this is due to an online database
    backup? I mean, if you set the tablespace to backup,
    the engine "knows" the state - but if you just backup
    the file, the engine is unaware of that... I´m just
    curious how this is handled...
    Well the trick here is: we tell the database before we plan to copy the data. When a ONLINE backup is done, the tablespaces are set into BACKUP mode. This changes two things for us:
    1. The datafile headers of these tablespaces are not updated anymore although dirty blocks are still written out to these files. Since the control files that keep the SCN (system change number) are updated nevertheless, the database will know at recovery time that these files had been in online backup mode and do need recovery to become consistent again.
    2. The UNDO-information is not only written out to the UNDO/ROLLBACK-Tablespace but additionally to the REDOLOGS. So, for the time where the tablespaces are in BACKUP mode, we have all information needed to make a block consistent again - regardless if a transaction had been commited or rolled back - in the redolog. So a full recovery of all changes is possible with
    that.
    That's basically the "magic" behind this.
    If the copy of the datafile is done without this - well, then there's no magician in the world that would been able to get it consistent again. Online Backups with Oracle are only possible with BACKUP mode or RMAN (ok, and possible some 3rd party hacks...).
    KR Lars

  • Scheduled cold backup in Oracle

    how to do a scheduled cold backup in Oracle 9i?
    somebody plz. help...

    Hi,<br>
    <br>
    You need ta schedule a shell script in crontab if you're on Unix, or a bat script in TaskManager if you're on Windows.<br>
    The script shut the database down, copy all files (ctl, dbf, redolog...), and restart db.<br>
    <br>
    More info in this following document :<br>
    Backup and Recovery Concepts <br>
    <br>
    Nicolas.

  • Can't switch operation mode after backup offline

    Hello:
    Every sunday system stop at 9:30 a.m to backup offline at 16:00p.m
    System start at 23:00 p.m.
    Operation mode
    Day : 7:00 a.m 22:00 p.m
    Night 22:00 p.m 7:00 a.m
    This monday dont switch operation mode night to day and disp+work get
    busy .
    Nobody could access the system until it is manually reset.
    Can anybody help us?
    Regards.

    You have following options.
    1 .try to adjust  the operation mode as example given below.
    Add an additional operation mode Except  for the duration of backup .
    Example:
    7:00 a.m. - 7:00 p.m. DAY (normal operation mode)
    7:00 p.m. - 7:00 a.m. NIGHT (normal operation mode)
    3:00 a.m. - 4:00 a.m. EXCEPT (Backup operation mode)
    4:00 a.m. - 7:00 a.m. NIGHT (exception operation mode)
    2.See if you get and error message in sm21 after offline backup.
    3.delete the operation mode and create new .
    4.try to change the timings of day and night operation mode.
    what is your OS and DB and Rel?
    hope it helps.
    Amit

  • RAS를 이용한 원격지에서의 ORACLE 접근방법(WIN NT)

    제품 : ORACLE SERVER
    작성날짜 : 2002-04-11
    RAS를 이용한 원격지에서의 ORACLE 접근방법(WIN NT)
    =================================================
    Purpose
    network이 연결되어 있지않은 장소에서 server의 database를 사용하기
    위해서는 modem을 이용할수 밖에 없다. 이때 windows NT의
    RAS(Remote Acess Service)의 기능을 사용하면 쉽게 원하는 바를 얻을
    수가 있다. RAS를 설치하는 방법과 이것을 통하여 windows95에서
    windows NT와 LNA으로 연결되어 있는 다른 SERVER의 database를
    사용할수 있는 방법을 정리 했다.
    Explanation
    이 설치 방법을 기술하기 위해 다음과 같은 상황을 가정한다.
    WINDOWS NT SERVER가 MODEM을 가지고 있고 LAN으로 DATABASE가 있는 UNIX
    SERVER와 연결이 되어있다. 이 DATABASE를 출장나가 있는 직원의 WINDOWS95
    가 설치된 MODEM을 가지고 있는 PC에서 접근하려고 한다.
    설치 방법은 먼저 WINDOWS NT에 RAS를 설치하고 WINDOWS95에선 전화접속
    네트워크를 설치한후 연결된 NETWORK환경을 이용해서 SQL*NET을 셋팅하는
    순서로한다.
    1. WINDOWS NT에 RAS를 설치하기
    제어판의 네트워크를 연다. 서비스 탭에서 추가를 선택한후에 추가를
    선택하여 나온 목록중에 원격 엑세스 서비스(RAS)를 선택한후에 절차에
    의해 설치를 한다. (이때에는 WINDOWS NT INSTALL CD가 필요하다.)
    만약 MODEM에대한 설치가 되어 있지 않으면 이때에 MODEM에 대한 설치까지
    하게 된다. 설치가 끝나고면 매 BOOTING시마다 자동으로 RAS SERVICE가
    기동이된다.
    2. RAS 이용권한 주기.
    시작->프로그램->관리도구(공용)->원격 엑세스 관리자를 선택하면 원격
    엑세스 관리자가 기동된다. 이곳에서 MENU의 USER의 PERMISSION을 선택하면
    REMOTE ACCESS PERMISSIONS화면이 나오는 데 이때 GRANT ALL을 선택하면
    모든 LOGON USER에게 권한을 주게 된다. 필요한 USER를 선택하여 줄수도
    있다. 이 화면의 MENU의 SERVER에서는 RAS를 START, STOP할 수도 있다.
    3. WINDOWS95에서 셋팅하기.
    제어판->네트워크를 선택한다. 컴퓨터확인 탭의 작업 그룹안에 WINDOW NT가
    속해 있는 DOMAIN 이름을 적어준다. 네트워크 구성 탭에 Microsoft 네트워크
    클라이언트의 등록정보를 열어서 로그온 확인의 Windows NT 도메인으로 로그
    온을 체크하고 Windows NT도메인에는 Windows NT가 속한 DOMAIN이름을
    준다. 그리고 시작->프로그램->보조 프로그램->전화접속 네트워크를 선택
    하여 새로연결을 시작한다. 이때 WINDOWS NT가 있는 전화번호 등을 입력하여
    새로운 전화접속 네트워크를 생성한다. 이때 USER롸 PASSWORD는 WINDOWS NT
    DOMAIN에 LOGON할 USER의 것이어야 한다. 그리고 WINDOWS 95를 REBOOTING
    하면 NETWORK에 대한 USER와 PASSWORD를 묻는다. 이때 DOMAIN에 LOGON할
    USER와 PASSWORD를 입력한후에 LOGON한후에 전화접속 네트워크를 기동하면
    RAS가 기동되어서 network이 연결이 된다. 이때는 마치 LAN으로 연결된
    같은 NETWORK안에 있는것과 같다.
    (이것을 WINDOWS95에 이미 전화접속어댑터나 TCP/IP등이 셋팅
    되어 있는 것을 전제로한다.)
    4. SQL*NET연결하기.
    시작->프로그램->Oracle for Windows95->Sql*net Easy Configuration을
    선택하여 database가 있는 unix server의 ip와 sid를 넣어 sql*net을
    셋팅한다. 그리고 developer/2000이나 sql*plus 등을 user/passwd@alias
    형태로 연결하면 된다.

  • Configuring rman backup for oracle on rac cluster

    Hi GURUS
    We are buying installation oracle rac on a two node server. We do backup our db using rman and TSM .
    Does anyone have any guidance on using TSM scheduled TDP backups with
    Oracle RAC multi-node?
    More to that, is it possible to have multiple archive log destination?
    Any advice would be appreciated.
    David

    While you can have archives going to different destinations, on different nodes, it is not advisable because if these destinations are not reachable in case of a node/system failure, you have no access to these archive logs.
    Actually for easy accesibility it would be better to place the archive logs of all instnaces on shared storage. If you are using ASM and using a FRA disk group, you may want to have your archives go into this location.
    NFS mounting filesystems could be slower and may have certain perforamance implications.

  • Problems doing backup in Oracle RAC

    I am working with ORacle RAC, version 10G. That thing about Oracle RAC is completely new for me. There is three databases, I'm doing backups using OEM, but here is the problem. We have defined the directory /backup in both nodes. The problem that I have is when I do the backup it's done in one node, example, today I do the backup, it's done in NODE1/backup. The next time I'm going to do a new backup by any reason the aplication (OEM) is pointing to the NODE2/backup. So here is the problem, if I need to use the first backup, I can't use it, because OEM is pointing to NODE2 instead on NODE1. My question is, how can I set the node, with OEM where I want to do backup or retrieve a prevoius backup?
    Thanks for your help.

    Thanks a lot forn your suggestion, but I think I should give you more details about my doubt.
    The following are the steps for a backup with Oracle Enterprise Manager
    steps
    Thru OEM
    Maintenance
    BACKUP/RECOVERY
    Schedule Backup
    Archive Logs (Whole Database, etc.)
    Then here I click override current settings, by the way, the default is spaces, so I type /backup, but problem is that directory exist in both node, Node1 and Node2, I'm working with oracle 10G, RAC, in a operating system AIX 5.3.
    Then I click Compressed Backup Set, and that's all what I'm doing. But the problem is, sometimes the backup is done in Node1 and other in Node2. And if I need to restore from any previous backup that was done in NODE2, and the application (OEM) is pointing to NODE1, and can not use that previous backup. So, my question is how can I control this, using OEM. I mean, How can I set the Node, to identify in which node the backup will be done, or in which node is the backup I'm going to restore.
    Thanks again

  • Backup offline

    Hi all gurus,
    We will have a database migration.
    1)I'm intending to do a cold backup of the Production DB. I'll do:
    shutdown immediate
    stop listener
    copy all the control files.
    copy all the datafiles (user data, system, sysaux, undo).
    alter system swtich logfile;--> until they become inactive, current.
    copy all the redo log files.
    2)In case I'll need to recover the database with the cold backup listed above, i'll do:
    restore all the files vi cp, I'll not use rman.
    startup mount;
    SELECT 'ALTER DATABASE DATAFILE '''||name||''' ONLINE;' FROM V$DATAFILE WHERE STATUS ='OFFLINE';
    recover database automatic;
    alter database open.
    Am I forgetting anything?
    Thanks.

    kazyskiyn0w wrote:
    Hi all gurus,
    We will have a database migration.
    1)I'm intending to do a cold backup of the Production DB. I'll do:
    shutdown immediate
    stop listener
    copy all the control files.
    copy all the datafiles (user data, system, sysaux, undo).
    alter system swtich logfile;--> until they become inactive, current.
    copy all the redo log files.
    2)In case I'll need to recover the database with the cold backup listed above, i'll do:
    restore all the files vi cp, I'll not use rman.
    startup mount;
    SELECT 'ALTER DATABASE DATAFILE '''||name||''' ONLINE;' FROM V$DATAFILE WHERE STATUS ='OFFLINE';
    recover database automatic;
    alter database open.
    Am I forgetting anything?
    Thanks.
    How will you execute "Alter system switch logfile" after you shutdown the system? You do not need to execute this statement if you are migrating with cold backup. Just shutdown, copy everything to destination and open a database( assuming directory structure is same).You do not need to run "database online" statement. You do not need to recover the database. Just copy and open the database.
    If directory structure is different, you need to change datafile and logfiles location in controlfile. You might need to change the parameters in pfile. Check this link if your directory structure would be different.
    http://shivenracdba.blogspot.com/2013/03/oracle-database-migration-by-cold-backup.html

Maybe you are looking for

  • Putting new parts in a Tangerine ibook?

    I have a question. I have an old Tangerine G3 ibook that I put away when I had bought a Dual USB ibook. The logic board died on the dual USB ibook....so, I stated up the old Tangerine and installed it with OsX. I've already replaced the memory from t

  • Direct material POs question

    We are implementing a classic scenario with direct procurement (PDP) in EBP 5.0 (SRM 4.0) with 4.7 as the backend. The problem is that the POs generated are not changeable in R/3 because the buyer who is responsible for direct materials has been crea

  • How to install windows xp

    Hey all, Can I install Windows XP SP3 in Macbook Pro (Processor : i5) ? I tried to install with licensed cd but it giving me error saying insert recognized cd.

  • Problem with truncation of suffixing zeros

    Hello friends, I have a query regarding the below issue:    SELECT TO_CHAR(12345.60, '99999D99'), TRUNC(15.80, 2), LPAD(RPAD (16408.80, 20, ' '), 10, ' ')   FROM dual; When I hit this query the, numeric value to be displayed in my report should be '1

  • Can I have hold music?

    I was wondering if its possible to have music play for the people that I will have on hold?