We are currently have Bitbucket server 4.13.0 version on Windows 2008 server. We plan to install latest version 5.13 on Windows 2016 server.
The approach is to install 5.13 on Windows 2016 server and create new empty SQL database while installation. For testing the new version, I plan tcopy the home directories from old server to new server and restore the new SQL database from production SQL database backup. Do you see any issue with this approach for testing?.
Once testing is successful, I'm thinking about below two approaches to go live for new version on new server.
Could you please advise one which one is best approach and the pro's and con's about these two.
Approach 1:
- Stop the Bitbucket instance on old and new servers
- Sync the home directory data between old and new servers
- Restore the new database from current production database backup
- Start the Bitbucket instance on new server
- Test the application
Approach 2:
- Stop the Bitbucket instance on old server and new server
- Update the bitbbucket.properties on new server to use current production database name and database server
- Sync the home directory data between old and new server
- Start the Bitbucket instance on new server
- Test the application