Move WIKI data from one Mountain Lion Server to another

Hi.
I followed the instruction here:
http://support.apple.com/kb/HT5585
Under Copying all wikis from one OS X server to another OS X server, I am not even able to execute:
sudo pg_dump --format=c --compress=9 --blobs --username=collab --file=/tmp/collab.pgdump collab
It gives this error:
pg_dump: [archiver (db)] connection to database "collab" failed: FATAL:  role "collab" does not exist
Any idea?
I just tested it on the productive server as well as a brand new install. Same outcome.
which then I moved the: /Library/Server/Wiki/FileData over but even stop/start, restart, wiki server is running but not able to load content, it's like it's been wiped clean.
matthew

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

  • How to move Apple Mail from one Mountain Lion mac to another Mountain Lion Mac?

    What is the easiest way to do this?

    The easiest way would be to just reenter the settings for the account in question in Mail.app.
    Then Mail would access the mail server online and download whatever is on the server (depending on your mail settings, and the server settings).
    If you have mail stored on your Mac that is not on the server, then you could move the stored mail files too. This is a bit more complicated.

  • How to move BCS data from one box to other

    Hello Expert,
    Dose any one know how to move BCS data from one box to other box ?
    Thanks & Regards,

    1) The best is to do the test. In my case, my customer was just doing this transfer (in full) to perform tests on the BEX reportings. Actually, they never raised any issue regarding document number when they did additional postings in test system... I would also say that during the transfer, the number counter in Qual gets not synchronized with the one in Prod. So, I think the system will just take the next number available in Qual. Should not be an issue.
    2)  As explained in answer 1), in my case, the purpose was not to perform data migration from one system to the other one. Thus, my customer never performed a subsequent consolidation in the target system. But, basically, the transfer copies all data : posting levels 00 to 30, for all periods you have selected + Additional financial data and sequence of activities. Thus, for me, everyhting is available in the target system, including COI documents. In other words, the "picture" regarding the data should be exactly the same between both system. The only thing you need to pay attention to is the customizing : it must be the same in Qual and Prod (example : date of acquisition and divestiture, structure of the group, etc...).
    Another very important thing, is that your export data source must not be enriched due to the BCS Delta load scenario. If it is the case, the system will write the consolidation logic (i-e the consolidation group + reporting mode) when transferring the data from the source Real Time Infocube to the Target Real time infocube, which will lead to inconsistent data in the target system.

  • Transfer files using FTP from one r/3 server to another on windows platform

    Hi ,
    I am trying to transfer a text file from one r/3 server to another
    this should be done using ftp.
    I am working on widows OS & i have tried all the RSFTP* pgm's none satisfy my req. please tell proper method to do so or if any pgm please tell properly.
    Regards,
    Prateek Kumar

    If you haven't figured the migration out already, you may want to check out this thread:
    http://discussions.info.apple.com/thread.jspa?threadID=2205892
    It looks like the path to take from everything I'm seeing, but if you've found a friendlier solution I'd be happy to give it a shot!

  • Passing data from one UIX XML page to another UIX XML page

    What are the various ways of passing data from one UIX XML page to another UIX XML page?
    (a) If no bc4j is used.
    (b) If bc4j is used.
    (c) If my event handler calls:-
    public static EventResult handleMyEventEvent( BajaContext context, Page page, PageEvent event) throws Throwable
    then how can I pass data to the next UIX XML page?
    Thanks,
    Paul.

    What are the various ways of passing data from one UIX XML page to another UIX XML page?
    (a) If no bc4j is used.For forwarded URLs; HttpServletRequest attributes [request], HttpSession attributes [session], ServletContext attributes [application].
    For redirected URLs; HttpServletRequest parameters url, HttpSession attributes [session], ServletContext attributes [application].
    (b) If bc4j is used.For forwarded URLs; BC4J Session properties.
    For redirected URLs; BC4J Session properties IF release mode is NOT stateless.
    (c) If my event handler calls:-
    public static EventResult handleMyEventEvent( BajaContext context, Page page, PageEvent event) throws Throwable
    then how can I pass data to the next UIX XML page?Return a UIEventResult (extends EventResult) from your event handler that has a data provider attached.
    This data provider will be accessible in the next page with the name "ctrl:eventResult", where "ctrl" is the short prefix for the namespace "http://xmlns.oracle.com/uix/controller".
    Regards,
    John Fallows
    Oracle Corporation.

  • Move all data from one database to other using oracle expdp and impdp tool

    I need to move all of the data from one database to another. For that I am using oracle expdp and impdp tool.
    I have the full database export dump file. I moved that dump file to my other database.
    Now when I try to use impdp tools it gives lots of error regarding path mismatch,user not exists, role not exists.
    As my datafile path of source database does not match with the target database path , also the users are not there in target database. I dont want to create all the tablespaces that in my source database as there are 82 tablespaces.Is there any way by which I can move my all data without using remap option for tablespaces or users and grants.

    The FULL parameter indicates that a complete database export is required. The following is an example of the full database export and import syntax.
    The user must have the privielge of EXP_FULL_DATABASE
    expdp system/password@db10g full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=expdpDB10G.log
    impdp system/password@db10g full=Y directory=TEST_DIR dumpfile=DB10G.dmp logfile=impdpDB10G.logGO through below linkfor more details...
    http://www.oracle-base.com/articles/10g/OracleDataPump10g.php
    Regards
    Umi
    Edited by: Umi on Feb 4, 2011 2:27 AM

  • How do I make a wiki on OS X Mountain Lion Server?

    I'm trying to make a wiki with my OS X Mountain Lion server my question is how do i do it? Please help me?

    When running Server.app do you see that little button that says 'Next Steps' in the bottom left corner of the window ?  Click on it and read stuff.
    Alternatively click on the 'Help' menu and type 'wiki' into the search field that appears.

  • Can i transfer data from one icloud itunes account to another

    my son has used my i cloud to back up his school work and would like to transfer it to his i cloud account so he can use it on his other devices , computer etc
    is this possible?
    I have very little on the i cloud account but do use it for photos etc

    You cannot transfer data from one account to another.

  • Migrating wiki from one 10.6 server to another

    Has anyone had any success and know the proper procedure for moving a wiki between two 10.6 servers? We're relocating it to different hardware. When I move the data store it does the "starting server" thing forever when you try to visit the web page. It doesn't look like python or wikid is doing much of anything after the first few seconds. When I delete the various .db sql lite databases as suggested for fixing other issues, they do get recreated but it still never fully starts.
    The permissions are also correct on all the files so I know it is not that. Also, I did the migration using rsync3 and made sure it preserved proper permissions, extended attributes, etc.
    I'm probably missing something but was wondering if anybody has done it. Thanks.
    Message was edited by: Christopher Collins3

    If you haven't figured the migration out already, you may want to check out this thread:
    http://discussions.info.apple.com/thread.jspa?threadID=2205892
    It looks like the path to take from everything I'm seeing, but if you've found a friendlier solution I'd be happy to give it a shot!

  • Move tables data from One DB to another using DB-Link ?

    Dear friends ,
    I want to move a table data (for a particular schema) from one database to another database's table (for a particular schema) . Can I do it using DB_Link ?
    If yes , then plz tell me the way , how can I do it ?

    >
    I want to move a table data (for a particular schema) from one database to another database's table (for a particular schema) . Can I do it using DB_Link ?>
    Yes you can use db link.Refer to the example in the link:-
    [http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_5005.htm#sthref6315]
    Anand

  • Move metrics data from one EM repository to another

    I have a test EM Grid Control environment that has been running for over 1 month.
    I just set up a new production environment with a separate repository.
    Is there a way to move the metrics data from test to production?
    Thanks.
    Wade.

    I was in the same situation as yours. I move the repository database from development server to production server. I also renamed the databases to conform to our internal production database naming standards.

  • How to move UME data from one portal to another

    I have two portal system ,one is the runtime system ,another is a backup system.
    Is there have a method can synchronize the UME from one to another ?
    I know we can export the user's information to format text document using the user management in the portal ,but there is a limitation about the number of export user's data (1000) ,and this is a manual method ,is there have any automatical method ,such as using a command or  code ?

    I assume you have UME set to Java database? Then there's no official tool for moving users that I know of. The 1000 limit is the least of your problems! It also won't export passwords...
    Why are you not using an LDAP as the UME source? That would be my first choice and would allow easy access from multiple portals...

  • How do I transfer data from one external hard drive to another larger one?

    I hope I am posting in the logical area for this topic. I have an external hard drive connected to my eMac. My iTunes library and some backup files reside on this hard drive. I am contemplating purchasing another, larger external hard drive so that I can archive more data--more music and some photos. How do I transfer my data from the first drive to the second one, and is this a risky move? (I have a lot of music!)

    Hello, 
    Take a look at SuperDuper (link). This 'clones' any drive across to another; it should suit your needs just fine.
    Firewire drives with an Oxford chipset are recommended for PowerPC Macs (like the eMac and iBook) as you can boot the Mac from one to recover the system if the internal drive suffers any issues.
    mrtotes

  • Can't transfer data from one external hard drive to another?

    I have just purchased my first Mac book Pro a few weeks ago and i seem to be having alot of trouble transfering data between my to hard drives.
    One is a 500gb and the other is a 1tb both with movies and photos on them, i want to tranfer the last data from the 500gb to the 1tb and format the 500gb.
    I have tried to drag and drop and copy and paste but nothing seems to work? The movies are in avi format too so not sure if that makes a differance or not but that is another issue i would like to sort. How to change the complete hard drive to mp4 or do i do them one by one?
    Any help would be great as i dont want to regret this purchase so early in the piece.
    Thanks to all in advance.

    Yes.

  • Migrating SAP Crystal Data from One BO BI 4 to another and on a different domain

    Thank you for reading this and thank you in advance.
    This is pretty new to me, I have installed Crystal Server several times before but never had to do much with it and the person that looked after it left a year ago.
    So I have been tasked to migrate all the data from our current SAP Crystal BO 4 server to another.
    It gets slightly complicated, the company I used to work for was recently acquired and now they want me to move the BO server across to their data-centre on their domain but keeping all the data intact, more the reports not the historical data. I understand that I might have to change a few things but don't want to recreate all the reports and dependencies. At the same time the IT team will now have to look after the reporting.
    The new company doesn't currently have any reporting system in their environment and thus want to use ours going forward.
    I have read several documents and forums but just can't seem to find a method that will do the trick.
    The new BO 4 server is up and running at the same function level/SP as the current production server.
    So I have tried Promotion Management, I added pretty much everything needed, then managed the dependencies and exported without any errors, on the new server I get an error(in the background) straight up when importing, although it sits and spins around for ages but nothing come from it.
    I looked at using Crystal Reports to save the reports and then import them but after speaking to the person that managed it back in the day she advised me its not just as simple as that, there is a few things that needs to be done to make the report work again.
    I read about coping the input data folder and importing the DB directly but figured that would not have a good outcome in the end.
    Is there anyone that had done something similar, or know how to get it across with the least amount of trouble. Even if it's a bit of work as long as I can get it across, that will be great.
    The last resort will be to learn how the entire system works and at least get the reports across but then fix up all the dependencies, schedules etc.
    Just not sure where to start to be honest.
    Thank you again.
    Marius

    Promotion Management is meant to promote small amount of objects. if you need to do complete migration, you can use command line tool of Promotion management.
    Check this link how to promote.
    How to do Live to Live Migration by LCM_CLI.bat

Maybe you are looking for

  • Managing Test Limits in Test Stand

    Hi, We are new to Test Stand, and want to make sure we are setting up our sequence files and supporting files correctly.  When dealing with test limits or the expected value of measurements etc..., what is the best way to manage the expected values a

  • DBMS_JOB, how to execute a script every day at 06 am

    Hi I want to execute a job every day at 06:00 am. To do this, I have run this script yesterday the 26th. DECLARE X NUMBER; BEGIN SYS.DBMS_JOB.SUBMIT ( job => X ,what => 'begin tools.followup(1); tools.purge (20); end;' ,next_date => to_date('27/05/20

  • Como puedo hacer para que en mi MacBook Pro so se atasquen a menudo los videos

    Decime que programa descargarme o que otra cosa puedo hacer

  • Thanks for help.

    What I hadn't realized was the the presets were for Nik software, and needed to be loaded while Silver Efx Pro 2 was loaded.

  • Sensor Management

    Hello, In Sensor Management TAB there is an option of Update sensor,from this option can we upgrade the sensor image as well as sensor signatures.I have downloaded the image and signatures updates from cisco ,, can i browse and specify the local path