Unix Script to connect to Portal Database and move the files to XI Server

Hi all,
we have a requirement where the source BW system is placing files in Content Management in the link http://xxx:50100/irj/go/km/docs/documents/Public%20Documents/HFM.
XI needs to read the files from the above location.Since the files are stored in Portal database,we cant do FTP to this location.
So we have been asked to write a script which connect to this location and moves the files to XI directory.
Can someone plz help me with this script?

The concern has been discussed earlier at
here and should be helpful to check the database size and free available space in exchange server.
This blog has also good explained about "how to count mailbox per database in exchange 2010". Please check this :
http://blog.powershell.no/2010/11/21/retrieve-number-of-mailboxes-per-database-in-exchange-server-2010/

Similar Messages

  • I want to take files from my PC (using a Seagate external hard drive) then plug this Seagate External hard drive into my Mac Book Pro and move the files from the Seagate External Hard drive onto my Time Capsule. I do not want to put these files on my Mac

    I want to take files from my PC (using a Seagate external hard drive) then plug this Seagate External hard drive into my Mac Book Pro and move the files from the Seagate External Hard drive onto my Time Capsule. I do not want to put these files on my Mac. How do I do this? Where do I put these files on my Time Capsule? Will it affect the functioning of my Time Capsule?

    Mixing files with data is not always great idea.
    See info here.
    Q3 http://pondini.org/TM/Time_Capsule.html
    Why not just connect the PC directly to the TC by ethernet and copy the files over?
    It is hugely faster and much less mucking around.
    In windows load the airport utility for windows.. if you have not already as this will help you access the drive.
    There is more info here.
    http://support.apple.com/kb/HT1331

  • I have downloaded a music file through a downloader . But the file is not found in the captured in music player . How can I locate the physical location and move the file . I cannot do via itunes also .

    I have downloaded a music file through a downloader . But the file is not found in the captured in music player . How can I locate the physical location and move the file . I cannot do via itunes also .

    Exactly what do you mean by a 'downloader'?
    Thanks
    Pete

  • Script/Automator Get Filenames in Folder and Move Each File into Folder based on Filename?

    I have searched for an answer to this and I have searched through multiple file renaming apps on the app store too but alas I cannot find anything that does what I want so I ended up looking into Automator as my saviour but I am a total NOOB.
    What I want to do is point automator to a folder of my choosing
    Automator then takes each file in that folder and creates a folder with the same name as the file and then move the file into that subfolder.
    Sounds easy enough eh
    I'm totally stumped, anyone have any guidance ???

    This is a PITA to do in automator - automator does not handle loops the way it should - but in applescript it looks like so (open this in the applescript editor, select the file you want to run it on in the Finder, then run the script):
    tell application "Finder"
              set mainFolders to the selection
      -- selection returns as a list, so even if there's only one folder a loop is used
              repeat with thisFolder in mainFolders
      --get the folder's contents
                        set containedItems to every item of thisFolder
                        repeat with thisItem in containedItems
      -- get name of file, add 'ƒ' to avoid name conflicts
                                  set newFolderName to (displayed name of thisItem) & " ƒ"
      --make folder, move item
                                  set newFolder to make new folder at thisFolder with properties {name:newFolderName}
      move thisItem to newFolder
                        end repeat
              end repeat
    end tell

  • HT1449 Is there a way to "Organize Library" and *move* the files, rather than *copy* them?

    I was trying to move my iTunes Library from the old iTunes Music folder to a new-style iTunes Media folder.
    The Organize Library command wants to copy my 219 GB library. Is there any way to do the same thing but move the files instead? There's no way I'm going to be able to free enough space to make a copy of my whole library, and I would really rather not move the whole thing to an external drive, just to move it all back to the proper folder on my internal drive.

    Let's recap.
    Your iTunes media library is in an old school layout, library in the usual location of <User>/Music/iTunes containing a media folder called iTunes Music. You have updated the iTunes preference for the media folder to <User>/Music/iTunes/iTunes Media but, as expected, most if not all your media is still on the old path. And you want to rearrange your library to the current layout.
    Correct? If so then the following steps will sort out your library:
    Change the media folder preference back to <User>/Music/iTunes/iTunes Music. Close & then reopen iTunes.
    Use File (iTunes?) > Library > Organize Library > Rearrange files in the folder "iTunes Music" to get iTunes using the new internal structure for the media folder. Ignore if this option is grayed out, you've already done it.
    (Sorry, I'm a PC user so a bit hazy on precise layout of Mac menus)
    Use File (iTunes?) > Library > Organize Library > Consolidate files to pull in copies of any files that made it into the iTunes Media folder or are scattered elsewhere.
    Delete the now redundant folder iTunes Media.
    Close iTunes, rename iTunes Music as iTunes Media, start iTunes, check under iTunes > Preferences > Advanced that the media folder preference has automatically updated to .../iTunes Media, correct if required.
    (Optional). Close iTunes, rename the library file iTunes Library as iTunes Library.itl then click the icon to start iTunes and immediately press and hold down option. When prompted to choose or create a library click choose and browse to the renamed file.
    I could have suggested using Doug's script Re-locate Selected but the process above is much more efficient. You could use this however at step 3 to avoid the temporary duplication of the files from iTunes Media or housekeeping for any other files stored ourside of the iTunes Music folder.
    tt2

  • HT1364 when I moved the iTunes media folder from my PC to my external hard drive, upon iTunes start up with the harddrive connected beforehand, my music and all the files transferred to my harddrive but now all my playlists music& ratings are gone. what d

    I transferred my itunes library using all the guided steps promepted on this topic,  when I restarted iTunes in its new location on my xternal hard drive, iTunes did not have any of my ratings or playlists. I did have the hard drive running before i started up itunes as well. what can I do?

    I got it to work!!!!!!!
    what I did was after doing this( http://support.apple.com/kb/HT1364) moving my library and iTunes folders using that link, I held shift while double cicking and opening iTunes, It promted me to select a library, I went to my external hard drive and opened iTunes library.itl folder and selected the iTunes library.itl file.  In the picture below I just selected the highlighted file and it opened itunes, THIS time with all my music and with all my music ratings and playlists, all still intact thank you so much!!!!

  • I have an external harddisk with NTFS. The iMac can only read the files. What should I do if I want to use and move the files both on OS Lion and Windows?

    What should I do if I want an external harddrive which is accessible both for Windows and Mac (OS Lion)?

    Use exFAT or install drivers such as Paragon NTFS on the Mac.
    (59630)

  • Using APEX to validate and move a file to directory on the network - How To

    Version 4.0.2.00.07
    Hello,
    I just received a requirement to create a screen to allow a user to upload an Excel file from their computer. The upload process would validate the columns in the file and move the file to a directory on the network where some other process would take that file and process it.
    The part I'm unsure about is the moving the file to the network directory when it passes the validation.
    Can someone help me with that part?
    What other information can I provide?
    Thanks,
    Joe

    Hello Joe,
    You can do that with UTIL_FILE API and FTP. Search PL/SQL forum with UTIL_FILE and NETWORK keywords.
    utl_file for another server, how to
    Regards,
    Hari

  • Error connecting to portal database using alias

    i am using Connector framework api to connect to portal database.
    in <b>visual administrator -> JDBC connector</b>. I click on <b>runtime</b> tab
    Under <b>Resources</b> i find <b>Data Sources</b> and <b>Drivers</b>.
    Under Data sources I see SAPSR3DB. In Main tab on right hand pane I find many other aliases called SAP/BC_UME and SAP/BC_WDDR etc. Which one do I use in creating a connection.
    IConnectorGatewayService cgService = (IConnectorGatewayService) PortalRuntime.getRuntimeResources().getService("com.sap.portal.ivs.connectorservice.connector");
    ConnectionProperties cp = new ConnectionProperties(request.getLocale(),request.getUser());
    IConnection connection = cgService.getConnection("SAPSR3DB",cp);
    No system found for alias SAPSR3DB.

    Hi,
    If you want to use the PortalService IConnectorGatewayService you will have to create a JDBC System in the System Landscape of the Portal and create a System Alias with usermapping.
    You can then create a c connection to this JDBC System with the IConnectorGatewayServcie using the specified System alias.
    But if you want to directly connect to the System Database you can also use OpenSQL in your Portalapplication and lookup the Connection using JNDI:
          InitialContext ctx= new InitialContext();
          ds= (DataSource) ctx.lookup("jdbc/SAPSR3DB");
          java.sql.Connection conn= ds.getConnection();
    // user your connection here and close all jdbc objects finally!
    Best regards,
    Stefan Brauneis

  • "Please connect to one database and try again."

    "Please connect to one database and try again."
    That is the error message that comes up when I launch Apple Mail. I have not made any changes to my Apple Mail in 8 months. Not one.
    Has anyone seen this error message before? I'm not even sure what is failing as all of my mail (at least in a quick check) seems to be working (a few IMAP and a few POP accounts).
    Thanks for any info regarding this... strange....

    Well, all of a sudden it's gone now... probably some strange IMAP occurance, but who knows.
    Thanks.

  • I want to know the ways of connecting 9iAS to Database and clients to database through 9iAS as middleware.

    My question was about the necessity of implementing OID or any other version of LDAP.
    We have a new 9iAS and 8.1.7 database implementation and i have a doubt about their networking architecture.
    I want to know the ways of connecting 9iAS to Database and clients to database through 9iAS as middleware. We are debating if OID is compulsory or if we can go ahead with this implementation with out OID.
    Can you please help me and provide me couple of implementation designs(i.e connecting clients to database through 9iAS). It would be great if any one can provide me the implementation's with and with out OID.
    -Thanks

    Hi ,
    For all delta and full DTP loads you can get  information in table  RSICCONT .Check table  RSMONICDP  this will give you detail information .Here you will get all the information with timestamp and request id .
    Hope these tables will serve your purpose .
    Regards,
    Jaya

  • Jasper report on HTML when one image loaded from database and for the other

    How to generate jasper report on HTML when one image loaded from database and for the other we give a image path
    My code
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
              exporter = new JRHtmlExporter();
              exporter.setParameter(JRExporterParameter.JASPER_PRINT, print);
              exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, baos);
              exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, strImageInputDirectory);
         exporter.setParameter(JRHtmlExporterParameter.IMAGES_DIR_NAME, strImageOutputPath == null ? "." : strImageOutputPath);
         exporter.setParameter(JRHtmlExporterParameter.IS_OUTPUT_IMAGES_TO_DIR, Boolean.TRUE);
         exporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN, Boolean.FALSE);
         exporter.setParameter(JRHtmlExporterParameter.IS_WHITE_PAGE_BACKGROUND, Boolean.FALSE);
              exporter.exportReport();
              byte[] bdata = ((ByteArrayOutputStream) baos).toByteArray();
    Can any one help pls
    Message was edited by:
    ameet.au

    hey sorry for posting it in this forum.
    but do u have sample code for making it work.. since i am able to do it on PDF format(image from Database and another stored in the webserver) using
    byte image[] =(byte[]) outData.get("image");
                        ByteArrayInputStream img = new ByteArrayInputStream(image);
                        hmimg.put("P_PARAMV3", img);
    print = JasperFillManager.fillReport(reportFileName, hmimg, jrxmlds);
    bdata= JasperExportManager.exportReportToPdf(print);

  • What should i do with an Oracle 11g Database, MySQL database and a dump file.

    I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
    My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
    So the quest is converting Oracle Database to MySQL database.
    Of course i cant try to convert it in the main Database, so i create one Oracle 11g Database on my LocalHost, and it already actived in " Localhost:1158 " etc.
    I have another Sever test that already set up MySQL database, and a dump file from the system.
    So I want to ask these 2 questions :
    1. How to create an new Oracle Database from that dump file ?
    2. Is it alright if i use tool to convert Oracle Database into MySql, or i should do it manually ?
    Thanks alot.

    I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
    My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
    So the quest is converting Oracle Database to MySQL database.
    I predict that converting to MySQL will cost your company more as it expands. As you expand managing contention becomes more important - Oracle does this for you. I do not think MySQL does, so you'll have to write more code to deal with this, costing the company money. A big part of making application scalable and reliable is to use stored procedures, how good are MySQL's compared to PL/SQL's. What other features are there that MySQL has that will benefit your company that Oracle doesn't. What do you need to think about as your company expands that need to be taken care of in the database. I would have thought a migration from MySQL to Oracle would be more common to deal with expansion.
    As you know "NOTHING" you need to think about what each database can give you for the next 10 years to cope with you businesses potential requirements, and extimate how much it will cost to implement these requirements, then make the decision

  • I am trying to download the update IOS 5 version for mi ipad 2 and at the end when it finishes downloading it shows an error "connection has been interrupted and that the task could not be completed", my internet service is fine, what can it be?

    I am trying to download the update IOS 5 version for mi ipad 2 and at the end when it finishes downloading it shows an error "connection has been interrupted and that the task could not be completed", my internet service is fine, what can it be?

    The 2nd generation can not be upgraded beyond 4.2.1.

  • HT4859 i have reset my password and i dont have wifi to connect to my ipod and activate the steps in the i cloud process, now i want to know that will all my videos , photos and music will lost if i connect to my computer if storage and backup is in off m

    i have reset my password and i dont have wifi to connect to my ipod and activate the steps in the i cloud process, now i want to know that will all my videos , photos and music will lost if i connect to my computer if storage and backup is in off mode

    If iCloud Backup is set to Off in Settings>iCloud>Storage & Backup, it means that your iPod will not automatically back up to iCloud, but will automatically back up to your computer when you sync.  The only way you would risk losing data is if you have never synced with iTunes before.  If that's the case, you have to take special precautions to avoid losing data, as outlined in this user tip: https://discussions.apple.com/docs/DOC-3141.

Maybe you are looking for