Better method to backup the database via EM 12c

I want to use EM to schedule backup jobs and would like to get some feedback from someone who already been used the product. Let's say you have 100 databases.
1. do you create 100 backup job for each database? if so, everytime you created a new database, you have to create another new job. if you have a large env, this can be a nightmare to manage.
2. you can create a job in library and submit a job. everytime you have new database, you just need to add the database to the job library. The only thing I am not sure is how does the backup files go to the right folder for each DB?
thx

If you want to go this way, you should use Groups.
In a Group you could assign Databases
Next, submit your Backup job to this Group
If you create a new database you only need to add this Database to the Group
Automatically the next time your Job get started, it will take your new Database aswell.
Regards
Rob
http://oemgc.wordpress.com

Similar Messages

  • Can not connect the database via query string (C#). The SQL Server Management Studio is showing the full path of a location instead of database name.

    I can not connect to the database via C#. The database is showing full path of the database file instead of the database name. See the pic: a database showing only name 'emart' and the other database showing the full path.
    : Robby

    Hi,
    According to your post, I know that the database name is showing file path of the database rather than the database name in SQL Server Management Studio. You were not able to
    establish a connection to the database using C#.
    As Olaf said, was any error message thrown out when the connection failed? How did you create these databases?
    You can use the following T-SQL to attach the database and see if the issue persists.
    CREATE DATABASE
    databasename
        ON (FILENAME = 'filepath _Data.mdf'),
        (FILENAME = 'filepath_Log.ldf')
    FOR ATTACH;
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Backup the database without shuting down the database

    Hello All,
    Just want to ask if any one can tell me if it is possible to backup the database without shutting it down
    When can you do so if it is possible?

    A hot (or on-line) backup is a backup performed while the database is open and available for use (read and write activity). Except for Oracle exports, one can only do on-line backups when the database is ARCHIVELOG mode.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14192/toc.htm

  • Is using backup device better when backing up the database?

    Hello Community
        I used sp_addumpdevice to perform a backup and restore.
        Is there an advantage to using sp_addumpdevice when doing
    backups and restores or is it better to just issue the Backup Database
    command and specify to disk?
        Thank you
        Shabeaut

    Hello,
    There is no difference in terms of performance. The difference is the level of obfuscation, for example if you had a single database and wanted it to always go to the same place, etc, you could do what you've done and then the backup command is smaller.
    It's the same either way.
    Sean Gallardy | Blog |
    Twitter

  • Which databases support 'SSO to the database' via Delegation in XI 3.1?

    SQL Server has been officially supported since XI R2. Oracle I believe has now joined the list.
    Which other database platforms are supported via Windows Delegation in BOE XI 3.1? (And must they reside on Windows too, or can they reside on *NIX?)
    Thanks

    well preliminary findings appear that SAP business warehouse was added. Oracle has always worked on unix it's just not documented internally how to set this up. I have seen at least 2 customers get oracle on unix working for on-demand reporting (sso to the DB).
    If the customer can integrate their oracle DB on nix with AD then we can delegate tickets to it (only tested in unconstrained delegation)
    I haven't found this in the docs yet but rather I checked universe connections in 3.1 to see if they had the sso to the DB option. The only new one was SAP.
    We already supported oracle and SQL.
    To note I was unable to test sybase and DB2 for some reason they appeared to be looking for middleware client components I did not have installed. So they may have been added as well (since I know both can be integrated with AD).
    Regards,
    Tim

  • Method to sync the database

    Hi Team,
    I have one new requirement : i want to clone and later sync the one database to other , users will be connected to both databases , how i can achive this
    Any inputs appreciated
    Thanks
    PGR

    Hii,
    If you are using 11g Enterprise Edition, Oracle Active Dataguard feature will surely help you to achieve your requirement.
    Read the below Oracle document to better understand the use of Oracle Active DataGuard
    http://www.oracle.com/technetwork/database/enterprise-edition/overview/active-data-guard-11g-datasheet-1-134534.pdf
    If you are on 10g version , then you dont have any other options rather than Oracle Goldengate or Oracle Streams replication
    LRS

  • How To display a table that resides in the database via JFrame.

    Hi,
    I need to display the contents that present in the table that resides in my database.
    Scenario:
    Im having Main frame window, in that im having a button, while clicking that button a new JFrame should be opened & it should display all the rows & cols of dat table that resides in my DB.
    I have no prob in opening a new JFrame during a button click, but i dont knw how to display table in the table format.
    I tried JTable but i dont know how to pass the data into the JTable.
    Kindly help me out!!!

    JTable relies on a TableModel to deliver data. You have several ways of providing this data:
    - Read it into either a Vector of Vectors (list of rows containing list of columns) or an Object[][] and create the JTable while passing the data.
    - Create a javax.swing.table.DefaultTableModel, pass it to the JTable as a model, configure it and call addRow() in order to add rows.
    - Create a custom table model class; see javax.swing.table.AbstractTableModel for a convenient base class

  • Homegneous System copy Specific DB method Oracle Backup/Restore Sapinst

    Hello colleagues,
    Following the documentation, I´ve one doubt about the above method, is it needed to install again the SCS instance when the system is installed in one host and we want just to refresh database.
    I mean, we want to refresh CRM quality system from Production system. It´s a ABAP+JAVA system, so i have to prepare a backup and export Central instance through sapinst in source system.
    Afterwards it´s needed to follow the three steps in sapinst, Install SCS instance, Install database instance and install central instance (database copy section) . Or as we´ve already installed our quality CRM system, it´s just enough with installing database instance and central instance (using backup/restore method and exported data from source system)
    Thanks a lot for this info because in the SAP guides it´s not clear from my point of view.
    Regards

    Enrique José Marcos wrote:
    Hello colleagues,
    Following the documentation, I´ve one doubt about the above method, is it needed to install again the SCS instance when the system is installed in one host and we want just to refresh database.
    I mean, we want to refresh CRM quality system from Production system. It´s a ABAP+JAVA system, so i have to prepare a backup and export Central instance through sapinst in source system.
    Afterwards it´s needed to follow the three steps in sapinst, Install SCS instance, Install database instance and install central instance (database copy section) . Or as we´ve already installed our quality CRM system, it´s just enough with installing database instance and central instance (using backup/restore method and exported data from source system)
    Thanks a lot for this info because in the SAP guides it´s not clear from my point of view.
    Well i didnot get your question properly, but as per my understanding if you have only ABAP instance installed then you can go with the Database resoration method but as you said ABAP+JAVA instance both are there so in that case you need to build the export of complete system through Sapinst and then you cn perform the same export file to install the target system which will be your Quality.
    Another option is that just restore the database via database restoration method then try to restore the JAVA stack by file system method which is i think not supported by SAP if i am not wrong but it can be done i tired the same on XI system.
    Regards,
    Subhash

  • How to backup MSSQL  database in ECC6

    Hi guys, i am doing patching for our internal ECC6 server. So i need to backup the database before run the patches. I have onliy done database backup in Oracle using Brtools. So i am not familiar with Ms Sql Server backup. Can anyone tell me step by step to do this backup and send me link or screen shot or any type of documents or guidence which help me to resolve this issue. I really appreciate a prompt reply from you guys. Would like to thank you in advance.

    Hello,
    you have to ensure that the SQL Server service (which is performing the backup) can access the share. To ensure this, start the SQL Server with an account that has enough rights on the share (domain user with write rights). You then should be able to create a backup device for the network share with
    use master
    exec sp_addumpdevice 'DISK','MyNetworkShare', '
    server\sharename\path\filename.bak'
    Then you should be able to perform a backup via DB13 to this device or directly with TSQL running
    backup database <SID> to MyNetworkShare
    Best regards
      Clas

  • ROOT can't enter in the database

    Hi.
    I have a problem: I need to install a oracle 9i database to a client and configure it. Then, the client will administer the DB and I'll only make the full offline backup. I'll have the root password, but the client wants a way that me, with the root password, can't connect in his database.
    How I can ensure it to him? If I do a su -oracle I'll can enter in the database with external authentication (connect /); I can copy the pwd file, changes the sysdba password with internal user, connect at the database as sysdba and after rollback the pwd file.
    How I can solucionate it?

    There's not a way to do this that I know of. Like Tim said it comes down to a matter of trust. It doesn't matter what database you're using,
    Oracle, DB2, SQL Server... if you have the root/administrator account you can get into the database. If your client doesn't feel they can
    trust you with the root password then they need to find someone they can trust.
    Having said that, if you're client trusts no one I suppose the client could allow you root access for the install and then change the root
    password after the install. This way the client knows you can't access the database while they're not watching you and you can ask
    for their permission each time you need the use the root account. As far as I know you only need the root account to install the Oracle
    software. Depending on if you're using OS or database authenication to access the database a user only needs the OSOPER or
    SYSOPER role to backup a database. Here's what those roles allow a user to do:
    Permits the user to perform STARTUP, SHUTDOWN, ALTER DATABASE OPEN/MOUNT, ALTER DATABASE BACKUP, ARCHIVE LOG,
    and RECOVER, and includes the RESTRICTED SESSION privilege.
    This means you could create another OS user account and use that for the Oracle backups. What this means for backing up UNIX
    system files I don't know, I'm not a sys admin. I would think you'd still need to back up all system files using the root account.
    Even if I have the ability to backup the database only what prevents me from restoring it on another server where I do have root access?
    I could then su to the oracle account on the server I restored the database to and access the database. Better not tell the client about that!
    Excuse my sarcasm, it's not directed at you. I just think your client has unreal expectations if they expect you to install and backup their
    database but can't trust you.

  • Backup and database export fails

    Now that I've got the database up and running, I'd like to export and/or backup the database. After relaying (I've got a German version of Oracle, so I have to guess what the original terminology might be) the job, it is listed as 'unsucccessful' in the job history. The error code is "VNI-2015 Fehler in der Berechtigungspr|fung" (meaning 'error in authorization check'). The preferred ID-data should be the correct ones.
    Helpless again,
    Claus.

    Greg,
    You need to push planning application into maintenance mode or stop planning server -- to stop users logging/entering data through forms
    If you have single planning app or all apps can go down during nightly process then just stop planning server by calling stopplanning.cmd( not sure about file name)
    after you nightly process is done call startplanning.cmd
    If you have multiple applications and only a subset of them needs to be under maintenance mode
    then you need to change few values in your application Relational repository ( its not recommended by Oracle)
    LOGIN_LEVEL='0' - For all Users
    LOGIN_LEVEL='2' - For Administrators
    you need to change Login_level value to '2' to move app into maintenance mode..
    this link will give you a better idea http://www.orahyplabs.com/2011/02/place-planning-under-maintenance-mode.html
    just add above mentioned steps based on your requirement
    KK

  • Is backup full database , is backuing up controlfile ?

    Hi
    i am on 8174
    is that enough to cold backup the database?
    shutdown immediate;
    startup mount;
    run {
    allocate channel t1 type 'SBT_TAPE';
    send 'NB_ORA_POLICY=....';
    backup full format 'bk_%U_%t' (database);
    or do i need
    backup current controlfile; ?
    i can see here http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76990/rmanconc.htm#436070
    this statment "A full backup is different from a whole database backup, which is a backup of all datafiles and the current control file."
    is that means
    backup full database , is backuing up controlfile ?(i think yes) and is restoring from it requires any archivelogs?(i think no)
    Thanks very much
    Edited by: user9145417 on 25-Aug-2010 16:42

    The reason to have the current controlfile is that it keeps all the information of the database. If you lose the entire machine, it will be much more difficult to recover to another machine without that controlfile. That is one reason that control files are multiplexed, so that you do not lose all of them.
    With 8174 I don't believe there was a method to always included it automatically like with 10g. So yes...always backup your control file with an exact statement.
    Will you need archive logs? If you want to do a complete recovery you will need all the archivelogs that occur after the start of the backup untill the time the database crashes.
    Do you need to backup the archivelogs within this script? Well that depends if you can think of any circumstance that would require you to recover to a point in time using the backup taken before this one.
    Regards
    Tim

  • Scheduling automatic Backup of Database and Application

    Hi,
    Can anyone post the step by step process and methods to Backup my database and how to make recovery.
    I am using oracle10g db Application express .
    I am also using oracle enterprise manager 10g for scheduling email alert processes.
    platform : windows xp
    Thank You.

    Hi,
    sorry for the late reply...
    I anot using an Express edition oracle XE .. its personal edition..that too on windows xp platform...
    so i need a way of automating the backup... like weekend or midnight(daily)..
    will oracle enterprise manager be helpful for this? and how?
    thank you.

  • How we restore the database dmp file in Oracle10g express edition

    please provide me answers as soon as possible...my database is fresh and i want to restore the dmp file in my database, that dmp file is exported by oracle 10g database on other machine.

    there is no impdb or expdb command. There is an imp (for import) and exp (for export).
    I assume you want to replace the existing database with the one on your laptop.
    A much better and more efficient way to do this would be to backup the database on your home machine and then restore it to your office database.
    but before you do anything, backup the database you are copying/importing to (backup option is available on the windows menu or its a batch or shell script in the appropriate directory)

  • Writing a stream to the database

    Hi, I need a little help with writing a stream directly to the database via a prepared statement (if this is the correct way?).
    I have written some code to try and get this working, the scenario is basically to allow people to send files to each other via accounts on a web system. The files can be of different types, and as they contain sensitive information we do not want to create a byte[] of all the file data, what I am trying to achieve is to just take the ServletInputStream and just stream this straight into the database....
    The problem is that when using a jpg as an example only half the image is in the database, and if I look at the stream after I have called executeUpdate() and commit() then it still has not finished. Reading around online and through the api's I got the impression that calling executeUpdate() or setBinaryStream() would continue reading the stream until it returns -1. It doesnt appear that this is happening, as the stream hasnt finished.
    Any help would be appreciated, I have included some of the code below:
    private void streamToGTT(ServletInputStream stream, int contentLength) throws Exception {
            Connection con = new HSMessageAttachmentHandler.UtilDBSubType().getConnection(0);
            con.setAutoCommit(false);
            String outputFile = "C:\\img.jpg";
            OraclePreparedStatement pstmt = null;
            /*FileOutputStream fstream = new FileOutputStream(outputFile);
            DataOutputStream ds = new DataOutputStream(fstream);
            int c;
            while((c = stream.read()) != -1) {
                ds.write(c);
            ds.flush();
            ds.close();*/
            try {
                pstmt =(OraclePreparedStatement) con.prepareStatement("{call PKG_HS2_API.SAVE_SCAN_ATT(?,?,?,?)}");
                pstmt.setInt(1, 123);
                pstmt.setInt(2, 101);
                pstmt.setBinaryStream(3, stream, contentLength);
                pstmt.setInt(4, 0);
                pstmt.executeUpdate();
            } catch (Exception e) {
                try {
                    e.printStackTrace();
                    con.rollback();
                } catch (Exception ex) {
                    ex.printStackTrace();
            } finally {
                try {
                    if(con != null) {
                        pstmt.close();
                        pstmt = null;
                        con.commit();
                        con.close();
                        con = null;                   
                    int count = 0;
                    while (stream.read() != -1) {
                        count ++;
                    System.out.println(count);
                } catch (Exception e) {
                    e.printStackTrace();
       }Cheers

    If anyone can help, one thing I have changed, and that made no difference was to turn autocommit on, on the connection object. I then removed the explicit call to commit.
    The table that this statement inserts into is no longer a GTT despite the name of the java method.

Maybe you are looking for

  • Closing PreparedStatements & ResultSets

    Is it necessary to explicitly close ResultSet AND PreparedStatement objects when used together? For example: PreparedStatement ps; ResultSet rs; String sql = " SELECT * FROM some_table WHERE id = ? "; try {     ps = connection.prepareStatement(sql);

  • Ringtone won't show up in 'Tones' tab?

    I created a ringtone on the Myxer app and followed the app's instructions on how to add the ringtone to my desktop on my computer.  I have done this many times before and never had a problem.  When the ringtone is on my desktop, it is in the m4r form

  • Update TVARV table entries using a Function Module or Program

    Hi Gurus, My requirement is that I have a entry in TVARV table which has a 'low'. We would like to change this value whenever we desire. We are unable to do it via sm30 and se16 as table maintenance access is not permitted in Production environment.

  • Accessing Panel Collection property( View & Detach) in programmatically

    Hi All, I am using JDeveloper 11.1.2.0.My scenario is two pages have same table surrounded by Panel Collection layout. Now User hiding some columns in first page table using panel colletion View property then he navigate to the second page the hidden

  • Getting the distinct person or group column from a splist

    Hi, I am trying to get a distinct user type column from my splist. customerUserID is my column name which of type "Person or Group". I am having multiple entries in my splist. i want to pas  my curentoggedinuser and compare it against the values from