![]() See Set the home directory for more information. above, in the new, using the new location for your copied home directory. Redefine the value for BITBUCKET_HOME, mentioned in Step 2.Install the same version of Bitbucket Data Center from scratch on the new machine.Make an archive of the old installation directory and copy it across to the new machine.Set up an instance of Bitbucket Data Center in the new location by doing one of the following:.When moving the home directory from Windows to Linux or Mac, make sure that the files within /git-hooks and /shared/data/repositories//hooks directories have the executable file permission set.The home directory contains data directories (including the Git repositories), log files, installed plugins, SSH fingerprints, temporary files and caches.Ĭopy the archive of the Bitbucket home directory to the new machine and unzip it to its new location there.įor production environments the home directory should be secured against unauthorized access. Make an archive (such as a zip file) of the Bitbucket home directory.This section describes moving the Bitbucket Data Center installation to a different machine. Move Bitbucket Data Center to a different machine You will also need to update the bitbucket.properties file in the as described below.ģ. Please refer to the vendor documentation for your DBMS for detailed information. If the new location is not currently visible to Bitbucket Data Center (perhaps because you are moving to a new hosting provider), you need to perform a database export and then import the backup to the new DBMS.Please refer to Connect Bitbucket to an external database, and the relevant child page, for more information. If the new location is currently visible to Bitbucket Data Center, use the Bitbucket Database Migration Wizard.Create and configure the DBMS in the new location.Atlassian recommends that for large installations, Bitbucket Data Center and the DBMS run on separate machines. from one DBMS to another supported DBMS (for example, from MySQL to PostgreSQL).from the embedded database to a supported external DBMS.The data includes the data directories (including the Git repositories), log files, installed plugins, temporary files and caches. The Bitbucket Data Center data is moved when you move the Bitbucket Data Center installation. You do not need to do anything in this section if you will continue to use the embedded database. This section gives a brief overview of how to move the Bitbucket Data Center data to a different machine. Make sure you have created a user in Bitbucket Data Center (not in your external user directory) that has System Administrator global permissions so as to avoid being locked out of Bitbucket Data Center in case the new server does not have access to your external user directory.Ģ. Move the Bitbucket Data Center data to a different machine.You can do this by temporarily changing the access permissions for Bitbucket Data Center. Ensure that users will not be able to update existing Bitbucket Data Center data during the migration.Alert users to the forthcoming Bitbucket Data Center service outage.Check for any known migration issues in the Knowledge Base.Confirm that the operating system, database, other applicable platforms and hardware on the new machine will comply with the requirements for Bitbucket Data Center.In preparation for migrating Bitbucket Data Center to another server, check that you have done the following: Secure Bitbucket configuration properties.Automatically decline inactive pull requests.Setting a system-wide default branch name.Use a CDN with Atlassian Data Center applications.Improving instance stability with rate limiting.Configuring Project links across Applications.Adding additional storage for your repository data.Enabling JMX counters for performance monitoring.Export and import projects and repositories.Disable HTTP(S) access to Git repositories.Migrate Bitbucket Server from Windows to Linux.Migrating Bitbucket Data Center to another server.Connect Bitbucket to an external database.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |