How lot take log backup using script in HANA

We have SAP HANA SPS09.
1) We are using script provided by SAP Note#1651055 to take the data backup.But it seems it is not taking log backup.HOw can we schedule logbackup ? or we have to use DBACOCKPIT or Studio only?
2) My DB is log_mode OVERWRITE.I have taken backup using script.But when I tried to check the backup using below command
hdbbackupdiag --check -f -d /mnt/resource/backup/xb8_bkp_19022015/ --logDirs  /mnt/resource/logbackup/,/usr/sap/XB8/HDB00/backup/log
ERROR: [110081] Catalog backup log_backup_0_0_0_0 not found
goazr1app904d:/usr/sap/XB8/HDB00>
Is it like we have the DB in OVERWRITE mode thats why we are getting this error?Will my recovery work ?
Thanks,
Mofizur

Did your issue got resolved?
We are having same issue. We are on Rev 82 and using DD Boost EMC to take the backup using BACKINT.
Though we are on Rev 82 I tried option provided by Pavan which didn't worked for me.
hdbbackupdiag --check --useBackintForCatalog --backintDataParamFile /opt/ddbda/config/sap_hana_ddbda.utl -d /usr/sap/A0T/SYS/global/hdb/backint
ERROR: [110081] Catalog backup log_backup_0_0_0_0 not found
Regards,
Nitin

