Backup/Restore for my demo database

Howdy all. I am running Oracle 10g Standard Edition on Windows 2K Server. I have the following situation ...
I would like to make a standard demo database for my company. This database would be put on several machines and used by sales people to demo our software to possible customers. I need to be able to restore this database on a machine with Oracle 10g installed and then run our software on it.
I can make the database and run our software on it just fine on my machine. I am, however running into problems when trying to learn how Oracle and RMAN work with backups and restoring those backups. I am coming from the MSSQL2K environment where backup/restore is fairly simple and straightforward.
Will somebody please give me a basic idea of what I need to do in order to take the database on my machine and back it up and then restore it on another machine. I don't want to have the restore depend on a given file/directory structure. Our software depends on two tablespaces in the Oracle database. So, if it is easier to somehow backup the two tablespaces and restore them than it is to backup the entire database and restore it - then that is great. I will do it that way.
I am basically looking for the simplest approach for restoring this demo database wherever I want to quickly. Any help would be greatly appreciated.
wally

Jeffrey, here's what I use to do this, I have a production database that on occassion I need to make a copy of to perform some testing on, so I just use this to create an "auxiliary" database using the RMAN backups from the production database. I thought in 10g there was a database clone function, I'll have to look that up and get back to you, anyway, here's the instructions I use.
Target Database = RMAN Target (Source database to be copied.)
Auxiliary Database = RMAN Auxiliary (Duplicated database end result)
1. Copy the target database’s init.ora file to the auxiliary database’s location.
2. Modify disk locations for control files, archive logs and dump dests in init.ora if required
3. Create locations for data files, dump dests, control files and log files
4. Copy RMAN backup files and archive logs to same location on auxiliary DB server as they are on target DB server
5. Create Oracle Service using ORADIM utility
6. Start instance in nomount
7. Create listener.ora entry on auxiliary server
8. Create tnsnames.ora entry on target server
9. Connect to rman catalog, target and auxiliary from the target server:
     RMAN> connect catalog rman/<password>@<catalog db>
     RMAN> connect target sys/<password>@<target db>
     RMAN> connect auxiliary sys/<password>@<auxiliary db>
10. Run the following (modify the sequence count and datafile renames as required.)
run{
allocate auxiliary channel d1 type disk;
set newname for datafile 1 to 'e:\ORACLE\ORADATA\MTSD\SYSTEM01.DBF';
set newname for datafile 2 to 'e:\ORACLE\ORADATA\MTSD\RBS01.DBF';
set newname for datafile 3 to 'e:\ORACLE\ORADATA\MTSD\USERS01.DBF';
set newname for datafile 4 to 'e:\ORACLE\ORADATA\MTSD\TEMP01.DBF';
set newname for datafile 5 to 'e:\ORACLE\ORADATA\MTSD\TOOLS01.DBF';
set newname for datafile 6 to 'e:\ORACLE\ORADATA\MTSD\INDX01.DBF';
set newname for datafile 7 to 'e:\ORACLE\ORADATA\MTSD\SMDBDATA.DBF';
set newname for datafile 8 to 'e:\ORACLE\ORADATA\MTSD\SMDBIDX.DBF';
set newname for datafile 9 to 'e:\ORACLE\ORADATA\MTSD\SMDBTEMP.DBF';
set newname for datafile 10 to 'e:\ORACLE\ORADATA\MTSD\AUDITDATA.ORA';
set newname for datafile 11 to 'e:\ORACLE\ORADATA\MTSD\AUDITAR.ORA';
duplicate target database to mtsd
logfile
'e:\oracle\oradata\mtsd\redo01.log' size 10M,
'e:\oracle\oradata\mtsd\redo02.log' size 10M,
'e:\oracle\oradata\mtsd\redo03.log' size 10M,
'e:\oracle\oradata\mtsd\redo04.log' size 10M;}

