Move Wiki from one Server to another

I failed in moving the wiki I programmend and that worked quite well from one 10.5. server to another machine. I copied some stuff from one device to another but obviously not the correct one.
Is there a way to do it automatically or knows somebody which files have to be moved?

try it and RATE correct answers
Hello Matthew
You're looking in the wrong spot
First things first - make yourself default sudo with sudo -s then you can forget prefixing it all the time.
If you just use pg_dump then it'll take the command from the /var-Directory - that's the wrong version
You have to specify the path for the Socket where the PSQL-Database for the wiki really is located by using the -h-option - it's not the default
that's why you get the error that role collab does not exist since you're connecting to a database in place where the role collab truy isn't part of it.
So - if you'd like to export the wiki-DB us the following and adapt the filename to what you like it to be.
bash-3.2# /Applications/Server.app/Contents/ServerRoot/usr/bin/pg_dump -h "/Library/Server/PostgreSQL For Server Services/Socket/" -p 5432 -f /Volumes/USBSTICK/wikidatabase.pgdump -U collab collab
The first block specifies the "not default" pg_dump you'd like to use
The second block (-h "/Library/.....) tells pg_dump where to find the DB
The third block tells pg_dump to use port 5432
The fourth block (-f /Volumes/......) tells pg_dump to place its output into this file
The fifth block (-U collab) tells pg_dump to do this is role collab
The sixth block tells pg_dump from with DB to dump from
In your case extend my provided command with your options --format=c --compress=9 --blobs like this:
bash-3.2# /Applications/Server.app/Contents/ServerRoot/usr/bin/pg_dump -h "/Library/Server/PostgreSQL For Server Services/Socket/" -p 5432 -F c --compress=9 -b -f /Volumes/USBSTICK/wikidatabase.pgdump -U collab collab
BTW- you can connect to the database, of course:
bash-3.2# psql -h "/Library/Server/PostgreSQL For Server Services/Socket/" -p 5432 collab collab
try it and RATE correct answers
Here is my thread https://discussions.apple.com/thread/5751873

Similar Messages

  • Move VM from one server to another using Local Repositories

    There is the following structure:
    ovhost-01 with first_repo
    ovhost-02 with second_repo
    Oracle VM version: 3.1.1
    Both first_repo and second_repo are Local Repositories.
    On ovhost-01 I have VM named "TestOVM" with status Stopped .
    Task:
    Move VM from ovhost-01 to ovhost-02 using "Clone or Move" section from VM Manager ( http://docs.oracle.com/cd/E27300_01/E27309/html/vmusg-vm-manage.html#vmusg-vm-move )
    Whenever I try VM moving virtual disk stays on the first_repo.
    With shared NFS-storage this feature working well.
    Question:
    Is it possible to move VM from one server to another with Local Repositories ?

    Neither ovhost-01 nor ovhost-02 have access to each other. It move or copy... the admin server that is connected to the local repository would have to have access to the target repository.

  • How to move folders from one server to another serve using unix command

    Hi All,
    How to move the folders from one server to another server using unix command.
    scp -r armops@sjarmprd01:/ARM/scripts [email protected]:/ARM/scripts/
    but it is giving an error like not a regular file .. what it means .. please let me know if any one knows about it
    Thanks
    Sreedhar

    not a regular file .. what it meansProbably you have some fifo (named pipe) files...
    Said that this has nothing to do with database (you should post on some nix forum, for example http://forums.oracle.com/forums/forum.jspa?forumID=135), you may try rsync* command (man rsync).

  • How move apex from one server to another

    Hi All,
    I am just a beginner who has just started with APEX. Its strange but even though I am just a beginner I was given a task to move the current whole apex system from one server to another.
    Can any one help what the steps do I need to follow to do this?
    I also need to setup backup server to this new server so that in case this new server goes down, the backup one can be made productional.
    I think I should move apex first then move the whole database. Is there any tool or some thing which can do it for me?
    Thanks

    Hi,
    what you are being asked to do would be a complex task for an experienced DBA, which, judging by the way you have asked the questions, you are not, no offence intended.
    As far as I can see you have three options.
    1. Hire a consultant/contractor with the necessary skills to perform the tasks.
    2. Gain several years experience as an Oracle DBA, including Apex, backup and recovery and disaster recovery skills.
    3. Look for a new job.
    Sorry to sound facetious, but it is a ridiculous task you have been given assuming the skill and knowledge level you are coming from. Assuming you have not misrepresented yourself to your employer, this is not your fault and I think you need to seriously push back on your boss if possible.
    Regards
    Andre

  • Move files from one server to another

    <cfset spath = "\\ght4\clients\abc\new\256\">
    <cfset dpath ="\\ffg\clients\def\new\kij">
    <cffile action = "move" source = "#spath#" destination = "#dpath#">
    It generating an error Is there a way to move files from server to another in coldfusion

    You talk to your network administrator(s) and ask them what permissions have been assigned to the user that the ColdFusion service|demeon is running as.
    P.S.  By default, on a windows machine, ColdFusion runs as a "localSystem" user, which usually has *no* permissions to other systems.

  • How to 'move' databases from one server to another

    Hi there
    Here is a brief description of my assignment.
    We have two Redhat Linux 4 64-bit server where two Oracle 10.2.0.4 64-bit database are running (one on each server).
    <li>DB on server1 is using Filesystem for storage.
    <li>DB on 2nd server is using ASM.
    <li>Size of both is between 75-80GB.
    <li>I have to move both the databases to new servers (same platform) with minimum downtime.
    <li>There is no upgrade required during this move/migration. Both DBs have to be brought over as-is.
    <li>The new servers may be on VMWare - I am not sure it at the moment. But please let me know if that will make any difference.
    I would highly appreciate if someone could please provide me with some high-level guidelines to perform this move.
    Best regards

    Hi Srini
    Thank you so much for sharing the valuable URLs.
    I am reading through "Cloning An Existing Oracle10g Release 2 (10.2.0.x) RDBMS Installation Using OUI [ID 559304.1]" and I have few questions.
    <li> This MOS says:
    NOTE: This note should only be used for cloning single-instance (non-RAC) homes. It should not be used for cloning RAC, CRS or ASM homes.If that is the case, how should I clone ASM-Home?
    One of the environments that I have to migrate to a new server has ASM installed as well. And couple of oracle databases (10.2.0.5) on that server are using ASM for storage.
    <li>If were to do a fresh installation of 10gR2 RDBMS and ASM homes (on Redhat Linux 64-bit), I guess I need to contact Oracle Support (open an SR) to access the software, right?
    <li>How to check from existing installation which patches I need to download and apply to this fresh installation in order to make it same as the existing installation? "opatch lsinventory" gives me a long list of number/fixes - I don't know which patch(es) to download.
    Please advise!
    Best regards
    Edited by: user130038 on May 22, 2013 3:48 AM
    Edited by: user130038 on May 22, 2013 3:55 AM

  • Export DB from one server to another.

    Hello
    I have big p problem to find the way how to move database from one server to another. The database is 10g R2. The both server are on windows server system and they are in the same network. I have one weekned to do this. I have found 4 ways:
    - Clone
    - duplicate
    - Expdp/impdp
    - RMAN
    Which of this possibilities is best for me?
    And next question how I should install database on new server? Should I use option "Install databse software only" ? This seems to me the best solution, but what after? How to in this condition make a import?
    The second posibility is to install the database during the instalation - but if it will be the same database as is on my orginal server?
    Thanks in advance for any explanation.
    Andrew

    Pl post exact details of OS and database versions of the source and target servers.
    You could clone the ORACLE_HOME binaries from source to target by following instructions in MOS Doc 300062.1 (How To Clone An Existing RDBMS Installation Using OUI)
    Is there a reason you cannot shut down the database, copy all of the relevant database files to the new server, and start up the database there ? It would be easier and faster than using expdp/impdp. This assumes that the source and target OS are compatible.
    458450.1 - Steps to Manually Clone a Database
    562556.1 - How to Manually Clone a Database to Another Node
    HTH
    Srini

  • How can I move the ODI Work Repository from one server to another server?

    How can I move the ODI Work Repository from one server to another server?

    Hi,
    If you would like to move your source models, target models and project contents from Work repository 1 to another work repository.
    I.e. Dev. server to Prod Server.
    1. Firstly, replicate the master repository connections i.e. with same naming conventions manually
    2. Go to Dev. Server work repository -> File Tab -> Click on Export work repository (save it in a folder)
    3. After exporting, you can view the xml files in the folders.
    4. Now, Open the Prod. server and make sure you already replicated mas. rep. details.
    5. Now, right click on model and import source model in synonym mode insert_update (select source model from the folder where your xml file located)
    6. Similarily, import again target then Project.
    Now, check. It should work.
    Thank you.

  • How can you move the objects from one server to another?

    how can you move the objects from one server to another?

    Hi,
    Collecting objects for Transporting
    1. rsa1->transport connection
    2. left panel choose 'object type', middle panel choose 'infocube' and 'select objects'
    3. then choose your infocube and 'transfer'
    4. will go to right panel, choose collection mode 'manual' and grouping only 'necessary objects'
    5. after objects collection finished, create request
    6. If they are $TMP, then change the package.
    7. When you click the Save on the change package, it will prompt for transport. Here you can provide an existing open transport request number, or if you like here itself you can create a new one.
    8. You can check the request in SE09 to confirm.
    Releasing Transport Request  
    Lets say you are transporting from BWD to BWQ
    Step 1: In BWD go to TCode SE10
    Step 2: Find the request and release it (Truck Icon or option can be found by right click on request #)
    Note: First release the child request and then the parent request
    Steps below are to import transport (generally done by basis )
    Step 1: In BWQ go to Tcode STMS
    Step 2: Click on Import queue button
    Step 3: Double Click on the line which says BWQ (or the system into which transport has to be imported)
    Step 4: Click on refresh button
    Step 5: High light the trasnport request and import it (using the truck icon)
    Transport
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b5/1d733b73a8f706e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/0b/5ee7377a98c17fe10000009b38f842/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/224381ad-0701-0010-dcb5-d74236082bff
    Hope this helps.
    thanks,
    JituK

  • I need a shell script to move latest archivelogs from one server to another server..

    Hi,
         I need a shell script to move latest archivelogs from one server to another server..
    Thanks&Regards,
    Vel

    ea816fb9-f9ea-45ac-906f-36a8315970d0 wrote:
    Thanks it's really helpfull..
    Now i have pasted a shell script which generates archivelog and shows latest archivelog time..
    just check let me know the answer, that how i need to execute it..
    # Force a logswitch to get the last archivelog to the standby host
    ORACLE_SID=ORCL
    ORAENV_ASK=NO
    . oraenv >/dev/null 2>&1
    SwitchLogfile()
      # Do logswitch 
      RESULT=`echo "Alter system switch logfile;" | sqlplus -S / as sysdba | grep 'System altered'`
      if [ "$RESULT" = "System altered." ]
      then
      export RETURN=1
      else
      export RETURN=0
      fi
      # Do we need to do something with this return value?
      export RETURN
    GetArchiveTime()
      CURYEAR=`date +%Y`
      echo "set heading off;" > temp.sql
      echo "set termout off;" >> temp.sql
      echo "select to_char(first_time,'YYYY-MM-DD HH24:MI:SS') from v\$archived_log where sequence#=(select sequence# - 1 from v\$log where status='CURRENT');" >> temp.sql
      sqlplus -S / as sysdba <
    spool tempres.txt
    @temp.sql
    quit
    EOF
    cat tempres.txt | grep ${CURYEAR} | grep -v grep | awk '{print $1" "$2}'
    #rm -f temp.sql  tempres.sql
    SwitchLogfile
    GetArchiveTime
    You seem to have ignored Dude's VERY good advice and continue to press down this ill-advised path.  If you continue this approach, you WILL have problems at the very time you do not need any additional problems.  Trying to recover your production database at 2:00 in the morning is not the time to be getting errors from rman because it can't find what it needs - because you decided to move them around yourself.
    Please reconsider.

  • Move Web service from one server to another

    Hi
            i am calling a web service from R3 which i have moved from one server to another what i need to do in my web dynpro application as it will call the web service from new location?
    do i need to rebuild the whole application or need to change some settings here and there?
    NOTE: webservice and function module of the web service is not changed just moved from one server to another.
    THANKS
    Ninad

    Hi,
      Try with this code. Dynamically Server will get change.
    Create a HTTP Destination in visual administrator which stores the server name and port.
    String prefixURL = "http://";     
    // your Service Address...remove the first part from service url.
    String serviceURL = "/TestService/Config1?style=document";
    DestinationService dstService = (DestinationService) obj;          
    Destination destination = dstService.getDestination("HTTP","ApplicationServer");
    Properties destprop = destination.getDestinationProperties();
    HTTPDestination httpDestination = (HTTPDestination) destination;
    String serverName = httpDestination.getUrl();
    prefixURL = prefixURL + serverName;
    String testURL = prefixURL + serviceURL;
    Request<Obj> testReq = new Request<Obj>();
    testReq._setEndPoint(testURL);
    You need to import below files into your project.
    import com.sap.security.core.server.destinations.api.Destination;
    import com.sap.security.core.server.destinations.api.DestinationService;
    import com.sap.security.core.server.destinations.api.HTTPDestination;
    import java.net.HttpURLConnection;
    import java.util.Properties;

  • Can't move files from one volume to another

    Using the 1.2 client on SLED, I don't appear to be able to move files from
    one volume to another. I have two drive "mappings", each to a
    different volume on a NW65SP5 box, but when I try and cut and paste files
    I get an error saying "Not on the same file system". However if I drop to
    a terminal and just use mv, that works.
    Is this a known issue?
    Joe

    On Tue, 12 Sep 2006 12:59:23 +0000, Joseph Marton wrote:
    Hmm, yep get the smae problem when trying to move files.
    Copy works just great though.
    I know there are some issues in Gnome/Nautilus that's being worked upon.
    These are outlined in the Readme. For example it's not possible to copy a
    folder from Server A to Server B, then delete the folder form Server A.
    Finally later on copy the folder back to Server A from Server B.
    Also Gnome is leaking file handles, which could be the cause for the
    problem we're getting here.
    I'll ask my contact at Novell about this and have him enter it in as a bug
    if it's not a known issue.
    For a workaround you already have a good alternative of using mv in a
    terminal.
    Niclas Ekstedt, CNA/CNE/CNS/CLS
    Senior Network Consultant/NSC Sysop
    Telindus Sweden AB

  • Failure to move messages from one account to another

    I have recently started having problems when trying to move messages from one account to another. I get a message that says: The IMAP command "APPEND" (to INBOX) failed with server error: message contains NUL characters.
    I have tried shutting down and restarting, repaired permissions. Not sure what to do next. Any help?

    Ernie,
    One is POP thru Cox Comm and the other is mobile me (the old .mac accts). Why would all of a sudden there be an issue when I several times during the day have been able to move messages from Cox to mobile me?

  • Moving Files from one server to another

    How i can move different files / Oracle reports from one server to another...
    secondly , if i want to access Oracle Discoverer reports from new server , either i need to install Discoverer on it or not...If yes how i can install & configur it?

    Need guide lines to transfer Oracle reports from one server to another ....Need help...Working on Unix environment....
    Forward me commnads to move data...please

  • Transportation ( how to transport objects from one server to another)

    Hi BW guru's
    Please tell me the steps to transport objects from one server to another server.

    Follow the steps.
    1. RSA1 > Transport connection
    2. In the right window there is a catagory "all object according to type"
    3. Select required object you want to transport.
    4. Expand that object , there is select object, double click on this you will get the number of objects, select yours one.
    5. Continue.
    6. Go with the selection, select all your required objects you want to transport.
    7. There is icon Transport Object (Truck Symbol).
    8. Click that, it will creat one request, note it down this request.
    9. Go to Transport Organiser (T.code SE01).
    10. in the display tab, enter the Request, then go with display.
    11. Check your transport request whether contains the required objects or not, if not go with edit, if yes "Release" that request.
    Thats it, your cordinator will move this request to Quality or Production.
    Hope its helps.
    Regards

Maybe you are looking for