Similar Messages

  • Can u we take online redo log backups using RMAN......can any one guide me

    can u we take online redo log backups using RMAN.....in 1og

    'Backup' solution for online redo logs is multiplexing (members of a group on different independent drives).
    Werner

  • 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 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

  • 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.

  • Cold backup using script

    Dear all,
    I need a script to take cold backup of oracle database 10.2.0.3.0 .. such that if todays date is 28-oct-08.. then a folder with the name 28oct08 to be created in the backup location.then using the script user should login to the database shutdown the db and listener and make sure this is completely down and copy the complete oracle files and home location to the above mentioned folder in the server.. any links or points will help a lot ?
    Kai

    Kai, rather than write a script to perform a cold backup for whatever platform you are on I suggest you write a script to generate the cold backup script. The script can connect to the database, read various v$ and dba views such as dba_data_files to get the necessary data file information, and place the file names into OS copy commands. The resulting script should probably include steps to connect to and stop the database and to restart the database instance when it is complete.
    Be sure to include a copy of your control file and the spfile in your backup. You do not need to include the online redo logs in your manual cold backup.
    An alternate might be to run an rman backup while the database is in restricted session depending on how freely your site has given out the DBA role and/or restricted session privilege.
    HTH -- Mark D Powell --

  • How to take Auto backup from External Network Drive to Mac pro internal Dri

    Hi,
    I have a External Network Drive (Buffalo 1TB) which i use as a server, now i need to take auto backup from that external drive to the Mac i am working on, which has 2TB Internal hard Disk.
    Please could anyone help me on this.....
    Thanks in advance

    If you are looking to actually integrate what you have on the external one terabyte hard drive with the 2 TB hard drive you're using inside the Mac the best move for you if you want access to that data when using the Mac Pro server is going into utilities click on the top bar where it says go fall that down to the utilities told them that folder quickly once you are there you will see migration assistant click on that you will be asked to type your admin password to that. It will ask you "how do you want to transfer your information" then select from a Time machine backup or other disk when it asks you will be transferring information to your Mac Pro from your 1 Tb backup external hard drive once it's finished eject the drive or reformat it and use it again if your objective was to infect keep compress the data on the external so you have more space but do not have access to it I strongly recommend Carbon Copy Clone 3.3.1 is 100% free and does a fantastic job here is the link http://www.pure-mac.com/downloads/carboncopyclonerdl.html of copying every block to create an exact replica of your source hard drive. If you want something different and don't mind paying SuperDuper! is a great product as well this WebSite will have many options I would stick to carbon copy clone http://www.pure-mac.com/backup.html I also like EMC Retrospect backup and recovery software for the Mac it is a great product but very much on the expensive side for backup utilities although if you need word offers this might be right up your alley.
    I hope I wasn't help,
    Sincerely,
    Thomas

  • How to take the Backup of all XI-Design Objects(Repository, Directroty,SLD)

    Deal All,
          Actually I am facing problems with XI Server.
    we have decided to reinstall the server. So, please tell me how to take the back up for all the scenarios that has been created in that. And also tell me how to take the back up for all the things.
    Then how the backups can be used in Newly initialed XI-Sys.
    Please help me.
    Thanks in advance.
    Danab

    Hi,
    In your IR and ID , you can export the Objects as TPZ files which can be reimported later.
    To expoert, select the SWCV in your IR or the Configuartion Scenario in ID and then Tools --> Export and then specify the directoy in your XI server to which export should be done and then export the same.
    Now, they will be available as TPZ files. When you need to reimport, tools --> Import and you can import.
    Regards,
    Bhavesh

  • How to monitor Log Backups for MS SQL Server

    Hello all.
    We are running Solution Manager 7.1 on SP Stack 10 and have downloaded the latest template content.
    When configuring the templates for DB monitoring, we noticed that although there is a metric that monitors the age of the last DB backup, there is no such metric to monitor the age of the last successful Log backup, or even a metric to alert us on a failed backup / log backup.
    Has any of you ever had to create a custom metric to monitor either the age of the latest successful log backup for MS SQL Server, or a custom metric to alert on failed backups / log backups?
    If yes, could you provide some instructions on how to create such a metric?
    Thank you in advance for your answers.
    Phevos

    Divyanshu, thank you for your answer.
    I had a similar idea to check the DB log file for failed log backups. The problem is that when I opened the log file from the dbacockpit, I found no errors/warnings for the days that our log backups did not run or failed. Here is a small part of that log to show you what I mean. In this example, the log backup was not running from 25th of July until the 28th of July when we fixed the log backups again, after receiving a disk space warning (log disk drive was almost full):
    The last successful log backup is mentioned in the log: "20140724091524    Backup    Log was backed up"
    Then as the days go by, there is no backup failure entries whatsoever to look for them in the log:
    20140725000023    spid18s    This instance of SQL Server has been using a process ID of 1304 since 5/27/2014 11:50:00 PM (local) 5/28/2014 6:50:00
    20140725000023    spid18s    AM (UTC). This is an informational message only; no user action is required.
    20140726000020    spid21s    This instance of SQL Server has been using a process ID of 1304 since 5/27/2014 11:50:00 PM (local) 5/28/2014 6:50:00
    20140726000020    spid21s    AM (UTC). This is an informational message only; no user action is required.
    20140727000023    spid22s    This instance of SQL Server has been using a process ID of 1304 since 5/27/2014 11:50:00 PM (local) 5/28/2014 6:50:00
    20140727000023    spid22s    AM (UTC). This is an informational message only; no user action is required.
    20140728000022    spid17s    This instance of SQL Server has been using a process ID of 1304 since 5/27/2014 11:50:00 PM (local) 5/28/2014 6:50:00
    20140728000022    spid17s    AM (UTC). This is an informational message only; no user action is required.
    Until finally on the 28th we restored the log backup functionality:
    20140728042814    Backup    Log was backed up. Database: XXX, creation date(time): 2010/12/22(16:45:29)
    So, I find it difficult to deduce an appropriate string to look for in the log, in order to generate an alert when my log backups are not working.
    Any suggestions? Am I looking at the wrong place perhaps?

  • How to take AME Backup

    Can anyone please tell me how to take backup for AME which can be used in other instance
    Regards,
    Pradeep

    Hi;
    I dont have experience on it but FNDLOAD could be helpful
    Please review below note and reference part
    How To Migrate AME Setups From One Instance To Another [ID 1168883.1]
    Also see:
    Master Reference For AME Based Requisition Approval In R12 [ID 1207863.1]
    Regard
    Helios

  • How to call text file using Script in Data Integrator

    Dear All,
    Can any one assit me in how to call a text file using script with the help of Data Integrator.
    and one question ?
    M having 32 csv files i want to club thos 32 csv files into one table with the help of Data Integrator, can
    any one assist me.

    mary,
    since you knew the file name ,when clicked in name send to server,read the file and write to servlet outputstream.
    I think this would help you.
    If anything wrong in mycode ..forums will help you further
    BufferedInputStream bis=null;
    BufferedOutputStream bos=null;
    int bytesRead=0;
    byte buff[]=new byte[1024];
    File f=new File(test.txt);
    try{
         bis= new BufferedInputStream(new FileInputStream(f));
         bytesRead=bis.read(buff,0,buff.length);
         if(bytesRead!=-1){
              // create a BufferedOutputStream from ServletOutputStream
              bos=new BufferedInputStream(response.getOutputStream());
              do{
                   bos.write(buff,0,bytesRead);
              }while((bytesRead=bis.read(buff,0,buff.length))!=-1)
    }catch(Exception e){
         ////error handling
         }

  • 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 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

  • Hot backup using script

    hi,
    please help me to take hot backup.
    i want step by step procedure or send me some links
    with regards,
    Senthilkumarp

    I think you'd be better asking about backups in the correct forum...
    Try...
    General Database Discussions
    or
    Recovery Manager (RMAN)

  • How to create .log for sqlplus script

    Hi All,
    I created a sqlplus script and run it through a window form. My user want to me create a .log file for this script so they can know the job is completed or not. Does any one know how to do it?
    Thanks
    OF

    I created a "Login.sql" script that I use for all my sql*plus sessions.
    It creates a spool file in my common directory and everything i do is logged unless i set spool off.
    Take a look and it gives you an example of using spool files and how to set a directory and unique filename for each spoolfile.
    The contents of this file:
    -- any uppercase commands are my specific changes.
    -- this file must go in the oracle bin path or where sqlplus exe is located
    SET HEADING OFF
    PROMPT Who What Why Where When, This is SQL*Plus!
    Select 'You are connected to ' || GLOBAL_NAME || ' as ' || USER FROM GLOBAL_NAME;
    set appinfo ON
    set appinfo "SQL*Plus"
    set arraysize 15
    set autocommit OFF
    set autoprint OFF
    set autorecovery OFF
    set autotrace off
    set blockterminator "."
    set cmdsep OFF
    set colsep " "
    set compatibility NATIVE
    set concat "."
    set copycommit 0
    set copytypecheck ON
    set define "&"
    set describe DEPTH 1 LINENUM OFF INDENT ON
    set markup HTML OFF SPOOL OFF ENTMAP ON PRE OFF
    set echo OFF
    set editfile "afiedt.buf"
    set embedded OFF
    set endbuftoken ""
    set escape OFF
    set feedback 6
    set flagger OFF
    set flush ON
    SET HEADING ON
    set headsep "|"
    SET LINESIZE 250
    set logsource ""
    set long 80
    set longchunksize 80
    set newpage 1
    set null ""
    set numformat ""
    set numwidth 10
    SET PAGESIZE 24
    set pause OFF
    set recsep WRAP
    set recsepchar " "
    SET SERVEROUTPUT ON size 1000000 format WORD_WRAPPED
    set shiftinout invisible
    set showmode OFF
    set sqlblanklines OFF
    set sqlcase MIXED
    set sqlcontinue "> "
    set sqlnumber ON
    set sqlprefix "#"
    set sqlprompt "SQL> "
    set sqlterminator ";"
    set suffix "sql"
    set tab ON
    set termout ON
    SET TIME ON
    SET TIMING ON
    SET TRIMOUT ON
    set trimspool OFF
    set underline "-"
    set verify ON
    set wrap ON
    COL SPOOLFILE NEW_VALUE SPOOL;
    COL SYSTIMESTAMP FORMAT a38
    SELECT 'C:\oracle\spoolfiles\'||NAME||'_'||TO_CHAR(SYSDATE,'DD_MON_YYYY_HH24MISS')||'.lst' spoolfile FROM V$DATABASE;
    spool &spool
    PROMPT -----------------------------------------------
    SELECT SYSTIMESTAMP FROM DUAL;
    PROMPT -----------------------------------------------

Maybe you are looking for