Similar Messages

  • I did a backup restore for my 4S

    I did a backup restore for my 4S before updating to 7ios.  It brought back all of my contact list but it didn't bring back any of my other data. Any suggestions on how to fix?

    If you didn't back it up, your data is gone. There is no "solution" after the fact.

  • Multiple Backup Locations for Multiple Lightroom Databases

    I currently work with two lightroom databases but when I back up the databases, the backups get stored in the same Lightroom Backups folder. The two backups are stored in separate sub-folders but the actual database files have the same name. Thus, the only way to know which backup is for which database if to note the times that the backups were created and use this to determine which backup applies to which database.
    It would seem like the actual backup files could be named as per the associated database or the backup location could be specified for each database so that there is less chance for a mistake if a database needs to be restored.
    Thanks in advance,
    Dave Mayfield

    Thanks for your reply.
    I need the have each LOS ( Location of sale or location of delivery) of Business Partner because we will deliver items for the LOS and not for BP.
    As we also need to control (serial numbers) items & services ( field management) I also need to have the LOS as BP.
    As example:
    BP name AAA have 30 LOS.
    BP AAA bought 2000 items.
    BP AAA ask us to old theses items in warehouse.
    BP AAA request to delivery a x quantity in LOS 1, 2,3,4,...
    The invoice went to BP AAA, but the deliveries will be to each LOS of BP AAA.
    As I said we need to have the field services working side-by-side with serials numbers and services for each LOS of our BP AAA.
    So, we have subcustomers from big customer BP AAA.
    Do we have any way of having all subcustomers(LOS) as BP, along with the real customer AAA?
    Thanks in advance,

  • Backup/restore for XI NW04

    Hello All,
    Is there any thing else we need to do for XI 3.0 server Backup, apart from the norml procedure of an ABAP only system backup. SLD is in Our Xi server Only.I know that usr/sap/sid file system backup required .But need to know is there any specfic directory that need to backup specifically for XI  to have consistent backup?
    Thanks
    hany

    Hi,
    i quote from the deployment planning guide:  https://websmp201.sap-ag.de/~sapidb/011000358700000560422010E/xi31_sp3_planning_en.pdf
    << When you back up your primary system, you need to back up: the Central
    Management Server system database; the content of the Input and Output
    File Repository Servers; the user ID and password for the Administrator
    account; the application code from the Web Application Server; and the
    registry settings (if manual changes were made). >>
    Also, some Supoprt Notes of interest:
    1398523 - BusinessObjects Enterprise XI 3.0/3.1 Backup and Recovery Best Practices
    1275068 - Backup and restore of filestore and cms database of a BusinessObjects Enterprise XI 3.x system
    1438851 - What is the difference between Cold and Hot Backups with BusinessObjects?
    1201011 - What must be backed up in order to recover a BusinessObjects Enterprise XI system in the case of a disaster?
    1205807 - How to restore Web Intelligence and Desktop Intelligence reports from a tape back up to a new server
    Regards,
    H
    Edited by: Henry Banks on Sep 30, 2011 11:24 AM

  • How can i retrieve my password to access my backup restore for my iphone

    how can i retrieve for backup password for my iphone

    If you use a Mac, when you set a password you can select to store the password in the keychain for retriever.
    Warning: If you encrypt an iPhone backup in iTunes and then forget your password, you will not be able to restore from backup and your data will be unrecoverable. If you forget the password, you can continue to back up and use the device, however you will not be able to restore the encrypted backup to any device without the password. You do not need to enter the password for your backup each time you back up or sync.
    If you cannot remember the password and want to start again, you must perform a full software restore and when iTunes prompts you to select the backup from which to restore, choose set up as a new device.

  • RMAN can backup/restore diferent versions of Oracle DataBases regardless OS

    Hi,
    I am evaluating Recovery Manager to backup and restore Oracle databases.
    I have to backup/restore diferents versions of Oracle database, these databases are running in diferents operating systems (AIX, LINUX, Windows)
    For example:
    Oracle DataBase 9 in AIX 5.3 system
    Oracle DataBase 10 in Lunix system
    Oracle DataBase 9 in Windows system
    I want to have a single RMAN server in order to backup/restore all my Oracle DataBases, is it possible?
    A single RMAN server can backup/restore diferent versions of Oracle DataBases regardless the operating system?
    If the answer is yes, do I need to have an specif operting system in my RMAN server? (AIX, Linux, Windows, etc.)
    Thanks for your help;

    Hi,
    Your question:
    I want to have a single RMAN server in order to backup/restore all my Oracle DataBases, is it possible?
    Sounds more like a machine.
    If you would have asked:
    I want to have a single RMAN recovery catalog in order to backup/restore all my Oracle DataBases, is it possible?
    I would have confirmed as like the other two.
    Be aware the catalog version needs to be equal or higher as the highest database version.
    Regards,
    Tycho

  • To calculate the size of backup for a particular database in RMAN catalog

    Hi ALL,
    Could you please guide me how I can calculate the size of backup data for a particular database in Recovery Catalog, if I am using Tapes as my backup media for recovery catalog.
    Regards
    Harpreet Singh

    Hi,
    I am not Up to the mark of your question ..
    If you see the V$log you can get it.. Size of the redo logs can be determined either by examining the file system size or by reading the BYTES column on the V$LOG view. Then Check the number of redo Logs avaialble checked whether they are mirrored or etc., Combining the two figures we have a total redo log data at peak in one day. This is the amount of data that any backup facility or storage of Archive Redo Logs would have to take into account. This figure should be mitigated against the fact that manual switching of redo logs means that not all archived redo logs will be the full size.
    - Pavan Kumar N

  • Oracle backup & restore problem

    Hi Team,
    I am new to the RMAN, I want to test Backup & restore operation
    I have database called Test , I am creating new table in the database called Test_table through SQL *coPlus create mmand.
    Now After this I am taking backup the of all cotrolfile , datafile & snapshot file.
    once again I am opening this database in SQL *plus & deleted the table (Test_table).
    Now if restore back the database with backup set taken before deleting table. It is not showing me the Test_table.
    What is the problem? Plz help..

    Hi,
    Thanks for replay,
    Using Windows XP & ORACLE 9i
    I am doing following steps.
    Created one table ( Test_table ) in database my Test database.
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Administrator>rman
    Recovery Manager: Release 9.2.0.1.0 - Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    RMAN> connect target system/sreedhar@Test;
    connected to target database: Test (DBID=1558624384)
    RMAN> show all;
    using target database controlfile 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 'C:\Testing\CTL_
    %F';
    configuration for DISK channel 2 is ignored
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT 'C:\Testing\DBF_%U';
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT 'C:\RmanBack\std_%U';
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'C:\Testing\CHA_Dev_%U_%S_%P';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\TESTING\SNCFTest.ORA';
    RMAN> backup database;
    Starting backup at 06-OCT-06
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=9 devtype=DISK
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=C:\ORACLE\ORADATA\Test\SYSTEM01.DBF
    input datafile fno=00002 name=C:\ORACLE\ORADATA\Test\UNDOTBS01.DBF
    input datafile fno=00005 name=C:\ORACLE\ORADATA\Test\EXAMPLE01.DBF
    input datafile fno=00010 name=C:\ORACLE\ORADATA\Test\XDB01.DBF
    input datafile fno=00006 name=C:\ORACLE\ORADATA\Test\INDX01.DBF
    input datafile fno=00009 name=C:\ORACLE\ORADATA\Test\USERS01.DBF
    input datafile fno=00003 name=C:\ORACLE\ORADATA\Test\CWMLITE01.DBF
    input datafile fno=00004 name=C:\ORACLE\ORADATA\Test\DRSYS01.DBF
    input datafile fno=00007 name=C:\ORACLE\ORADATA\Test\ODM01.DBF
    input datafile fno=00008 name=C:\ORACLE\ORADATA\Test\TOOLS01.DBF
    channel ORA_DISK_1: starting piece 1 at 06-OCT-06
    channel ORA_DISK_1: finished piece 1 at 06-OCT-06
    piece handle=C:\TESTING\DBF_0QHV5L4T_1_1 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:05
    Finished backup at 06-OCT-06
    Starting Control File and SPFILE Autobackup at 06-OCT-06
    piece handle=C:\TESTING\CTL_C-1558624384-20061006-01 comment=NONE
    Finished Control File and SPFILE Autobackup at 06-OCT-06
    RMAN> exit
    Recovery Manager complete.
    After this backup I am deleting this Test_table table using SQL *PLUS Drop table  clause.
    Also deleted the all .DBF files from Test folder. and I am restoring now the old backup set which has the information regarding the Test_table.
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Administrator>rman
    Recovery Manager: Release 9.2.0.1.0 - Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    RMAN> connect target system/sreedhar@Test;
    connected to target database (not started)
    RMAN> startup mount;
    Oracle instance started
    database mounted
    Total System Global Area 252779340 bytes
    Fixed Size 453452 bytes
    Variable Size 125829120 bytes
    Database Buffers 125829120 bytes
    Redo Buffers 667648 bytes
    RMAN> show all;
    using target database controlfile 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 'C:\Testing\CTL_
    %F';
    configuration for DISK channel 2 is ignored
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1;
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT 'C:\Testing\DBF_%U';
    CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT 'C:\RmanBack\std_%U';
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'C:\Testing\CHA_Dev_%U_%S_%P';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'C:\TESTING\SNCFTest.ORA';
    RMAN> restore database;
    Starting restore at 06-OCT-06
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=11 devtype=DISK
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to C:\ORACLE\ORADATA\Test\SYSTEM01.DBF
    restoring datafile 00002 to C:\ORACLE\ORADATA\Test\UNDOTBS01.DBF
    restoring datafile 00003 to C:\ORACLE\ORADATA\Test\CWMLITE01.DBF
    restoring datafile 00004 to C:\ORACLE\ORADATA\Test\DRSYS01.DBF
    restoring datafile 00005 to C:\ORACLE\ORADATA\Test\EXAMPLE01.DBF
    restoring datafile 00006 to C:\ORACLE\ORADATA\Test\INDX01.DBF
    restoring datafile 00007 to C:\ORACLE\ORADATA\Test\ODM01.DBF
    restoring datafile 00008 to C:\ORACLE\ORADATA\Test\TOOLS01.DBF
    restoring datafile 00009 to C:\ORACLE\ORADATA\Test\USERS01.DBF
    restoring datafile 00010 to C:\ORACLE\ORADATA\Test\XDB01.DBF
    channel ORA_DISK_1: restored backup piece 1
    piece handle=C:\TESTING\DBF_0QHV5L4T_1_1 tag=TAG20061006T122500 params=NULL
    channel ORA_DISK_1: restore complete
    Finished restore at 06-OCT-06
    RMAN> recover database;
    Starting recover at 06-OCT-06
    using channel ORA_DISK_1
    starting media recovery
    media recovery complete
    Finished recover at 06-OCT-06
    RMAN> exit
    Recovery Manager complete.
    When i check table Test_table in SQL *Plus using command DESC Test_table; it is showing me error object Test_table does not exist

  • Duplicate node in configtool.sh after files sytem backup / restore

    Hello,
    We are doing EHP4 installations for our live ECC6 (ABAP+Java) landscape. We wanted to achieve EHP4 installation more consistently and accurately in our test system first. We are performing system copy from our Production system (sapecp) to TEST  system host (sapecb) using full file system backup and restore.
    We have restored most recent full file system backup of our PRD(sapecp) on our TEST System (sapecb). Due to the different host name of test system we aslo finished the host renaming steps from note 8307 and 757692. Our DBAsu2019 also adjust the new
    host name in Oracle after the file system restore. After this we are able to start SAP instance successfully on TEST system.
    However we have noticed that configtool.sh is now showing two nodes automatically instead of a single node in both PRD and TEST systems. 
    Q: Is their anything else we still need to change in configtool.sh in our TEST system to remove references of PRD ?
    Q: is this a normal behavior of configtool.sh after a file system backup and restore ?
    Q: is their a way to clean up the configtool nodes in both system ?
    Please advice if anyone has faced the similar issue ?
    Thanks,
    Harshal

    Dear Reagan,
    Infra team did only the Backup Restore of the Prod system and no Export Import of Prod using the sapinst.
    Should I do the export import as it sounds by your and Pavan's reply that it might be required
    We are doing Restore for Dual stack first time done the backup restore for ABAP stack a couple of times for ECC Quality refresh.
    Should this be the option that I should select in sapinst for JAVA Export and JAVA Import:
    JAVA Export
    JAVA Import
    Regards,
    APS

  • Unable to restore and recover my Database from RMAN Backup

    Dear All,
    Iam practicing RMAN in Windows environment.
    My configurations are
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION ON; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'F:\Backup\%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    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 'E:\ORACLE\DATABASE\SNCFORCL.ORA';
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'F:\Backup\%U.bak';
    Then i took the RMAN backup, now iam shutdown my DB and removed one logfile..
    then i tried to startup the DB but it is saying
    ORA-00313: open failed for members of log group 3 of thread 1
    ORA-00312: online log 3 thread 1: 'E:\ORADATA\ORCL\REDO03.LOG'
    So i tried to restore the Database with my rman backup
    RMAN> restore database;
    But i am unable to restore my logfile in the Datafiles location where as all other datafiles are restored but redo logfiles are not restored.
    So, i am unable to recover my DB
    Please tell me whether i am doing any mistake, what is the solution for my problem.
    Thanks in advance
    Mahi

    All you restored was your datafiles.
    Now issue recover database and that will apply the archive logs.
    This is in the oracle documentation.
    "You must restore backups of these archived logs for recovery to proceed. You can restore either to the default or nondefault location. If you do not have backups, then you must performing incomplete recovery up to an SCN before the first missing redo log and open RESETLOGS."
    http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/osrecvry.htm
    In this case after issuing restore database in RMAN, then issue this.
    "Recover database"
    It will then be an incomplete recovery. They should have been multiplexed. Did you restore your controlfile with this backup? You may have to issue an "Alter database open resetlogs;"

  • Restore RMAN from different Database Rman backup

    Hi Everybody
    I am practicing Rman so I have one query that how to restore rman backup from another database.
    For Example :
    1. I have Rman backup of DB1 with level 0 and level 1 cumulative database plus archievelog
    2. I need to import or restore Rman backup of DB1 to another database DB2.
    What is the procedure for doing the above queries. Please anyone one help me out.
    I have using oracle 10g r2 running in windows server 2003.
    Thanks in advance.

    These are the steps ; you need to write the appropiate commands for each step: Hope it helps!
    1) Take appropriate RMAN backup of the database db1. Note that you should turn on the CONTROLFILE AUTOBACKUP configuration so that we have the controlfile backed up after the database backup. When we restore the controlfile on new host from this autobackup piece, it will have the information of the latest backup.
    2) Create a PFILE for the destination database db2 using the database db1
    3) Move the backup pieces and the modified INIT.ORA file to the new host. Starting from 10g it is NO longer compulsory to copy the RMAN backup pieces to exactly the same location on the new host as the production location.
    4) Use the pfile created above to STARTUP NOMOUNT the database on the new host
    5) Now invoke RMAN and restore the controlfile specifying the location where the controlfile autobackup piece is restored on this new server. You can mount the database once the controlfile is restored successfully.
    6) You can skip this step if you have restored the RMAN backup pieces to exactly the same location they were backed up on database db1. If this is not the case then you need to catalog the RMAN backup pieces to make RMAN aware of thier new location on the new host. Note that CATALOG BACKUPPIECE command is available only starting from 10g.
    7) Having determined the point up to which media recovery should run, start the restore/recovery using for example:
    RMAN> run {
    2> set until sequence 59 thread 1;
    3> set newname for datafile 1 to '/new_location/system01.dbf';
    4> set newname for datafile 2 to '/new_location/undotbs01.dbf';
    5> set newname for datafile 3 to '/new_location/sysaux01.dbf';
    6> set newname for datafile 4 to '/new_location/users01.dbf';
    7> restore database;
    8> switch datafile all;
    9> recover database;
    10> }

  • Backup/Restore a full Database VM Manager Repository (3.1.1)

    Dear All,
    My Oracle VM Manager is connect to Oracle Database 11g Standard Release 2. I want to backup and Restore from a full Database VM Manager Repository.
    Especially, please kindly give recommend on parameter (Yes/NO) or other clearly.
    Thanks and regards,
    Vandy

    [root@ ~]# cat /etc/redhat-release
    Red Hat Enterprise Linux Server release 5.8 (Tikanga)
    [root@~]# uname -a
    Linux 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
    The firewall is already disabled. Is that the OS is not comnpatible.
    But I read in the Oracle VM documents, that the Oracle VM is compatible for RHEL 5.5 and above.....

  • Backup/restore database with dump file

    Hi everybody,
    I would like to backup/restore my database with Oracle Utility commands(exp/imp) but I can only execute these commands in the machine where database server is being installed. When I use Oracle client to connect to DB server to execute these commands, DB server can not understand these commands.
    Is there any method to do this?
    Please help me.

    My workout for you is as follows (assuming, you configured tnsnames pointing to the listener concern with your database)...
    SQL> select * from example;
    ITEM STORE STARTDATE ENDDATE
    1 10 01-JAN-06 19-JAN-06
    1 10 03-JAN-06 20-JAN-06
    1 10 01-FEB-06 20-FEB-06
    2 10 01-JAN-06 15-JAN-06
    SQL>
    C:\>exp scott/[email protected] tables=example query=\"where item=1\" file=example.dmp
    Export: Release 9.2.0.1.0 - Production on Fri Dec 15 08:06:16 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    server uses US7ASCII character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    . . exporting table EXAMPLE 3 rows exported
    Export terminated successfully without warnings.
    C:\>
    -aijaz

  • CCMS monitoring for DB2/400 database backup.

    Hi,
    sap on iseries experts,
    We need a good monitoring for the alerts from DB2/400 database backup failure with CCMS for a solution manager management.
    Actually I don,t see a specific node (or MTE class) inside CCMS for this alert;
    But DB12 display well the daily backup status . . . . . . . .
    Can anybody help me ?
    Kind Regards
    Fabio

    Hi all,
    I'm searching also for such an possibilty.
    When running Oracle there is following MTE:
    RZ20 -> SAP CCMS Technical Expert Monitors -> All Monitoring Contexts -> Oracle -> Backup/restore -> Backup status -> Last succ
    Does anybody know a method to monitor the backup with SAP on Iseries?
    Tobias

  • Online DB2 database Copy via backup/restore

    Hi Guru's
    I am new in the world of DB2 (I am always working with Oracle)
    I have to perform an online database copy of our SAP which is running on DB2, but I do not want to use the SAPinst method
    I just want to perform it through the backup/restore method as I always do with oracle databases
    Which procedure do I have to follow on my source and target SIDs
    Regards
    Richard

    Hi Richard,
    Follow the below step db2 nackup restore activity.
    1). Perform full offline or online backup of source system
    2). Go to cd /sapmnt/SSID/exe and run the below script
    brdb6brt -bm RETRIEVE -es –replace SourceSID=TargetSID,db2SourceSID=db2TargetSID,/db2/SourceSID=/db2/TargetSID
    3). Above Generate the script copy the Target System.
    4). Offline PRD (Target System) Backup Images copy to Source Path (Any One Path)
    5). Stop SAP System only DB2 must be Started.
    6). Start the db2 backup redirect restored in Quality System
    7). before run the script below activity must be finished.
    Make Changes to the restore script
    Go to script path
    1). Replace Source SID (XXX) with Target SID (XXX)
    2). Change the backup location
    3). User (source db2sid) USING (Source db2sid Password)
                 USER db2xxx USING XXX(Password)
    8). Restoring Database
         Log in db2sid (db2sid) User
    Go to backup & script Path
    9). Run the below Script
    db2 -tvf <script.scr> for exp. db2 -tvf  xxx_NODE0000.scr
    After successfully restore backup below command run
    10). First Check Roll Forward Status
    Open DB with the below command
    db2 rollforward db <TargetSID> query status – check status of DB
    db2 rollforward db <TargetSID> complete
    11). Once the copy is complete we can check below parameter and make corrections as per your preprocessing
    Db2 list tablespaces show detail (To check tablespaces)
    parameter automatic storage & re-sized YES
    Check the Archive log (LOGARCHMATH1) path
    Log in db2sid & run the below command for change the db2 LOGARCHMATH1 Parameter value.
    After successfully change the parameter restart the db2 database
    12). Perform below step before the Start SAP System
    13). Create SAP connects user using
    PATH :- /usr/sap/SID/SYS/global
    scdb6up create <connect user password> <sidadm password>
    above command will update entry in /sapmnt/SID/global/dscdb6.conf
    Regards,

