Import the Test Prod without data
Oracle 11g
I have an empty test database. I want to extract the metadata only, not data from production to test. But I also need db links, roles, grants and the sys privs. I don't want the system or sysaux tablespaces - as I already have this test.
Here's what I have for the export of th but I get the error:
ORA-39001: invalid argument value
ORA-39071: value for INCLUDE is ill-formed.
ORA-00936: lack of expression
expdp system/dummy@prod_link content=metadata_only full=y directory=DATA_PUMP_DIR dumpfile=prod.dmp logfile=prod.log INCLUDE=SCHEMA:"IN ('APP1', 'IMR','IMR2','IMR_QUAL','ZIPMAN')",ROLE,USER,SYSTEM_GRANT,ROLE_GRANT,DEFAULT_ROLE,TABLESPACE_QUOTA
Obviously, I have a syntax error. But is this the correct way to do this?
Hello
A few pieces of advice here:
1. If you want to specify a lot of stuff on the command line (especially if she quotes etc.) - it is much easier to the user a settings file
2. the command you have it will create a file in a directory on the server instead of directly in your testdb
I think that your order should look like this (usr/pass is the connection to the testdb, network link is the link to the db inside the testdb pointing to the prod)
expdp user/pass network_link = prod_link content = metadata_only
And that's close enough, you might want to add exclude = tablespace will be probably wrong anyway if you have created gaps
See you soon,.
Rich
Tags: Database
Similar Questions
-
Could not import the VUM 5.1 data
I try to import ESX 5.0.0 u2 ISO Image in 5.1 VUM... the end of the process with congestive-> "unable to import data.
The Image of 5.1 ESX has been imported without any problems... in the vCenter working ESX4.0 Build 244038 host... ready for upgrade to 5.1 and 5.0... depends on HCL... give host have no 5.1 Support.
Give a problem importing for ESXi different 5 x Version in MUV?
You can also interactively move the host using the ESXi 5.0 installation CD.
André
-
connect 6 1 year old iphone to itunes for the first time without data loss
They (pc and iphone) are both devices allowed on the itunes account.
Can you give us more information please? What kind of messages do you see? -AJ
-
Compose time without date and time
Hello
I wonder about the best way to implement a time without date column. Here's the requirement: time without date column must be combined with a date without a time column in order to generate a date with time.
In the example below, I have a catalogue of modules of courses with a start time specified (09:00:00). I then create instances of any of these courses on a specific date (e.g., 2012/01/01). I must then show the user the composite datetime as 09:00 01/01/2012 and possibly to check the constraints on this value.
The date without a time is not a problem, a date with TRUNC column (date) = date seems to do the job. For the time being no date, I've considered two options:
(1) a column from date to date fixed: TRUNC (date) = "2001/01/01 ' (or other).
(2) a column number between 0 and 86400 with the number of seconds since the start of the day.
What would you do? Or is there a third way?
CREATE TABLE TEST.MODULE_1 ( MODULE_ID NUMBER(10), MODULE_NAME VARCHAR2(30 BYTE) NOT NULL, MODULE_START DATE NOT NULL ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCOMPRESS NOCACHE NOPARALLEL MONITORING; CREATE TABLE TEST.MODULE_2 ( MODULE_ID NUMBER(10), MODULE_NAME VARCHAR2(30 BYTE) NOT NULL, MODULE_START NUMBER(6) NOT NULL ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCOMPRESS NOCACHE NOPARALLEL MONITORING; CREATE TABLE TEST.COURSE ( COURSE_ID NUMBER(10), MODULE_ID NUMBER(10) NOT NULL, COURSE_DATE DATE NOT NULL ) TABLESPACE USERS PCTUSED 0 PCTFREE 10 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED PCTINCREASE 0 BUFFER_POOL DEFAULT ) LOGGING NOCOMPRESS NOCACHE NOPARALLEL MONITORING; ALTER TABLE TEST.MODULE_1 ADD ( CONSTRAINT CK_MODULE_START_1 CHECK (TRUNC(module_start) = TO_DATE('2001/01/01','yyyy/mm/dd')), CONSTRAINT MODULE_PK PRIMARY KEY (MODULE_ID)); ALTER TABLE TEST.MODULE_2 ADD ( CONSTRAINT CK_MODULE_START_2 CHECK (module_start BETWEEN 0 AND 86399), PRIMARY KEY (MODULE_ID)); ALTER TABLE TEST.COURSE ADD ( CONSTRAINT CK_COURSE_DATE CHECK (TRUNC(course_date) = course_date), CONSTRAINT COURSE_PK PRIMARY KEY (COURSE_ID)); SET DEFINE OFF; Insert into TEST.COURSE (COURSE_ID, MODULE_ID, COURSE_DATE) Values (1, 1, TO_DATE('01/01/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS')); Insert into TEST.COURSE (COURSE_ID, MODULE_ID, COURSE_DATE) Values (2, 1, TO_DATE('01/02/2012 00:00:00', 'MM/DD/YYYY HH24:MI:SS')); COMMIT; SET DEFINE OFF; Insert into TEST.MODULE_1 (MODULE_ID, MODULE_NAME, MODULE_START) Values (1, 'Oracle native datatypes', TO_DATE('01/01/2001 09:00:00', 'MM/DD/YYYY HH24:MI:SS')); COMMIT; SET DEFINE OFF; Insert into TEST.MODULE_2 (MODULE_ID, MODULE_NAME, MODULE_START) Values (1, 'Oracle native datatypes', 32400); COMMIT;
You are looking for something like this?
create table t ( dt date, tm interval day to second) / insert into t values(trunc(sysdate), interval '10' minute) / select * from t /
-
People,
I would like to know how can I safely ask the Exchange Server service pack or cumulative update for the server role mailbox (no DAG) without loss of e-mail during the downtime and roll back the snapshot?
If I can do the following:
1. stop all Exchange Server services.
2. unplug the vNIC on the mailbox server
3 take a snapshot of the virtual machine
4. apply the service Pack of Exchange Server / Cumulative Update or Windows Update
5 reset
6 reconnect the vNIC, if the server online with no problem, commit / remove the snapshot, if not, then disconnect the vNIC followed to restore.
would be - this sense being or support for Vmware and Microsoft http://www.vmware.com/files/pdf/exchange-2010-on-vmware-support-and-licensing-guide.pdf ?
If yu have any other suggestions, please let me know here.
Thanks in advance.
Hey AlbertWT,
I'll start by saying that I would not do. Microsoft is explicit that snapshots are not supported with Exchange when virtualized. See below (from Exchange 2013 Virtualization: help Exchange 2013):
Some hypervisors include features to take snapshots of virtual machines. Virtual machine snapshots capture the State of a virtual machine while it is running. This feature allows you to take several snapshots of a virtual machine and then return the virtual machine to a previous state by applying a snapshot to the virtual machine. However, virtual machine snapshots aren't application aware, and using them can have unintended and unexpected consequences for a server application that manages the data of the State, such as Exchange. Accordingly, making snapshots of the virtual machine to a virtual guest computer Exchange only is not supported.
Even if we ignore the statement of support from shadow copies that isn't always a good idea. Here are some things to consider.
(1) cumulative updates for the Exchange to modify the Active Directory schema. Roll back the snapshot on the mailbox server is not undo changes made to RFA, which could cause functional supported questions. See this link to give you an idea of how there is pattern AD updates in each CU Exchange and service pack: the Active Directory in Exchange 2013 schema changes: Exchange 2013 help
(2) it is possible to send to come during the time you test the update, and if you need to restore you would need a plan to retrieve this e-mail. Third party services may work, or you can prevent the email to come in your environment completely during this period, but these aren't the ideal solutions.
A much better solution would be to create a lab environment that is isolated from the production. You can either take clones of your Exchange and AD VMs and put them in a closed network environment, or create a laboratory and import the structure of your ad if it matches the production. I think it is a much better way to test than to try to rely on stereotypes in production.
Hope that helps!
Matt
-
LCM - artifact of import to the file system without using a source application
Hi all
I would like to ask if I can import the objects in the file system in SSP without the source application, I have the source file: XML (which contains the resources folder: configuration, type of plan, artifacts global relational "Data.xml") and record information: registration, sourceinfo.xml) which was taken from an application that no longer exists!
How could we do?
Thanks in advance
Kind regards
1003344 wrote:
Thank you for your reply, I tried to put the folder under what but I can't see them yet! I also tried tried to put the. XML directly under what files but I still don't see the sub file system
do I need to restart the server?
Kind regards
If you put the files and the folder structure in place then there is no need to restart and it should pick it up, if the structure is incorrect, so he will not pick it up, might be interesting to try an export of test on a different application or a system to get an idea of what files you need.
See you soon
John
-
Satellite 1900-603: formatting the HARD drive without losing data
Hello!
I have a laptop of Pentecost 2 partitions in one, I have the OS and in others, I have my data, my problem is I want to format the partition with the operating system without losing my data, I intend to use for formatting recovery CD. Is this possible at all?
Another question, I bought my laptop on the Switzerland but I am Portuguese is it possible to get an in Portuguese of toshiba recovery cd?
Thank you
Hi Rita
It is of course possible.
I assume that you installed your operating system on the first partition and all important files are placed on the second partition.
The recovery procedure contains the standard and expert recovery mode recovery mode.
You must choose expert mode. Here it should be possible to choose the partition where the OS image must be installed. -
Same application looks different in the Test and Prod Server
We have an application of ADF deployed in our test Weblogic server that seems different from that of the same application deployed on our production server, even if the same jar file is deployed both. For example, the background of the page is a different color. We have done a healing of ADF very little, but it comes with the jar file and is the same. One difference I see is the class that is generated in the body of the jspx tag. In the test it is < body class = ".p_AFMaximized .x 141" >, but Prod is < body class = ". x13q.p_AFMaximized" >
We really want to solve this problem without reinstalling Weblogic in prod. Any ideas on why the environments are different?
Our info JDeveloper is:
Java (TM) Platform 1.6.0_24
Oracle IDE 11.1.2.4.39.64.36.1
Support versioning 11.1.2.4.39.64.36.1
We run Weblogic version 10.3.5.0 under Linux.
Our prod environment used to have some libraries included Webcenter, and the person who set up the prod environment disappeared. We have removed these additional libraries, and now the libraries in both environments look identical. They are here.
Application of the DMS (11.1.1.1.0)
Application of the DMS (11.1.1.1.0)
Enterprise application
Expand the Enterprise Application
Expand the Web Application
Homepage of FMW Application (11.1.0.0.0)
UIX (11,11.1.1.1.0
5 Web application
ADF. Oracle.businesseditor (1.0,11.1.1.2.0
ADF. Oracle.Domain (1.0,11.1.1.2.0
ADF. Oracle.domain.WebApp (1.0,11.1.1.2.0
JSF (2.0, 1.0.0.0_2 - 0-2)
JSTL (1.2,1.2.0.1
OHW - rcf (5,5.0
OHW - uix (5,5.0
Oracle.ADF.dconfigbeans (1.0,11.1.1.2.0
Oracle.ADF.desktopintegration (1.0,11.1.1.2.0
Oracle.ADF.desktopintegration.Model (1.0,11.1.1.2.0
Oracle.ADF.Management (1.0,11.1.1.2.0
Oracle.BI.ADF.Model.slib (1.0,11.1.1.2.0
Oracle.BI.ADF.View.slib (1.0,11.1.1.2.0
Oracle.BI.ADF.WebCenter.slib (1.0,11.1.1.2.0
Oracle.BI.composer (11.1.1,0.1
Oracle.BI.jbips (11.1.1,0.1
Oracle.dConfig - infra (11,11.1.1.1.0
Oracle.jrf.System.Filter
Oracle.jsp.Next (11.1.1,11.1.1
Oracle.pwdgen (11.1.1,11.1.1.2.0
Oracle.WSM.seedpolicies (11.1.1,11.1.1
orai18n-adf (11,11.1.1.1.0
WSIL-wls expand Enterprise Application wsil-wls
Thank you!
Dale
Dale, I just remove some libraries will not do. Libraries are wired upward into several files meta on the server when they were installed. There is no official way to remove some libraries.
You must first check if the adf on the server version is identical to the test. For this, you can use the web service I wrote (https://tompeez.wordpress.com/2012/02/05/adf-how-to-find-out-which-adf-version-is-installed-on-a-manged-weblogic-server/). It is a mask of sign service that does not use adf, but check lol look in the right container to get the version information. This service doesn't have a user interface, you get the info by testing the service once you have installed the service in the administration console or steering business you use soapUi.
If the versions are identical, you dig deeper. You must parse the logfile of servers with care. Unduly your application from the server, deeply it again and before everyone started working with the control of the application log for messages about missing skin. If the server does not find the base skin, is used by default an another skin that will produce this behavior. If you don't find anything, launch the application and look at the log.
Timo
-
Utility outlineload: import the outline but not the read data
Dear all,
I'm trying to load a contour for the dimension "account" charged to utility contour.
My problem is no data is read from the CSV file, but the header is good rocognize.
When I use these utilities for extraction, all right.
I use this command line:
CD C:\Oracle\Middleware\user_projects\epmsystem1\Planning\planning1
OutlineLoad A:SGAE1 U:admin /D:account /I:C:\accountMbrsSGAE.csv /L:C:\accountMbrsSGAE.log
You can find the file, what I'm trying to import for test: https://www.hightail.com/download/bXBad0VPUzdoeWJxYk1UQw
Member '6499U' already exists.
Below the details of executing cmd:
Enter the password:
Local planning: en_US
using java.library.path: C:\Oracle\Middleware\EPMSystem11R1/products/Planning/li
B64
EPM_ORACLE_HOME (C:\Oracle\Middleware\EPMSystem11R1) has the value of property FMV 'E '.
PM_ORACLE_HOME ".
using the property of Java for Hyperion home C:\Oracle\Middleware\EPMSystem11R1
EPM_ORACLE_INSTANCE (C:\Oracle\Middleware\user_projects\epmsystem1) is located in
Property FMV [EPM_ORACLE_INSTANCE].
EPM_ORACLE_INSTANCE (C:\Oracle\Middleware\user_projects\epmsystem1) is located in
Property FMV [EPM_ORACLE_INSTANCE].
EPM_ORACLE_INSTANCE (C:\Oracle\Middleware\user_projects\epmsystem1) is located in
Property FMV [EPM_ORACLE_INSTANCE].
Affecting Mode of HBR: 2
In lookupBRLWA()
Found product HBR = ESSBASE_PRODUCT
Found product HBR = ESSBASE_PRODUCT
Found product HBR = ESSBASE_PRODUCT
Component of HBR LWA = default
Default HBR = http://EFHINTRAP19.Gen.eu.MDS.Honda.com:19000 / eas
In getDBDetails()
Found product HBR = ESSBASE_PRODUCT
In lookupBRLWA()
Found product HBR = ESSBASE_PRODUCT
Found product HBR = ESSBASE_PRODUCT
= 2015 04-16 13:57:06, 312 WARN main com.hyperion.hbr.security.HbrSecurityAPI - Er
ROR user recovery by identity
-Error recovery of user identity
Initialized embedded HBR.
Support RTC Essbase Version: 0xb1210
List rental task Reaquired: Thu Apr 16 13:57:09 CEST 2015:1429185429479
[Thu Apr 16 13:57:09 CEST 2015] Failed to get analytical information and/or by
form a data load: cannot find specified load dimension 'account' in 'SGAE1' a
application.
[Thu Apr 16 13:57:09 CEST 2015] Failed to get analytical information and/or by
form a data load: cannot find specified load dimension 'account' in 'SGAE1' a
application.
[Thu Apr 16 13:57:09 CEST 2015] Planning of vector data store finished loading processes
exceptions: records not all input have been read errors (or a vacuum in)
put the files). 0 data records were read, 0 data records have been processed, 0 were successful
ssfully loaded, 0 were rejected.
I use hyperion Planning Version: 11.1.2.0.858
Thanks in advance for your help, I do not understand why block the process.
Kind regards
The utility can be sensitive to the case so if in your application, it is not account and account use the following syntax:
OutlineLoad A:SGAE1 U:admin /D:Account /I:C:\accountMbrsSGAE.csv /L:C:\accountMbrsSGAE.log
Your file also has number of spaces that you may want to remove.
When the file is loaded, you will see the following error:
"Exchange rates cannot be None if the Data Type is currency.
See you soon
John
-
Error importing the second database data dictionary
SDDM 4.0.0.833 on Windows 7 SP1.
I try to import in the same relational model, a production and a development Oracle database in two different physical models. I select only users, roles and Tablespaces, no other database items. When I click on finish, I get an error with a big red x box and nothing else. These are the only entered in the journal (datamodeler.log) for today. What I am doing wrong?
2014-02-10 06:45:35, 076 [main] INFO ApplicationView - Data Modeler Oracle SQL Developer 4.0.0.833
2014-02-10 09:29:39, 473 [AWT-EventQueue-0] ERROR DBMExtractionWizard - java.lang.NullPointerException
2014-02-10 09:31:53, 576 [AWT-EventQueue-0] ERROR DBMExtractionWizard - java.lang.NullPointerException
Well, it was weird. I closed SDDM and re-opened and always less error. Was supposed to work in another design, so I closed the test design and got a lot of mistakes in the journal about starting by ' 2014-02-10 09:48:27, 228 [Thread-60] ERROR DesignLevelSettings - cannot save the settings of level Design: "I opened my other design, made some changes, saved and closed SDDM again." No additional errors in the log. Now import works fine.
Any idea what's going on?
-
My ipad is disabled. How to activate ipad without data loss? I know the password
My ipad is disabled. How to activate ipad without data loss? I know the password
You can not. If you know the password, how the iPad become disabled? If the device is disabled, the content is not already available. The only way to recover the device is to restore. You can restore your last backup after that. Follow the instructions in this document support. If you have forgotten the password for your iPad, iPhone or iPod touch, or your device is disabled - Apple supports
-
I run the test center for a very large school district with over 120 students of k. We have a current deployed at base of 54 client machines of k using Firefox 3.6. We have not upgraded for many reasons, of which the most important is to remove the possibility of use in navigation private students and dealing with plugin-updates for the digital non-born (read dumber than a bag of hammers users) that make up the majority of the customer base.
We test ESR now, but only discovered this end of life for 3.6 is tomorrow, 4/24. We are currently in the middle of the scale of the State of online tests. The question is, what will happen tomorrow, when the browser will end of life. ESR wiki mentions that "an update to the current version of Firefox Desktop will be available through the Update Service Application"
So the main question is, are my students/teachers goes to get a popup telling them that they have updated the browser if we have already turned off updates? If so, can I I disable remote using SCCM, because there will be all sorts of havoc.
Please advise as soon as possible and thank you in advance.
An addon like https://addons.mozilla.org/en-US/firefox/addon/disable-private-browsing-pl/ can help, or http://kb.mozillazine.org/User:Dickvl / Private_Browsing_disable (don't forget, this is beyond what this forum can help you with if you need help making these changes).
-
Update ATML report header with the data collected during the execution of the test?
I need to add data obtained during the tests to the report header (ATML TR5/6_Horizontal.xsl). I tried to implement all update features I've seen here, nothing done. I can get some added things if I do during the PreUUT, but I do not have these data. Does not work try the same commands (use the Parameters.UUT.AdditionalData container). I have not been able to get either the recall of ModifyReportHeader to do. Help and I saw others examples of support seem to be about half of what I need to this implementation. Any help is appreciated.
-Randy
Hello
ModifyReportHeader would be the first thing I would try - what kind of problems did you have when you tried this?
Have you read through the following knowledge base? How to change a report XML TestStand header
Kind regards
-
Exchange data between application c# and test using the test API
Hello
c# application, I use the API test to:
charge 1 sequence file created with the test editor
2. run the sequence of parameter passing
sequence 3 - get results data
I found out how
-a sequenceFile with Engine.GetSequenceFileEx () method of loading
-How the execution of the sequence with the Engine.NewExecution () method but I don't know how passing parameters to the sequence with the Engine.NewExecution () method?
-How to retrieve local variables and variable parameters of the sequence, but it seems that the variables are initialized at the end of the sequence?
could you help me please.
Make sure of course that argument list is in the same order as that defined in your sequence.
Concerning
Ray Farmer
-
How to import pictures in the excel worksheet without using the generation of reports
Dear friends
I want to know how to import the image or the image file in excel worksheet without using the generation of reports...
Please come with suggestions or the code example
Concerning
Knani
Please go through the link below
http://zone.NI.com/DevZone/CDA/EPD/p/ID/3638
Even if a Subvi is absent I think it will be useful for you.
Concerning
Rajesh nawal
Maybe you are looking for
-
I get "error downloading" while trying to install add ons, after reinstalling, the add ons page now appears very basic with broken images but the navigation bar (Add-ons, Extensions, Plugins, etc.) appears unaffected. What should I do? (And what is t
-
I know that sony dash run a modified version of the chumby operating system based on linux...I want to know if there is a way to run one operating system other than the base...I think the preloaded operating system is a little glitchy and not fluid.b
-
remove the bios password on hp 2000
Hello I want to remove password on hp 2000 and stop code is 54857213 Thank you
-
Original title: how to make the command prompt as Administrator via dvd, USB system recovery / then to repair, recovery environment invites of commands in menu on win vista, win 7, win 8? Hello world?, please can someone tell me how do the command pr
-
File copy/delete dialog box is off the screen in a staggered multiple follow Setup
I'm on Windows 8 on a ThinkPad W520 with a 1920 x 1080 screen and a secondary antibody NEC LCD2070NX 1600 x 1200 display connected via DisplayPort. The NEC is positioned to the left of the ThinkPad and raised higher than the ThinkPad display; the bot