WSUS - Server 2012 R2 - Export and Import
Greetings,
I have a Server 2012 R2 system with the WSUS role installed. This server resides on a disconnected network so we must bring updates from an online WSUS server. I have experience performing successful exports and imports in the past with Server 2008
R2 and WSUS 3.0 SP2 (with KB2828185). However, I have yet to get a successful import on Server 2012 R2. The issue I am experiencing comes after what appears to be a successful import. All of the updates show up in the catalog, but none of
the approvals are there. I approve the relevant updates and the number of updates needing files on the status screen increase, but they never verify the content. The individual updates are stuck indefinitely waiting for content with no errors to
be found anywhere. Both servers have identical OS and WSUS configuration. Here is my procedure.
Source Server
- Approve/Decline relevant updates
- Wait for download to finish
- Run Server Cleanup Wizard
- Backup WSUSContent directory using 7-Zip to break into DVD size files
- wsusutil.exe export export.xml.gz export.log (I've tried export.cab and export.gz, neither produces a different result)
- Copy and extract all content to disconnected server.
- Import metadata with "wsusutil.exe import export.xml.gz import.log"
As I said, I get no related error messages in any event log, SoftwareDistribution.log, WindowsUpdate.log, Change.log.
When I've done this in the past with WSUS 3.2, the status dashboard would show all the approved updates that require content and that number would quickly decrease as the system would validate the files in the WSUSContent directory. This is occurring
on both my test server and my live server. I'm confident that I have missed something, but I need help. Anything that anyone can offer would be appreciated.
Hi Wayne,
Before we export and import updates, we should confirm that the settings for express installation files and update languages on the WSUS export server match the settings on the WSUS import server. If these settings do not match, updates will not
be correctly applied.
>> I approve the relevant updates and the number of updates needing files on the status screen increase, but they never verify the content.
Please try to run wsusutil reset.
If issue persists, please check if the WSUS content folder has the proper configuration.
Besides, could you please restart the export WSUS server and export/import again?
Best Regards.
Steven Lee Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Similar Messages
-
How to export and import "Computer Groups" and "Patch approvals" in WSUS 4.0 ?
Hi,
I have a query regarding the export and import options for "Computer Groups" and "Patch Approvals" in WSUS 4.0.
In WSUS 3.2 once we install WSUS 3.0 API Samples and Tools, we get "WSUSMigrationExport" and "WSUSMigrationImport" tools under
C:\Program Files\Update Services 3.0 API Samples and Tools\WsusMigrate\ folder.
Using the 'WSUSMigrationExport' tool we can export the Computer Groups and the Patch Approvals in a XML file. And using the 'WSUSMigrationImport' tool we can import the 'Computer Groups' and the 'Patch Approvals' from that XML file into a different WSUS
3.2 server. We can run the import tool as below:
a. Run command prompt as administrator.
b. In the command prompt, go to C:\Program Files (x86)\Update Services 3.0 API Samples ans Tools\ WsusMigrate\WsusMigrationImport
c. Type WsusMigrationImport filename.xml TargetGroups None. Press enter; this will import Computer Groups to the WSUS 3.2 server.
Type WsusMigrationImport filename.xml Approvals None. Press enter; this will import "Patch Approvals" to the WSUS 3.2 server.
This is easy and useful.
Now, for WSUS 4.0 I did not find "WSUS
4.0 API Samples and Tools". So I installed "WSUS 3.0 API Samples and Tools" in my WSUS 4.0 server. And tried to import a valid XML file in the above mentioned process. But the command returned an error.
The error says the "Microsoft.UpdateService.Administration.dll" file was not found.
I further searched in the internet about this issue and I found that the "WSUS 3.0 API Samples and Tools" is not supported in WSUS 4.0 as the .net framework used in "WSUS 3.0 API Samples and Tools" is 2.0 and WSUS 4.0 uses .net Framework
4.5.
So, Here are my questions.
1. Is it correct that "WSUS 3.0 API Samples and Tools" is not supported in WSUS 4.0?
2. Is "WSUS 4.0 API Samples and Tools" available?
3. Is there any alternative way in WSUS 4.0 to export and import XML file consisting "Computer Groups" and "Patch Approvals" configurations?
I need an urgent reply. Thank you in advance.Hi Tapojyoti,
>>1. Is it correct that "WSUS 3.0 API Samples and Tools" is not supported in WSUS 4.0?
Yes, WSUS 3.0 API Samples and Tools is not supported in Windows Server 2012R2 by default. We may try to rebuild it in Windows Server 2012R2. For detailed information about how the rebuiled, please refer to the readme document of the WSUS 3.0 API Samples
and Tools.
>>2. Is "WSUS 4.0 API Samples and Tools" available?
No, I can't find the WSUS API Samples and Tools for 2012R2.
>>3. Is there any alternative way in WSUS 4.0 to export and import XML file consisting "Computer Groups" and "Patch Approvals" configurations?
As I have mentioned above, due to WSUS 3.0 API Samples and Tools is released with source code, we can try to rebuild it in the Windows Server 2012R2.
If it doesn't work, as a workaround, we can configure the new WSUS server as the replica server of the existing WSUS server. After the synchronization, change the server mode to stand alone.
Best Regards.
Steven Lee
TechNet Community Support -
Export and Import Computer Groups
Two Monday mornings in a row the Open Directory on our Intel-based Xserve's Mac OS X 10.5.7 Server had failed. This would mean that users who were supposed to have specific access right to folders and share points on other Xserve file servers couldn't get their files or had full access instead of restricted access. The first Monday a restart resolved the issue. The second Monday a restart did not resolve the issue and we opened a case with AppleCare Enterprise Support. We got it up and running again but it failed on Friday during the day. Another call the AppleCare Enterprise Support had me export all my users, user groups, computers and computer groups as a backup.
In the end, I had to do an erase and install of Mac OS X 10.5 server and I updated right to 10.5.8. AppleCare pointed me to the (now Snow Leopard) documentation and told me that now that the server was running and nothing was "broken" and they could not continue to support me. It was up to me to figure out how to restore everything from the documentation. Unfortunately, that document has NOTHING in it about restoring computers or computer groups. It only documents users and user groups. Our user groups were restored with the import of the previously exported list. However, all of the computers in our computer groups appear in the membership list as "Not Found". The preferences/settings for the group were restored but are not being applied to any computers. This means that portable users probably no longer have "mobile" accounts so they can log in off the network and now the Software Update is wide open (although most users are not administrators).
Is there some trick I'm missing to get the computers back into their groups automatically? I can add them manually but I have 400 and can't tell from the list of workstation numbers which are laptops and which are desktops.
-DougHi Tapojyoti,
>>1. Is it correct that "WSUS 3.0 API Samples and Tools" is not supported in WSUS 4.0?
Yes, WSUS 3.0 API Samples and Tools is not supported in Windows Server 2012R2 by default. We may try to rebuild it in Windows Server 2012R2. For detailed information about how the rebuiled, please refer to the readme document of the WSUS 3.0 API Samples
and Tools.
>>2. Is "WSUS 4.0 API Samples and Tools" available?
No, I can't find the WSUS API Samples and Tools for 2012R2.
>>3. Is there any alternative way in WSUS 4.0 to export and import XML file consisting "Computer Groups" and "Patch Approvals" configurations?
As I have mentioned above, due to WSUS 3.0 API Samples and Tools is released with source code, we can try to rebuild it in the Windows Server 2012R2.
If it doesn't work, as a workaround, we can configure the new WSUS server as the replica server of the existing WSUS server. After the synchronization, change the server mode to stand alone.
Best Regards.
Steven Lee
TechNet Community Support -
Exporting and Importing Virtual servers with Windows 2012 R2 Hyper V
Hi
We are looking for various options / best practice in exporting and importing VSs between Windows 2012 R2 servers. Live migration we tested between servers in same VLAN and it's fine, but some servers are in different VLAN and hardware firewall is there
in between. So we exported the VS and while importing it, there is no option to export each Virtual disk to separate partitions / LUNs. Is it fine to create a new VS in the new server and just copy the VDs from the other HV host server, or exporting and importing
is the only proper method?
Thanks in advance
LMSHi Laljeev,
Please allow me to state my understanding of the two methods :
1.when you want to copy vhd you may need to shutdown the VM , further more if there is some snapshots I think it will be a trouble .
2. "export" you still need to shutdown VM but it doesn't have the trouble with snapshots .
The other way I will use is , "move" all of the VM's data to external disk then import it into destination hyper-v server (it can decrease the off-line time of VMs).
Best Regards
Elton Ji
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.
Elton, in Windows Server 2012 R2, we do not need to show down the VM to export it via the Hyper-V Manager GUI or Powershell...
Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx -
DHCP Server does not work after Exporting and Importing Using Netsh Command
Hello Friends :
I had two dhcp servers in windows server 2003 server , I have upgraded one of them to windows server 2008 32 bit and again i installed a windows server 2008 R2 as an additional Domain Controller , the last scenario was like this :
srv-1 : windows server 2003 + DHCP = working with no problem
srv-2 : windows server 2003 + DC + DHCP = Worked without problem
srv-3 : windows server 2008 R2 + DC = worked without any problems
I exported the DHCP server configuration on the srv-2 using netsh dhcp server export and Imported them to srv-3 using the
netsh dhcp server import command , the command completed successfully and i can see all of the scopes without any problems and errors , i have authorized the new server without any problem , all scopes are activated without any problem so i
disabled the srv-2 DHCP service and unauthorized it from active directory , the problem is that the new server semms that does not lease any address to clients !!!
1- I have authorized it
2- I used Rogue Checker tool in client computers they see authorized server without any problems
3- The same tool in workgroup only shows srv-1 as the DHCP server and does not see other DHCP servers
4- Bindings are OK and DHCP servers only have one NIC installed on them
What can i do to make sure my srv-3 DHCP server will work on the network ?
thanks ...
MIMOAre the clients on another network so you need to configure a DHCP relay agent?
If you load up perfmon on the dhcp server and remove all counters and then add DHCP counters. Do you see any dhcprequests when you reboot your dhcp clients? This will determine if your server actually receives any dhcp requests.
Have you check event viewer for any warnings or errors?
And the classic one restarted the dhcp server service (or reboot)?
Regards Per-Torben Sørensen http://pertorben.wordpress.com/ -
Deployment : Exporting and importing a ABAP code to other SAP Server
Hello Expert,
I am very new to SAP ABAP. My query is , If we write a code in user exit on one SAP server and if we need to deploy the same on other SAP server who are not tightly coupled with each other , How should we do??
Is there any way to export and import the code?? How do we deliver the code if anyone wants that code? Is there any way to deliver the code other than manual copy and paste??
Any idea??
Thanks,
PrashantHi,
Check this.May be this can help you.
http://www.sap-basis-abap.com/sapac008.htm
http://www.sap-press.de/forum/gp/themaID-5/zeige-12302/thread
Message was edited by: Jayanthi Jayaraman -
Exporting and Importing Destination Controls Error
When I export table within destination control and import the table to another Ironport again within destination control I receive error - "Wrong format of the destination config file: ip_sort_pref is required for the global settings."
We are updating the ASYNC on each of our de clustered Ironport. So when one is not in use we need the other to handle all the traffic, including domain controls.
The output displays
[ABCDE.com]
max_host_concurrency = 500
limit_apply = system
limit_type = host
max_messages_per_connection = 50 ......
How can I import this without losing or altering the data within.
^^^^^^^^^^^^^^^^^^^^^^
Solution
We upgrade one of our SMTP ASYNC to 8.0.1 which creates a additional line within default of the upgraded Ironport exported control destination table that is named... wait for it.... ip_sort_pref. Just add it.The applications and drivers have been imported into the Dev SCCM server however I cannot find the actual content so I am not sure this has worked properly.
When you exported did you choose to "Export all content for selected task sequence and dependencies".
80070003 = The system cannot find the path specified.
See here for exporting and importing task sequences
http://blogs.technet.com/b/inside_osd/archive/2012/01/19/configuration-manager-2012-task-sequence-export-and-import.aspx
Gerry Hampson | Blog:
www.gerryhampsoncm.blogspot.ie | LinkedIn:
Gerry Hampson | Twitter:
@gerryhampson -
Error when exporting and importing TS
Hi I am running SCCM 2012 SP1 and am trying to export a Task Sequence including with the Windows 7 wim, the boot wim, some applications and drivers. When I exported the TS I selected to export dependencies and content.
I have setup dev SCCM environment (same spec as production) and am trying to import the .zip that was created when I completed the export. When doing the import I am getting the below error on both the Windows 7 wim and the boot wim :
Error Imported Operating System Image (1):
Create new Windows 7 Enterprise x64
Generic failure
instance of SMS_ExtendedStatus
Description = "Failed to get the image property from the source WIM file due
to error 80070003".
ErrorCode= 2147942403;
File="e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\
\sspimagepackage.cpp";
Line = 483;
Operation = "Putinstance";
ParameterInfo = "";
ProviderName = "ExtnProv";
StatusCode = 2147749889;
The applications and drivers have been imported into the Dev SCCM server however I cannot find the actual content so I am not sure this has worked properly. I am wondering if I would be better off using the Migration wizard to take the TS and
content across. Would appreciate any advice on either a) how to fix the issues with the importing of the TS or b) whether I should just be using the migration wizard.
Thanks
GThe applications and drivers have been imported into the Dev SCCM server however I cannot find the actual content so I am not sure this has worked properly.
When you exported did you choose to "Export all content for selected task sequence and dependencies".
80070003 = The system cannot find the path specified.
See here for exporting and importing task sequences
http://blogs.technet.com/b/inside_osd/archive/2012/01/19/configuration-manager-2012-task-sequence-export-and-import.aspx
Gerry Hampson | Blog:
www.gerryhampsoncm.blogspot.ie | LinkedIn:
Gerry Hampson | Twitter:
@gerryhampson -
Language Problem while exporting and importing data
hi,
I have Oracle version 8.1.7.0.0 installed on one server and 9.2.0.1.0 installed on new server.
I'm copying and pasting my version info from SQL*Plus:
SQL*Plus: Release 8.1.7.0.0 - Production on Mon Aug 22 10:46:31 2005
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Connected to:
Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
With the Partitioning option
JServer Release 8.1.7.0.0 - Production
SQL>
SQL*Plus: Release 9.2.0.1.0 - Production on Mon Aug 22 12:30:06 2005
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
SQL>
I created new user on my new server from enterprise manager.
Exported user from the old server and imported in the new server.
i.e: from Oracle8i Enterprise Edition Release 8.1.7.0.0, I did
c:\>exp system/manager file=abc.dmp owner=abc
Then on the new server Release 9.2.0.1.0, I did
c:\>imp system/manager file=abc.dmp fromuser=abc touser=abc
I'm using Arabic Language on my both servers. NLS_LANG parameter on both the servers is AMERICAN_AMERICA.WE8MSWIN1252.
On both the servers I'm able to insert and select data in arabic.
However, after I export the data from old server to the new server, the arabic data comes in question marks.
If I create new table and insert arabic data on new server's user abc it is displaying well. Only the data which I exported and imported is not showing arabic.
On both old and new servers operating system is Windows XP.
I'm stuck with this problem. Anybody having any idea about how to solve this problem please help.
Thank you all in advance.
RegardsLet me be clear here. Storing Arabic data in a WE8MSWIN1252 database is not supported by Oracle and will lead to problems. You are incorrectly using the NLS_LANG to prevent proper conversion and your data appears to be okay when you use utilties like SQL*PLUS to view your data. When you write applications that don't rely on the NLS_LANG like JDBC thin driver for instance you will realize your data is in fact invalid. To learn more about the NLS_LANG you can take a look at this FAQ: http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
To migrate your database to a proper character set you can refer to this paper:
http://www.oracle.com/technology/tech/globalization/pdf/mwp.pdf
But please do not ask for help in supporting your current configuration in this forum. -
How to export and import dependent tables from 2 different schema
I have a setup where schema1 has table 1 and schema 2 has table2. And table 1 from schema1 depends upon table 2 from schema 2.
I would like to export and import these tables only and not any other tables from these 2 schemas with all information like grants,constraints.
Also will there be same method for Oracle 10g R1,R2 and Oracle 11G.
http://download.oracle.com/docs/cd/B12037_01/server.101/b10825/dp_export.htm#i1007514
Looking at this For table mode it says
Also, as in schema exports, cross-schema references are not exported
Not sure what this means.
As I am interested in only 2 tables I think I need to use table mode. But if I try to run export with both tables names, it says table mode support only one schema at a time. Not sure then How would the constraints would get exported in that case.
-Rohitworked for my 1st time I tried
exp file=table2.dmp tables="dbadmin.temp1,scott.emp"
Export: Release 10.2.0.1.0 - Production on Mon Mar 1 16:32:07 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Username: / as sysdba
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses WE8ISO8859P1 character set (possible charset conversion)
About to export specified tables via Conventional Path ...
Current user changed to DBADMIN
. . exporting table TEMP1 10 rows exported
EXP-00091: Exporting questionable statistics.
Current user changed to SCOTT
. . exporting table EMP 14 rows exported
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
Export terminated successfully with warnings. -
Steps to export and import oracle 10g databse from AIX to AIX and LINUX
Hi,
I need the steps to export the oracle 10g database from AIX server to AIX server and LINUX server.
Please give me all the steps as this is my first exort an import activity.
thanks,For 10g there exist two ways to do so.
1) Regular exp/imp.
2) Data pump expdp/impdp.
As this is your first export and import activity, relevant concept understanding is mandatory for you.
Documentation Link
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14215/toc.htm
Read the chapters 1,2,3 (Data pump expdp/impdp) and 19 (regular exp/imp). Good luck. -
Use of export and import in oo abap
Hello experts,
We are new to oo abap and using process controlled workflow for BRF.
There are 3 methods which we are using. /SAPSRM/IF_EX_WF_RESP_RESOLVERGET_AREA_TO_ITEM_MAP, /SAPSRM/IF_WF_AREAGET_RESPONSIBLE_APPROVERS and /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID.
In a situation we want to use document_id which is created in item_map into get_responsible_approvers method.
Therefore, we used export and import in these two methods like the following.
zgc_mock_pdo_guid = is_document-document_guid. "uncomment later
export zgc_mock_pdo_guid from zgc_mock_pdo_guid to memory id 'Z_MOCK_PDO_GUID' . "uncomment later
and
import zgc_mock_pdo_guid = zgc_mock_pdo_guid from memory id 'Z_MOCK_PDO_GUID' . "uncomment this later
CALL METHOD /SAPSRM/CL_WF_APV_FACADE=>RETRIEVE_PROCESS_HISTORY
EXPORTING
IV_DOCUMENT_GUID = zgc_mock_pdo_guid "ins_guid
IV_AGENT_ID = lv_agent
IV_LANGUAGE = sy-langu
IMPORTING
ES_PROCESS = ls_process
Now we are getting the results as per our requirements. But I want to know whether or not it is supposed to be used in oo abap context or not otherwise I will find another method to do so. Please advise/suggest about the same.
Thank you.Hello Keshav, Suhas.
Thank you vary much for your reply. I was definitely a great help to understand the concept.
This ZGC_MOCK_PDO_GUID attribute was already made private. Instead of defining under public section I defined it under attributes tab.
Thank you for your help though.
Right now I am trying to explore another way to do so.
I am trying to get factory instance for tack container using /SAPSRM/IF_CLL_TASKCON_FACTORY interface with method GET_INSTANCE from class /SAPSRM/CL_CH_WD_TASKCONT_FACT.
Later I am trying to get task container from this interface. Then after I am interested to get SC GUID using GET_BO_GUID method.
I have been trying to achieve this in following way. But somehow i am getting this GUID empty.
data :
temp_task_container_factory type REF TO /SAPSRM/IF_CLL_TASKCON_FACTORY,
temp_instance type REF TO /SAPSRM/IF_PDO_BO_SC_ADV,
ins_guid type BBP_GUID, "/SAPSRM/WF_DOCUMENT_GUID,
ls_process_info TYPE /SAPSRM/S_PDO_WF_PROCESS_INFO,
temp_handler TYPE REF TO /SAPSRM/IF_PDO_STATIC_META,
temp_task_container type REF TO /SAPSRM/IF_CLL_TASK_CONTAINER,
lo_task TYPE REF TO /SAPSRM/IF_CLL_TASKCON_FACTORY.
CALL METHOD /SAPSRM/CL_CH_WD_TASKCONT_FACT=>GET_INSTANCE
RECEIVING
RO_TASK_CONTAINER_FACTORY = temp_task_container_factory "
CALL METHOD TEMP_TASK_CONTAINER_FACTORY->GET_TASK_CONTAINER
* EXPORTING
* IV_TRANS_MODE =
* IO_MESSAGE_HANDLER =
* IV_BO_TYPE =
RECEIVING
RO_TASK_CONTAINER = temp_task_container
CALL METHOD TEMP_TASK_CONTAINER->GET_BO_GUID
RECEIVING
RV_BO_GUID = ins_guid .
TRY.
CALL METHOD /SAPSRM/CL_PDO_FACTORY_SC_ADV=>GET_BUFFERED_INSTANCE
EXPORTING
IV_HEADER_GUID = ins_guid
RECEIVING
RO_INSTANCE = temp_instance
ENDTRY.
CALL METHOD ZCL_WF_APV_FACADE=>RETRIEVE_PROCESS_HISTORY
EXPORTING
IV_DOCUMENT_GUID = ins_guid " we are passing ins_guid instead of zGC_MOCK_PDO_GUID this should have area_guid now.
IV_AGENT_ID = lv_agent
IV_LANGUAGE = sy-langu
IMPORTING
ES_PROCESS = ls_process.
But the ins_guid ( returned by RV_BO_GUID ) is empty ( The Bold fonted line of code)
I want to know whether I am doing this instantiation correctly or not or do I have to create class and object here only ?
Right now I am calling the class, getting get_instance and using its instance temp_task_container_factory i am calling interface /SAPSRM/IF_CLL_TASKCON_FACTORY. Is it correct way? PLease advise. Thank you once again.
Edited by: abhijitkamatkar on Feb 7, 2012 1:38 PM -
Hi,
I am having one doubt regarding Client export and import
In my organization we are having three system landscape, but the Quality and Production server(In Process)
Development box is ready to use, and we are having another sand server in different location for our consultant practice
that system is not in our landscape and that is different location,i want to import that client in to my development server hear
It is possible to export that data from that Client(scc8) copy that in my development server and Import(scc7) is possible..?
if possible than what are the pre-requisites to do That Export and Import of client between two different systems,
what is best procedure to do this Task.......!
Regards'
Mohammed.Khan>>once export is done successfully than can i copy those exported file in to my file server and then copy to my development >>system trans directory (cofiile,datafile) than can i import those files in my development server with *stms_import* command
Yes, you have to
>>than can i go for client import(scc7)
Yes.
>>***Configuring the TMS between that sand box and my development server***
Not required but yes if the sandbox server is not in the landscape you have to create a Virtual System in sandbox and you have to configure the Transport, then only you would be able to create the export file
Regards
Subhash -
Export and import of data not table and data ????
hii brothers and sister
plz i have a a quetion about Export and import of data in oracle forms
i have created 02 boutons one for export his trigger like this :
eclare
alrt number;
v_directory varchar2(200) := 'c:\backup'; --- that if the C Drive not the Drive that the windows had installed in it.
path varchar2(100):='back_up'
||to_char(sysdate,'dd_mm_yyyy-hh24_mi_ss');
v_exp varchar2(200) := 'exp hamada/hamada2013@orcl file = '
||v_directory
||'\'
||path
||'.dmp';
begin
host(v_exp);
alrt:=show_alert('MSG');
end;
and the bouton import is like this
declare
alrt number ;
v_ixp varchar2(200) := 'imp userid=hamada/hamada2013@orcl file =c:\backup2\back.dmp full=yes';
begin
host(v_ixp);
alrt:=show_alert('MSG');
ref_list;
end;
i have just one table "phone"
this code is correct he expot not only the data but also the creation of the table ....for exemple i do export and evry thing is good until now and i find the .dmp in the folder backup .. but when i deleted all data from my app and try to import this .dmp iit show me error it tell me thet the table phone is already created ....
so plz help wanna just export the data of phone not the creation of table and data ???? or how can i import just the data from this .dmp ??Pl post OS and database versions.
You will likely need to use the IGNORE flag - http://docs.oracle.com/cd/E11882_01/server.112/e22490/original_import.htm#sthref2201
Imp utility (by default) will try and create the table first. Since the table already exists, imp reports an error. Use the IGNORE flag in your imp command to not report such errors.
HTH
Srini -
View and Edit properties pages are not woriking after export and import in sharepoint2013
Hi,
After performing Export and Import in SharePoint 2013 for a subsite, metadata is missing in document library. 404 error triggers on clicking both View-properties of an item and /Forms/DisplayDocument.aspx.
Please help me in this.
Regards,
GurudattaWhile uploading, after browsing the document clicking on OK button giving below error.
Nothing is generated in Event logs. Below are sharepoint logs.
07/16/2014 17:32:08.44 w3wp.exe (0x5234) 0x499C SharePoint Foundation
Logging Correlation Data xmnv Medium Name=Request (GET:http://siteurl/frmFile4/Forms/CreateDocument.aspx?Mode=Upload&CheckInComment=&ID=963&RootFolder=/QAPortal/PackingMaterial/frmFile4&Source=http://siteurl/frmFile4/Forms/AllItems.aspx?InitialTabId=Ribbon%252EDocument&VisibilityContext=WSSTabPersistence&RootFolder=%252FQAPortal%252FPackingMaterial%252FfrmFile4&IsDlg=1) 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.44 w3wp.exe (0x5234) 0x499C SharePoint Foundation
Request Management adc7u Medium Mapping URI from 'http://siteurl/frmFile4/Forms/CreateDocument.aspx?Mode=Upload&CheckInComment=&ID=963&RootFolder=%2FQAPortal%2FPackingMaterial%2FfrmFile4&Source=http%3A%2F%2Fuslsp13%3A1111%2FQAPortal%2FPackingMaterial%2FfrmFile4%2FForms%2FAllItems%2Easpx%3FInitialTabId%3DRibbon%252EDocument%26VisibilityContext%3DWSSTabPersistence%26RootFolder%3D%252FQAPortal%252FPackingMaterial%252FfrmFile4&IsDlg=1'
to 'http://siteurl/frmFile4/Forms/CreateDocument.aspx?Mode=Upload&CheckInComment=&ID=963&RootFolder=%2FQAPortal%2FPackingMaterial%2FfrmFile4&Source=http%3A%2F%2Fuslsp13%3A1111%2FQAPortal%2FPackingMaterial%2FfrmFile4%2FForms%2FAllItems%2Easpx%3FInitialTabId%3DRibbon%252EDocument%26VisibilityContext%3DWSSTabPersistence%26RootFolder%3D%2... 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.44* w3wp.exe (0x5234) 0x499C SharePoint Foundation
Request Management adc7u Medium ...52FQAPortal%252FPackingMaterial%252FfrmFile4&IsDlg=1' 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.44 w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Monitoring nasq Medium Entering monitored scope (Request (GET:http://siteurl/frmFile4/Forms/CreateDocument.aspx?Mode=Upload&CheckInComment=&ID=963&RootFolder=%2FQAPortal%2FPackingMaterial%2FfrmFile4&Source=http%3A%2F%2Fuslsp13%3A1111%2FQAPortal%2FPackingMaterial%2FfrmFile4%2FForms%2FAllItems%2Easpx%3FInitialTabId%3DRibbon%252EDocument%26VisibilityContext%3DWSSTabPersistence%26RootFolder%3D%252FQAPortal%252FPackingMaterial%252FfrmFile4&IsDlg=1)).
Parent No
07/16/2014 17:32:08.44 w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Logging Correlation Data xmnv Medium Name=Request (GET:http://siteurl/frmFile4/Forms/CreateDocument.aspx?Mode=Upload&CheckInComment=&ID=963&RootFolder=%2FQAPortal%2FPackingMaterial%2FfrmFile4&Source=http%3A%2F%2Fuslsp13%3A1111%2FQAPortal%2FPackingMaterial%2FfrmFile4%2FForms%2FAllItems%2Easpx%3FInitialTabId%3DRibbon%252EDocument%26VisibilityContext%3DWSSTabPersistence%26RootFolder%3D%252FQAPortal%252FPackingMaterial%252FfrmFile4&IsDlg=1) 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.46 w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|usl\hclspp, ClaimsCount=23 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.50 w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Information Rights Management 5202 Information Information Rights Management (IRM): Requesting user email address is empty. 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.50 w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Files ak8dj High UserAgent not available, file operations may not be optimized.
at Microsoft.SharePoint.SPFileStreamManager.CreateCobaltStreamContainer(SPFileStreamStore spfs, ILockBytes ilb, Boolean copyOnFirstWrite, Boolean disposeIlb) at Microsoft.SharePoint.SPFileStreamManager.SetInputLockBytes(SPFileInfo&
fileInfo, SqlSession session, PrefetchResult prefetchResult) at Microsoft.SharePoint.CoordinatedStreamBuffer.SPCoordinatedStreamBufferFactory.CreateFromDocumentRowset(Guid databaseId, SqlSession session, SPFileStreamManager spfstm,
Object[] metadataRow, SPRowset contentRowset, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres) at Microsoft.SharePoint.SPSqlClient.GetDocumentContentRow(Int32 rowOrd, Object ospFileStmMgr, SPDocumentBindRequest&
dbreq, SPDocumentBindResults& dbres... 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.50* w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Files ak8dj High ...) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String
bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean&
pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object&
pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel,
UInt64& ppermMask, ... 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.50* w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Files ak8dj High ...Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies,
Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte
bPageMode, Byte bGetBuildDependencySet, String bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument,
Boolean& pbDefaultToPersonal, Boolean& pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion, String& pbstrTimeLastModified, String& pbstrContent, UInt32& pdwPartCount, Object& pvarMetaData, Object&
pvarMultipleMeetingDoclibRootFolders, String& pbst... 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.50* w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Files ak8dj High ...rRedirectUrl, Boolean& pbObjectIsList, Guid&
pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied, Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies,
String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId) at Microsoft.SharePoint.Library.SPRequest.GetFileAndMetaInfo(String bstrUrl, Byte bPageView, Byte bPageMode, Byte bGetBuildDependencySet, String
bstrCurrentFolderUrl, Int32 iRequestVersion, Byte bMainFileRequest, Boolean& pbCanCustomizePages, Boolean& pbCanPersonalizeWebParts, Boolean& pbCanAddDeleteWebParts, Boolean& pbGhostedDocument, Boolean& pbDefaultToPersonal, Boolean&
pbIsWebWelcomePage, String& pbstrSiteRoot, Guid& pgSiteId, UInt32& pdwVersion,... 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.50* w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Files ak8dj High ... String& pbstrTimeLastModified, String& pbstrContent,
UInt32& pdwPartCount, Object& pvarMetaData, Object& pvarMultipleMeetingDoclibRootFolders, String& pbstrRedirectUrl, Boolean& pbObjectIsList, Guid& pgListId, UInt32& pdwItemId, Int64& pllListFlags, Boolean& pbAccessDenied,
Guid& pgDocid, Byte& piLevel, UInt64& ppermMask, Object& pvarBuildDependencySet, UInt32& pdwNumBuildDependencies, Object& pvarBuildDependencies, String& pbstrFolderUrl, String& pbstrContentTypeOrder, Guid& pgDocScopeId)
at Microsoft.SharePoint.SPWeb.GetWebPartPageContent(Uri pageUrl, Int32 pageVersion, PageView requestedView, HttpContext context, Boolean forRender, Boolean includeHidden, Boolean mainFileRequest, Boolean fetchDependencyInformation, Boolean& ghostedPage,
String& siteRoot, Guid& siteId, Int64& bytes, ... 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.50* w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Files ak8dj High ...Guid& docId, UInt32& docVersion, String&
timeLastModified, Byte& level, Object& buildDependencySetData, UInt32& dependencyCount, Object& buildDependencies, SPWebPartCollectionInitialState& initialState, Object& oMultipleMeetingDoclibRootFolders, String& redirectUrl, Boolean&
ObjectIsList, Guid& listId) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.FetchWebPartPageInformationForInit(HttpContext context, SPWeb spweb, Boolean mainFileRequest, String path, Boolean impersonate, Boolean&
isAppWeb, Boolean& fGhostedPage, Guid& docId, UInt32& docVersion, String& timeLastModified, SPFileLevel& spLevel, String& masterPageUrl, String& customMasterPageUrl, String& webUrl, String& siteUrl, Guid& siteId, Object&
buildDependencySetData, SPWebPartCollectionInitialState& initialState, ... 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.50* w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Files ak8dj High ...String& siteRoot, String& redirectUrl, Object&
oMultipleMeetingDoclibRootFolders, Boolean& objectIsList, Guid& listId, Int64& bytes) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModuleData.GetFileForRequest(HttpContext context, SPWeb web, Boolean exclusion, String
virtualPath) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.InitContextWeb(HttpContext context, SPWeb web) at Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context)
at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.GetContextWeb(HttpContext context) at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PostResolveRequestCacheHandler(Object oSender, EventArgs ea)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IEx... 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.50* w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Files ak8dj High ...ecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep
step, Boolean& completedSynchronously) at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback
cb) at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr
nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompl... 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.50* w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Files ak8dj High ...etion(IntPtr pHandler, RequestNotificationStatus&
notificationStatus) at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr
rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.50 w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Files aiv4w Medium Spent 0 ms to bind 13297 byte file stream 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.52 mssearch.exe (0x1B6C) 0x3F24 SharePoint Server Search Crawler:Content
Plugin ajjig Medium CSSFeeder::ReportPingSession: the session 86ba63af-ce5a-4c7c-a836-c70ee9961b91 has been pinged by PollCallbacks
07/16/2014 17:32:08.52 w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Information Rights Management ai4ko Medium Information Rights Management (IRM): The IRM status of the document [] is: untried (-1), the return values is: 0x0. 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.52 w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Files ahjkm Medium Spent 0 ms to send 13297 byte file stream 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.52 w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Logging Correlation Data xmnv Medium Site=/ 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.52 w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Monitoring b4ly High Leaving Monitored Scope (PostResolveRequestCacheHandler). Execution Time=66.9455 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.57 w3wp.exe (0x2CE0) 0x45CC SharePoint Server
Logging Correlation Data xmnv Medium Name=Task: SessionManager.PerformOngoingRequestDepartures 6b6b4445-2b72-0002-9138-988147c881a0
07/16/2014 17:32:08.58 w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
General g3ql High [Forced due to logging gap, cached @ 07/16/2014 17:32:08.55, Original
Level: Verbose] GetUriScheme(/QAPortal/PackingMaterial/frmFile4) 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.58 w3wp.exe (0x5234) 0x1E7C SharePoint Foundation
Database 8acb High [Forced due to logging gap, Original Level: VerboseEx] Reverting to process
identity 9e13a59c-dffb-b08d-acd9-c283e837f4a5
07/16/2014 17:32:08.64 OWSTIMER.EXE (0x1ED4) 0x5B18 SharePoint Foundation Monitoring
nasq Medium Entering monitored scope
Maybe you are looking for
-
Hi guys, I have just updated my iphone 4 to iOS 5 and have lost everything! I did a back up prior to the install and have the latest version of iTunes. I completed the install and went to retrieve the back up via a restore, I selected the latest rest
-
Need help with a rudimentary program
I'm sort of new at this so i need help with a few things... I'm making a program to compile wages and i need answers with three things: a.) what are the error messages im getting meaning? b.) How can i calculate the state tax as 2% of my gross pay wi
-
Aggregate one-to-many relationship problem
Hello, After migrating from Toplink 9i I've stumbled across a problem with our aggregate objects. Toplink Workbench reports no errors and generates a nice XML but in runtime I get this error whenever a aggregate function is used. [TopLink fin]: 2008.
-
SBLive 24bit-can't get additional software to inst
hi, I recently did a fresh install of win xp pro sp2, and I can not get the extra software to work properly, EAX controls is mainly what I want. default scenario is I have no drivers/software installed, I pop the disc in, and let it work its magic, I
-
Say i try to open a pdf link for example (although not limited to) and Firefox stops responding; if i close the browser and open it again, it will attempt to reload the same page that just locked it up. How do i turn this off? I get the "Well, this i