Maybe you are looking for

  • Can't access my IPhone 4S following the IOS 7 latest update

    Hello everyone, I'm new to this forum and I really need your help. I own and IPhone 4S since October 2011 and I have always updated it with the latest updates. Yesterday evening was no different when I updated my phone with the latest IOS 7 version 7

  • Why is my iPhone 5 pausing my music randomly when i move my iPhone in hand?

    I have had my iPhone 5 since right before Christmas of 2013. No problems at all, until now. There recently was a new update for iOS 7.1.1 and I did update it. I had pre-order a song a few days before I updated it and when it was avaliable i downloade

  • 'OBJECTS_OBJREF_NOT_ASSIGNED_NO' Runtime Error in abap program

    When my dubugger goes on this line..it gives me Runtime error' 'OBJECTS_OBJREF_NOT_ASSIGNED_NO' CX_SY_REF_IS_INITIAL Code : CALL METHOD determine_budget_values->determine_budget_values   EXPORTING      plvar  = '.:'      butyp  = 'BU'      begda  = '

  • Speed Upgrade Advertised For $5 More Per Month Can't Get Any Answers

    On Verizon's website is a speed upgrade to 75/75 for just $5 per month more. When I click on the button to order it it comes up as $10 per month more.On Verizon's Facebook page I posted this 3 times and each time my post was answered quickly and I wa

  • MSI 4600Ti MSI clock and info tabs ....

    please someone help...... when I right click my desktop and see display properties I cannot click on the MSI INformation or MSI Clock tabs because everytime I do I get a 'Run a DLL as an APP has encountered a problem" error. I have tried different dr