Moving A Confluence Database

Has anyone moved a Confluence Database before?
I need to move it as the Server it is currently sitting on is predominantly a development ant test platform.
Both SQL Server instances are the same version and both instances are on clustered enviornments hosted by the same nodes.
Thanks
Please click "Mark As Answer" if my post helped. Tony C.

Please check the below link:
https://confluence.atlassian.com/display/DOC/Migrating+Confluence+Between+Servers
Method one – standard procedure
Step 1: Take note of your add-ons
Take note of the add-ons (plugins) currently installed and enabled in Confluence, so that you can reinstate them later. Make a note of the following for each add-on:
Add-on name
Version
Enabled or disabled status. This is useful if you have enabled or disabled modules yourself, making your configuration differ from the default.
Step 2: Back up your data
Create an XML backup of your existing data, via the Confluence administration console. See Manually Backing Up the Site. Make a note of the location
where you put the XML file. You will need it later to import your Confluence data into your new database.
Shut down Confluence.
Make a copy of the
Confluence Home and other important directories. This is a precautionary measure, to ensure you can recover your data if it is mistakenly overwritten.
If you are using an external database, make a separate backup using the utilities that were installed with that database. This also is a precautionary measure.
Step 3: Set up the new database
Choose the
database setup instructions for your new database, and follow those instructions to do the following:
Install the database server.
Perform any required configuration of the database server, as instructed.
Add the Confluence database and user. Make a note of the username and password that you define in this step. You will need them later, when running the Confluence Setup Wizard.
Step 4. Install Confluence (same version number) in a new location
Now you will install Confluence again, with a different home directory path and installation path.
Note: You must use the same version of Confluence as the existing installation. (If you want to upgrade Confluence, you must do it as a separate step.) For example, if your current site is running Confluence 5.1.2, your new installation
must also be Confluence 5.1.2.
When running the
Confluence installer:
Choose Custom Install. (Do not choose to upgrade your existing installation.)
Choose a new destination directory. This is the installation directory for your new Confluence. It must not be the same as the existing Confluence installation.
Choose a new home directory. This is the data directory for your new Confluence. It must not be the same as the existing Confluence installation.
Step 5. Download and install the database driver if necessary
Note that Confluence bundles some database drivers, but you'll need to install the driver yourself if it is not bundled. Follow the
database setup instructions for your new database, to download and install the database driver if necessary.
Step 6. Run the Confluence setup wizard and copy your data to your new database
When running the
Confluence setup wizard:
Enter your license key, as usual.
Choose Production Installation as the installation type.
In the database configuration step, choose your new database type from the dropdown menu, then choose
External Database.
Choose the connection type: Direct JDBC or Datasource. If you are not sure which, choose 'Direct JDBC'. This is the most common connection type.
When prompted for the database user and password, supply the credentials you defined earlier when adding the Confluence database to your database server.
On the load content step, choose Restore From Backup. This is where you will import the data from your XML backup. There are two options for accessing the XML file:
Browse to the location of your XML backup on your network, and choose
Upload and Restore.
Alternatively, put the XML file in the Confluence home directory of the new site (<CONFLUENCE-HOME-DIRECTORY>\restore) then choose
Restore.
Note: If you choose not to restore during the Confluence setup wizard, you can do the import later. Go to the Confluence administration console and choose to restore an XML backup. See
Site Backup and Restore.
Step 7. Re-install your add-ons
Re-install any add-ons (plugins) that are not bundled with Confluence.
Use the same version of the add-on as on your old Confluence site.
The data created by the add-ons will already exist in your new Confluence site, because it is included in the XML backup.
Step 8. Check settings for new machine
If you are moving Confluence to a different machine, you need to check the following settings:
Configure your new base URL. See
Configuring the Server Base URL.
Check your application links. See
Linking to Another Application.
Update any gadget subscriptions from external sites pointing to this Confluence site. For example, if your JIRA site subscribes to Confluence gadgets, you will need to update your JIRA site. See
Adding JIRA Gadgets to a Confluence Page.
Review any other resources that other systems are consuming from Confluence.
Method two – for installations with a large volume of attachments
Before you start
Before proceeding with these instructions please check the following.
Your existing installation must be Confluence 2.2 or later.
Your attachments must be stored in the file system, not in your database. (To migrate between attachment storage systems, see
Attachment Storage Configuration.)
The instructions below will only work if both of the above are true.
Step 1: Take note of your add-ons
Take note of the add-ons (plugins) currently installed and enabled in Confluence, so that you can reinstate them later. Make a note of the following for each add-on:
Add-on name
Version
Enabled or disabled status. This is useful if you have enabled or disabled modules yourself, making your configuration differ from the default.
Step 2: Back up your data
Create an XML backup of your existing data, via the Confluence administration console. See Manually Backing Up the Site. Make a note of the location
where you put the XML file. You will need it later to import your Confluence data into your new database.
Shut down Confluence.
Make a copy of the attachments directory (<CONFLUENCE-HOME-DIRECTORY>\attachments) in your Confluence Home directory. You will need it later to copy your Confluence attachments data into your new Confluence installation.
If you are using an external database, make a separate backup using the utilities that were installed with that database. This also is a precautionary measure.
Step 3: Set up the new database
Choose the
database setup instructions for your new database, and follow those instructions to do the following:
Install the database server.
Perform any required configuration of the database server, as instructed.
Add the Confluence database and user. Make a note of the username and password that you define in this step. You will need them later, when running the Confluence Setup Wizard.
Step 4. Install Confluence (same version number) in a new location
Now you will install Confluence again, with a different home directory path and installation path.
Note: You must use the same version of Confluence as the existing installation. (If you want to upgrade Confluence, you must do it as a separate step.) For example, if your current site is running Confluence 5.1.2, your new installation
must also be Confluence 5.1.2.
When running the
Confluence installer:
Choose Custom Install. (Do not choose to upgrade your existing installation.)
Choose a new destination directory. This is the installation directory for your new Confluence. It must not be the same as the existing Confluence installation.
Choose a new home directory. This is the data directory for your new Confluence. It must not be the same as the existing Confluence installation.
Step 5. Download and install the database driver if necessary
Note that Confluence bundles some database drivers, but you'll need to install the driver yourself if it is not bundled. Follow the
database setup instructions for your new database, to download and install the database driver if necessary.
Step 6. Run the Confluence setup wizard and copy your data to your new database
When running the
Confluence setup wizard:
Enter your license key, as usual.
Choose Production Installation as the installation type.
In the database configuration step, choose your new database type from the dropdown menu, then choose
External Database.
Choose the connection type: Direct JDBC or Datasource. If you are not sure which, choose 'Direct JDBC'. This is the most common connection type.
When prompted for the database user and password, supply the credentials you defined earlier when adding the Confluence database to your database server.
On the load content step, choose Restore From Backup. This is where you will import the data from your XML backup. There are two options for accessing the XML file:
Browse to the location of your XML backup on your network, and choose
Upload and Restore.
Alternatively, put the XML file in the Confluence home directory of the new site (<CONFLUENCE-HOME-DIRECTORY>\restore) then choose
Restore.
Note: If you choose not to restore during the Confluence setup wizard, you can do the import later. Go to the Confluence administration console and choose to restore an XML backup. See
Site Backup and Restore.
Step 7: Copy your attachments across
Copy the contents of the attachments directory (<CONFLUENCE-HOME-DIRECTORY>\attachments) from your old Confluence Home directory to your new Confluence Home directory.
Step 8. Re-install your add-ons
Re-install any add-ons (plugins) that are not bundled with Confluence.
Use the same version of the add-on as on your old Confluence site.
The data created by the add-ons will already exist in your new Confluence site, because it is included in the XML backup.
Step 9. Check settings for new machine
If you are moving Confluence to a different machine, you need to check the following settings:
Configure your new base URL. See
Configuring the Server Base URL.
Check your application links. See
Linking to Another Application.
Update any gadget subscriptions from external sites pointing to this Confluence site. For example, if your JIRA site subscribes to Confluence gadgets, you will need to update your JIRA site. See
Adding JIRA Gadgets to a Confluence Page.
Review any other resources that other systems are consuming from Confluence.
Regards, Pradyothana DP. Please Mark This As Answer if it solved your issue. Please Mark This As Helpful if it helps to solve your issue. ========================================================== http://www.dbainhouse.blogspot.in/

Similar Messages

  • Moving the zcm database from RC2 to General Release.

    Is there any documentation that outlines moving a zcm database from RCX to the General Release?
    Thanks,
    Patrick

    Gray,
    not supported - do not even try it for fun...
    Shaun Pond

  • Confluence database

    Hi,
    How to work on the confluence database source?
    Thanks!

    Yes. How can i knows how many tables and table name to stores this information?
    Thanks!

  • Moving Configuration Manager Database to a Different Drive

    Hello,
    Is there a way to move the Configuration Manager database to a different drive in the same machine?  We are using Configuration Manager SP1 and SQL Server 2008 R2.  We are running out of disk space in drive C:  Please advise what would be
    the possible solution for this.  Thanks so much.
    Regards,
    Joann

    Yes, follow the SQL Server documentation for moving database files.
    http://technet.microsoft.com/en-us/library/ms345483.aspx
    In general, I have an easier time when I have stopped the ConfigMgr services and the IIS websites first.
    Usually, then I will run the "Relocation for Scheduled Disk Maintenance" procedure.
    Regards,
    Nash
    Nash Pherson, Senior Systems Consultant
    Now Micro -
    My Blog Posts
    If you've found a bug or want the product worked differently,
    share your feedback.
    <-- If this post was helpful, please click "Vote as Helpful".

  • Can anyone give me the steps for moving the repository databases in 9.3.0?

    We are in the 9.3.0 environment and I need to move the four repository databases for essbase, biplus and webanalysis/workspace to a new machine. I tested moving the databases and rerunning the config util, but I lost my sample reports I created earlier. Does anyone have a step by step procedure for moving the repositories?
    Thanks,
    -C.

    If you are moving reports why don't you bulk export them from workspace and then import them into your target.
    Are you talking about migrating the repository across different shared services environments, if so then I doubt you will have much luck with trying to migrate the workspace repository as it pretty tied in with shared services.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Moving Service Manager Database From SQL 2008 R2 SP2 to SQL 2012 SP1

    Hi Guys,
    Just looking for some clarification about moving our Service Manager 2012 R2 database to a new SQL Server.
    Our Service Manager database is currently on a remote SQL server, shared with other databases, running SQL 2008 R2 SP2. It was originally setup this way as we only deployed Change Management but we are now wanting to deploy everything, fully
    utilising SCSM/Orchestrator and Cireson's suite. Due to the limited resources available on that SQL server we are seeing performance issues before even getting it all up and running.
    I want to move the Service Manager database to a new dedicated SQL server running SQL 2012 SP1. I am aware of the official DB move procedure but it does not specifically mention moving up SQL versions. I have seen some comments around here that
    it is fine to do but some feedback would be good, it is not something I have done before. 
    All servers in this are fully patched Windows 2008 R2. Also, we do not currently have a Data Warehouse so do not need to worry about that. It was dropped and uninstalled before upgrading to Service Manager 2012 R2 and will be reinstalled after this DB move
    using a separate dedicated SQL server.
    Thanks, Chris.

    As long as your collations and permissions are the same as before it
    should not be a problem. That sad i could not find any other documentation saying it's not supported. 
    I have moved SCSM databases between different SQL-versions before and it has worked fine if the collations etc are correct. 
    Cheers,
    Thomas Strömberg
    System Center Specialist
    Blog:  
    Twitter:   LinkedIn:
    Please remember to 'Propose as answer' if you find a reply helpful

  • Moving oracle 8i database to another machine

    An oracle 8i database needs to be moved from an old machine to a new one. Will running the server setup on the new machine and then overwritng the new oradata folder with the old one suffice. or will i have to copy the admin and ora81 folders also ?

    This can function for you if both OS are equal:
    Duplicating a Database
    TIP 04: Duplicating a Database in 10g by Joel Pèrez
    Joel Pérez
    http://www.oracle.com/technology/experts

  • Interesting 'problem' after moving the WSUS database

    Firstly I have checked the suggested topics but none of them exactly describe the problem I have encountered.  
    (this link just gives a 'post not found page:  http://blogs.technet.com/b/sbs/archive/2009/09/23/how-to-move-sdfssdfdf-content-and-database-files-to-a-different-partition.aspx)
    Okay, I have a SBS2011 server running on an HP Proliant server.  The server has been dunning flawlessly for the last 2+ years. At deployment the WSUS content was initially located on the D drive. Free space on the C drive has dropped to 16GB and
    as a precaution I decided to move the WSUS DB to the D drive too.  I stopped the necessary  ISS Admin, Update and WWW services and proceeded, using  the SQL server management studio, to detach the DB, I moved (copy & paste) the DB to the
    new disk and attached it the the SQL SMS.  Nothing seemed to go wrong there, however, when opening the SBS console I am missing half of my information.  The face that the necessary icons are there leads me to believe that the service is functioning
    but just missing the computer info. If I click on a computer icon I can see the correct computer name. 
    Is there any way to fix this without deleting and reinstalling the entire WSUS service? 
    Thank you in advance for your time! 
    Please see the screenshot below 

    Hi,
    à
    (this link just gives a 'post not found page:http://blogs.technet.com/b/sbs/archive/2009/09/23/how-to-move-sdfssdfdf-content-and-database-files-to-a-different-partition.aspx)
    Please refer to following article and check if you have moved WSUS Content and Databases correctly.
    How
    to Move WSUS Content and Database Files to a Different Volume
    Meanwhile, please run
    SBS BPA and fix relevant issues that BPA tool can find. Then monitor the result.
    If this issue still exists, you may consider that repair Windows Server Update Services. Please refer to following
    TechNet article.
    Repair Windows Server Update Services
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Moving Access Services database

    I'm sure this must be simple... but I'm having trouble finding any references to it.
    Once I have synced an Access Web Database with SharePoint 2010 Access Services, how can I remove it from that SharePoint implementation and attach it to another SharePoint? I've tried making this happen from both SharePoint and Access, but there appears
    to be no 'detach' option from either end.
    Anyone have any ideas?
    Thanks
    Jim

    Hello Jim Henderson NZ,
    Thanks for your question. I think your question might get a better answered in the SharePoint 2010 - Setup, Upgrade, Administration and Operation forum. Let me make sure I understand your question correctly.
    You're inquiring about moving your service application you created in central admin that ties all your Access content together? Based on this documentation it does not seem possible.
    http://technet.microsoft.com/en-us/library/ff621100.aspx
    The listed service applications that can be published are:
    Business Data Connectivity, Managed Metadata, User Profile, Search, Secure Store, Web Analytics.
    If I'm understanding your question correctly I can move you to that forum. Otherwise, please give me a bit more information so I can further assist you.
    Regards,
    Dalibor K Microsoft
    Online Community Support

  • Moving a mySQL database

    Hi,
    after a mySQL database is created and filled with data, can it be moved to a different machine? E.g., from 1 PC to another. Is it something like a big file that can be saved to a disk or ftp'ed?
    P.S. Regardless of the answer, does the same apply to any other kind of DB, such as Oracle, etc?
    Thank you so much in advance,
    Reshat.

    COPY FULL DATABASE:
    Oracle:
    if you want to move complete database on another server's empty database, take a backup and restore it on another server.
    SQL Server:
    Thse same works for SQLServer.
    MOVE PART OF THE DATA:
    Orcale:
    Export into a flat file and load on the the other database.
    SqlServer:
    Use DTS Wizard.

  • Moving Chargeback Server Database

    I'm trying to move our Chargeback 2.5 server in stages and I'm having problems on my first stage; moving the chargeback DB.
    The DB was copied to the new database server successfully, and I updated the four xml files with the new database server name.
    Under the System Health tab of the web GUI I'm even seeing the newly updated DB server name under General Info>vCenter Chargeback Database.
    However, when I try running the Chargeback 2.6 install to upgrade the DB connection test shows the old database server name and it is grayed out.
    I've restarted the server after making the xml file changes, but still the same thing happens.
    Any suggestions?
    Thanks

    Hi,
    Installer seems to be using the address for DB server taken from the following file which were created during the original installation.
    \.....VMware vCenter Chargeback\Uninstall_VMware vCenter Chargeback\installvariables
    When you look inside the file, you can see the following 3 parameters pointing to the old DB server's address.
    DB_HOST=
    dbHostPort=
    dbUrl=
    Change the address to the new DB server and go through the upgrade.  Now the DB server's address in "Database Configuration" section of the installation wizard should be pointing to the new DB server.
    Regards,
    Richard

  • Moving SCOM OperationsManager Database

    As I am moving the Operations Manager database out of the enterprise cluster to a standalone server what is the best practices...
    - Should I move it to the default instance?
    - Should I create a specific instance?
    ANy recommandations?
    Thanks,
    Dom
    System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity Manager

    Although SCOM DB can supports named instance, I usually use default instance for holding SCOM DB except there are some DB or DB applications run on default instance and you want to
    1)  complete separate systems administrator accounts for SCOM DB and other DB
    2) SCOM DB run on separate process and a separate service
    Steps for moving operational Database, pls. refer
    http://technet.microsoft.com/en-us/library/hh278848.aspx
    Roger

  • Moving the Inventory Database

    Does anybody know what the steps are in moving a database to a different volume?
    We are running Zenworks 6.5 sp3 on a netware 6.5 sp3 server. I want to move the database to a different volume on the same server because of space limitations on the current volume. I don't want to lose the current db and create a new one.
    Any help would be appreciated.
    Thanks.

    John,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Will moving an Exchange database cause users to have to restart Outlook?

    Hello all,
    I am running Exchange Server 2007. I will be using the "Move Database Path" command through the Management Console to move the database from one partition to another. The users are mostly running Outlook 2007, but some users are running Outlook
    2010.
    My question is, will users have to restart their Outlook clients after the database is moved?
    Thanks.

    Though a defragmented database is appealing, I believe I will just stick with moving the database itself since it is relatively small. From Jim's answer, it sounds like after the database move that Outlook clients will automatically re-connect without having
    to be closed and re-opened.
    Thanks for the help!
    OK, it's up to you, but pay attention - during database moving, all users will be disconnected for a long time, depends on Database size. When you move one or more mailboxes disconnecting occurs only during switching to another mailbox database and for a few
    seconds.

  • Moving Oracle 9i database from AIX server to Sun Solaris 9 server

    I want to move my oracle 9i database residing on AIX server to Sun Solaris 9 server.
    The database residing on AIX server has the following features :-
    1. It is a production database.
    2. Running in NOARCHIVE LOG Mode.
    3. It was Live for few weeks, hence transactions are stored on it.
    4. It has one schema,around 700 tables & 129 views.....etc
    5. Huge downtime is affordable.
    What is the safest way to do so ??
    Yachendra

    Hi Yachendra,
    1. It is a production database.
    2. Running in NOARCHIVE LOG Mode.By the way do you have any idea that PRODUCTION databases are always kept in ARCHIVE LOG Mode. It's is highly advice able.
    3. It was Live for few weeks, hence transactions are stored on it.If you are really serious about your data and don't want to lose anything and wants to perform CROSS PLATFORM you must make sure that you have all your achive logs.
    my oracle 9i database residing on AIX serverYou have already got the solution regarding that. Maran has told you for EXPORT/ IMPORT and Burleson has given you enough documents to consult.
    Thanks
    Shivank

Maybe you are looking for