Quantcast
Channel: Product Communities
Viewing all articles
Browse latest Browse all 105279

Forum Post: PWEXPT command line options. Can this util export a folder or does it export the whole datasource?

$
0
0

Hi

I thought I'd use the command line export util but it has no option for suppling a  PW folder?

C:\EC-Apps\FaPla\Prog\ProjectWise\bin\pwexpt /s /ub fapladbp /uu qx*** /up ******  /ed   /fe c:/work/92.0_export.aam   c:/work/92.0_export.log

C:\EC-Apps\FaPla\Prog\ProjectWise\bin\pwexpt /s /ub "pw:\\SMUC2536.europe.bmw.corp:fapladbp\D.......\" /uu q**** /up ******** /ed  /fe c:/work/93.0_export.aam  /fl c:/work/93.0_export.log

If I use the interactive export it asks for a PE folder.

 

if I try to run it all I get is this error

Export (2013-02-19 10:30:06)
 - [Log in must be done from command line when in silent mode. Try to pass all data needed for logging.]

 

This is from the help


  1. Open a command prompt and navigate to the "...\Bentley\ProjectWise\bin" directory.
    Typing pwexpt on the command line and then pressing <Enter> launches the Export Wizard. Typing pwexpt /s lets you run the wizard in silent mode (without physically opening the Export Wizard). The following options are available when you use pwexptfrom the command line:

    Export Option

    Definition

    /s

    silent mode (do not display Export wizard)

    /ub

    datasource name

    /uu

    user name

    /up

    password

    /ee

    exports all environments

    /ed

    exports all documents

    /app

    exports applications

    /dep

    exports departments

    /queries

    exports saved search definitions

    /workflow

    exports workflows and states

    /fe

    sets export file name

    /fl

    sets output log file name


  2. Enter the following:
    pwexpt /s /ub pwtest /uu admin /up admin /ee /ed /app /dep /queries /workflow /fe c:/export/output.aam c:/export/output.log

    In this example, the export command (pwexpt) runs in silent mode (/s), logs in to the datasource “pwtest” (/ub pwtest) using user name “admin” (/uu admin) and password “admin” (/up admin), and exports environments (/ee), documents, (/ed) applications (/app), departments (/dep), searches (/queries), workflows and states (/workflow), all to a script file called output.aam (/fe c:/temp/output.aam). This example also creates a log file (/fl c:/export/output.log) where you can review the results of the export.

 

tried editing the example line given in the help

pwexpt /s /ub fapladbp /uu  ******* /up ******* /ee /ed /app /dep /queries /workflow /fe c:/export/output.aam c:/export/output.log

Still didn't work.

Do you have to be admin to run it and how do you pass a folder.   For a large site it doesn't make sense exporting everything??

 

Only reason I want to do this is due to central coorparate IT not allowing separate select ids and not allowing/knowing about  the  Bentley Excel Export utility I am

having to bulkload files, then export them to get a .aam file, use perl to rewrite it adding extra data from excel table and then re import an new .import.amm file.

Did want to be able to export each folder as one .aam file. 

Am I correct to assume that pwexpt can't do this?


Viewing all articles
Browse latest Browse all 105279

Trending Articles