Oracle VSS based backup

I have implemented VSS requester which successfully performs backups against various writers (MS Exchange, MS SQL Server, etc). This requester also performs successful FULL and Incremental backups against Oracle Writer, but there is a problem: Oracle DB is not aware of performed backup - so there is no archivelog deletion. Also, from RMAN if executed LIST BACKUP OF ARCHIVELOG ALL; there is no any archivelog listed as result.
So if VSS backup is used, eventually archivelogs will exhaust its space since they will never be eligible for any kind of deletion policy.

Hi 980555,
So if VSS backup is used, eventually archivelogs will exhaust its space since they will never be eligible for any kind of deletion policy. Correct.
You will need to create a job using the Windows scheduler which deletes archivelogs older than a day or so.
Regards,
Tycho

Similar Messages

  • About a trace log level of Oracle VSS Writer.

    I verified the backup using the Oracle VSS Writer of Oracle11gR2.
    In order to check the behavior of the Oracle VSS Writer, I want to output the trace log of Oracle VSS Writer.
    However, there is the following description in the document, there is no description of the trace level.
    oravssw SID [/tl trace_level]
    /tl :Specifies the trace level for a Oracle VSS writer for a specified SID.
    Does somebody know the value?

    I'm not sure whether any version of Oracle -and you don't mention which 4 digit version you are using - is certified against Windows 2012.
    So whatever hack you apply, for sure My Oracle Support will not be able to deal with any issues which may arise from this.
    I'm sure you are aware Microsoft has a very bad track record on downwards compatibility, so I recommend downgrading this system to a certified version of Windows.
    Sybrand Bakker
    Senior Oracle DBA

  • RMAN command in  Oracle VSS Writer for  incremental/differential restore

    Hello
    Working on application to support incermental/differential backup via VSS ( Oracle VSS Writer )
    Accoding to documentation about [Performing Database Backup and Recovery with VSS  |http://docs.oracle.com/cd/E11882_01/win.112/e10845/vss.htm]
    Oracle VSS Writer does not perform default recovery of Archived redo log or flash recovery component. (This component is defined to contain only log or incremental files)
    Nevertheless, the requestor application can invoke required RMAN commands.
    What RMAN command is needed to be performed for incermental logs recovery? (This command is set in VssBackupComponents::SetRestoreOptions call and will be performed on PostRertore Phase by Writer)
    I have tried RESTORE ARCHIVELOG ALL but did not succeeded .
    Thanks

    Let we describe my oracle VSS backup/restore proccess in details
    Succeeded with full backup/restore only, but failed to to implement differential one.
    Oracle VSS Writer support only three components for explicit selection for backup: Oracle Database and it sub-component: Flash Recovery Area/ArchivedLogs.
    For full backup stage I explicitly select these components
    Why not only Oracle database as ancestor of Flash Recovery Area/ArchivedLogs?
    As oracle vss writer uses time stamp mechanism for incremental and differential backups,
    I select all these components for full backup stage (to get previous timestamps for Flash Recovery Area/ArchivedLogs on differential backup phase. With explicit selection these components its timestamps will be added to backup component document. )
    On diferential backup phase I select Flash Recovery Area/ArchivedLogs only using previous backup stamp(SetPreviousBackupStamp call), loaded from previous backup component document.
    Restore perform sequentially:
    1. Restore data from full backup phase (select all these three components for Restore), but do SetAdditionalRestore(true) for OracleDatabase component to avoid bringing Oracle database only after full restore phase
    2. Restore data from differential phase (select Flash Recovery Area/ArchivedLogs for Restore only( even can't select Database as there is no record in backup component document about it on differential phase backup) and call SetAdditionalRestore(false) for these components
    As Oracle Writer does not perform default recovery of this component. Nevertheless, the requester application can run required RMAN commands(via setRestoreOptions VSS call). I tried as RECOVER DATABASE as RESTORE ARCHIVELOG ALL commands , but failed to restore database.
    If I restore full backup phase(without differential) only and call SetAdditionalRestore(false) for Oracle Database component, Oracle VSS writer restores data successfully and mount database.
    How to restore differential part?

  • Oracle VSS Writer in 12c

    I do have backup solution which uses Oracle VSS Writer on 11g successfully.
    However, in 12c, vssadmin list writers does not enumerate Oracle VSS Writer. I followed protocol to install and start Oracle VSS Service using oravssw [SID] /i and oravssw /q /start and service is started and running. However Oracle writer is not listed by Volume Shadow Services.
    Is there something new regarding this feature in 12c?

    I'm not sure whether any version of Oracle -and you don't mention which 4 digit version you are using - is certified against Windows 2012.
    So whatever hack you apply, for sure My Oracle Support will not be able to deal with any issues which may arise from this.
    I'm sure you are aware Microsoft has a very bad track record on downwards compatibility, so I recommend downgrading this system to a certified version of Windows.
    Sybrand Bakker
    Senior Oracle DBA

  • Create a report in oracle portal based on a different database.

    Hello,
    I'm trying to create a report in oracle portal based on table in a different database than te one from portal.
    I have allready succesfully added a new DAD in the enterprise manager, but how can I select that database in the portal environment?
    Thierry

    Hi,
    Please check the below link
    http://help.sap.com/businessobject/product_guides/boexir3/en/xi3_voyager_userguide_en.pdf
    I think you can get more information in Integration Kits - SAP or Business objects forum.

  • The user account in which the Oracle VSS Writer Service is running does not have the DBA privileges to log in to the Oracle instance.

    VSS-00011: Connection to database instance <instance_name> failed.  
    Cause : The user account in which the Oracle VSS Writer Service is running  does not have the DBA privileges to log in to the Oracle instance.  
    Action : Run the Oracle VSS Writer Service in a user account that can connect to the Oracle instance with DBA privileges.  
    I have assigned ora_dba group to the user that runs the Oracle VSS Writer Service which is the only Oracle solution but still getting
    the above error. Was advised to raise the issue here that it is an OS issue. Pls help

    The user account cannot access Oracle Database instance. And also how do you temporarily disable security software on the server.
    Have you checked what I already asked for? "Try using the user account and access the Database Instance.
    That will let you see if the problem is with the user account permissions or not."
    If this does not help then you can contact Oracle as suggested by Dave.
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • Oracle RAC with Oracle Linux Based RAC Applications

    What are the advantages of using Oracle Linux Based RAC applications (also known as Linux Oracle Projects) with Oracle Database RAC 10g ?

    Personally, I find RAC to be about 1000% easier to manage on Linux...than on what? And why?
    Beacause personally I can't see difference in RAC management between Linux and Solaris (i.e.).

  • Oracle 12c - rman backup for all PDB

    Do we have any ready commands that will take backup for all the attached PDB in oracle 12c (container managed db)?

    To backup your entire container DB, connect to your CDB & issue a full backup:
    rman> backup database;
    Backing up your pdb, either connect to the target itself & issue a backup or
    rman> backup pluggable database porcl1;
    Backing up only the root, connect to the target &
    rman> backup database root;
    always condensed nicely here: ORACLE-BASE - Multitenant : Backup and Recovery of a Container Database (CDB) and a Pluggable Database (PDB) in Oracle D…

  • ASM based backup

    If i enable flash recovery area as an ASM file system , but these backup files will not be accesible by OS , then how can i copy those ASM based backup files move to tape cartrdge, ulimately i have to use os copy command , OS cannot read ASM based backup piece.

    Do you want to backup "flashback file" on ASM?
    I have no idea too,
    But ... if you use asm on version 11g, you can backup from ASM to local disk before and then backup to TAPE.
    Example:
    $ asmcmd
    ASMCMD> cp file01.txt /tmp/
    copying +Vol1/db/file01.txt -> /tmp//file01.txt
    ;)

  • OSB and server-less SAN based backup.

    Hi All,
    This is my first question in this forum. Is SAN based backup possible in OSB. If so how can I configure this. Thank you very much.
    Regards
    Aminul

    Thanks Donna. Since we are planning to implement OSB in our environment, hopefully we will get more support from this forum. could please put some lights on"OSB supports SAN environments dynamically sharing tape drives between SAN attached media servers".Thanks once again.
    Regards
    Aminul
    Edited by: user12203512 on Oct 19, 2011 8:55 PM

  • Cloud based backups

    I was just told that Carbonite is useless for macs. I don't use Time maching because you need an external drive and I use a laptop becuase I am all over the place and can't lug an external drive all around with me. Any suggestions on cloud based backups?

    Check here for comparisons.
    http://mac-online-backup-services-review.toptenreviews.com/

  • VSS Full Backup VS VSS copy backup.

    Hi
    My question really is where can I find a clearer explanation regarding the difference between Full Backup and Copy Backup. Since I'm not that familiar with backup, the explanation that one retains the application log files and the other clears the application log files makes me to miss the whole meaning of this.
    I understand Copy Backup is to be used if you have another backup product. Since it retains the log files, that means that the other backup utility basically doesn't even know another backup took place? or am I understanding this all wrong.
    thank you.

    Hello,
    When you use some backup product to back up your data (for example, a folder), the archive attribute will be cleared (meaning that this file has been backed up). If you make some changes to the data after you back up this data, the archive attribute will be selected automatically to indicate that the data has been changed since the last save. So, next time the backup utility runs, it will check all the files' archive attributes to see which data has been changed since the last backup.
    You can see this attribute by clicking "Advanced" button on the General tab of the folder' property. It is the "Folder is ready for archiving".
    So, if you have more than one backup product to regularly backup your files and after the initial backup some files have been changed. These changed files' archive attribute will be selected. One backup utility runs and finds that the files have been changed, it will back up these files and then clears the archive attribute. After that, anther backup utility runs, however, it will find that the archive attribute is not selected, so it will see this file as unchanged since the last backup. Conclusively, after a long time, you will find the backup files are not the same within the different backup products.
    The total difference between these two options is, copy backup copies all the files that you select, but does not mark each file as having been backed up (in other words, the archive attribute is not cleared).
    So, as the prompt says, choose the VSS copy backup if you are using another backup product to back up applications that are on Volumes included in the current backup.
    Best regards,
    Chang Yin
    Microsoft Online Community Support

  • Connecter for provisioning to Oracle Form based Applications

    Hi,
    I would like to provision users from OIM to Oracle Form based applications.May I know which connecter I have to use?. DB Application table connecter or DB User Management Connecter?.
    Also may I know in which table I need to refer to (If i am using Application Table connecter)?.Thanks.

    The database application table connector should work fine. Figure out which table contains the user information for the users and you should be fine.
    If Oracle Forms actually uses database users just use the database user connector.
    Best regards
    /Martin

  • How do I create an Oracle 10g offsite backup

    Total size of the datafiles that make up the tablespaces of the DB = 1532121.6875 Mb
    This size will eventually grow to about 6-7 terrabytes
    I used the following query to determine the above size:
    SELECT sum(bytes/1048576) FROM dba_extents; I saw this question poseted on another site
    QUESTION POSED ON: 15 August 2007
    I recently handled a project whereby we have many site servers at various places in our country and there is a central server in Delhi (India). My project is to take a backup of the local server and post that backup to the central server via Internet. I chose the RMAN (Recovery Manager) approach. Using that approach I can back up the database and connect to the remote database. But I can't find how to post the backup to the remote server. Please give me guidance regarding this project.
    This was the answer:
    EXPERT RESPONSE
    Basically, there are two options to have RMAN back up to a remote server. One, back up locally and then FTP the backup to the remote server. Two, create a network file share from the database server to the remote server. Have RMAN back up to the network file share. It will think the file system is local, but in actuality, the file system is in another location.
    Currently a level 1 incremental backup is done at 10:00PM every night to the array (this takes approximately 1 hour to be completed). I am interested in doing a full hot offsite backup of the DB to a disk on another server.
    Can anyone tell me how would I be able to do this using RMAN and/or backing locally and then FTP'ing the backup to a remote sever.
    Can anyone also confirm if the calculation for the size of the DB is accurate?
    ( I did the calculations based on what I saw at this site and this site)
    I would like to do this in preperation for some firmware upgrade that our Sun support would like to do on the array, I would like to implement a script (or maybe use RMAN) to do a nightly offsite backup. I would still need to do the DB backup to the array...but what files do I copy off the array (to the remote server) for an offsite backup of the DB.
    I would really appreciate any help.
    MY CURRENT RMAN CONFIGS
    using target database control file instead of recovery catalog                
    RMAN configuration parameters are:                                            
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;                                   
    CONFIGURE BACKUP OPTIMIZATION OFF; # default                                  
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default                              
    CONFIGURE CONTROLFILE AUTOBACKUP ON;                                          
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;            
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default         
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default       
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default                                  
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default                              
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default                            
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default                       
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt/oracle/product/10.2.0/dbs/snapcf_MYSID.f'; # default########################################
    I am using the following software/hardware :
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    PL/SQL Release 10.2.0.3.0 - Production
    CORE 10.2.0.3.0 Production
    TNS for Solaris: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    Recovery Manager: Release 10.2.0.3.0 - Production
    SunOS myserver 5.9 Generic_118558-34 sun4u sparc SUNW,Netra-T12
    SunFire E2900 Server with Sun Storage Tek 6140

    Thanks for the help, I took a look at the script. Suppose however I didn't/couldn't do any modification of the Oracle RMAN settings (without voiding my support contract). Could I simply copy the necessary DB files to a remote server, would I be able to do a restore (if necessary) from those copied files?
    Like I have pointed out before, currently an incremental level 1 backup (to the array) is done nightly at 10 (and it takes approximately 1 hour)
    [....I am also working on updating the support contract ]

  • How to archive and Purge in Oracle 10g based on data

    Hi,
    Our requirement is that based on some rules stored in static tables we want to perform Archiving, purging and compression of data in Oracle 10g.
    Can anyone guide me to proper information material for how to go about this?
    Thanks!
    Avinash.

    Hi,
    Thanks for the information.
    But this traditional way of doing is archiving is for maintenance and backup operations.
    We want to have this process online, without taking db offline. In this case will this approach work?
    In our case, the rules can be like -
    1. For table 'A', if rows exceed 10Million, then start archiving of the data for that table.
    2. For table 'B', if data is older than 6 motnhs start archiving of the data for that table.
    3. Archiving should be on for 15 minutes only after that should pause, and should resume whenever user wants to resume.
    4. Archiving should start on specified days only... ETC...

Maybe you are looking for

  • What is the fastest way to create thumbnails in CS6?

    Hi All... I wanted to know if there is a certain way you can take larger images and have them shrink down to a thumbnail size in an automated fashion?  Instead of having to load each image and change the dimensions and export the image as a thumbnail

  • Not able to change NLS_CHARACTERSET

    Hi , I want to change the character set of the data for supporting the Indian Languages. When I used the beow command "alter database character set AL32UTF8;" I got the below error alter database character set AL32UTF8 ERROR at line 1: ORA-12712: new

  • How to close the computer since mail doesn't work?

    Hi all, I don't know why my mail doesn't work. due to it, I can't close the macbook pro. How to solve it? Thanks Lilian

  • How to override strings in ww_strings.xlf

    Hi, I am facing an issue with overriding ww_strings.xlf which is available at <Middleware_Home> / Oracle_ECM1/ucm/idc/components/Localization/lang / <language code >. In general we can create a resource for strings in a custom component and we overri

  • Opening New View take forever!

    I just installed the latest Oracle Explorer for VS2005. I am trying to create views when I click the "New Relational View" it takes the application about 5 minutes to respond with the creation screen. If I try to edit an existing view the IDE crashes