Were currently running Stash 3.11.2 on Windows Server 2012 DB on MS SQL Server 2012 and want to
migrate to Bitbucket Server 4.10 on Linux with Postgress SQL as DB.
What is the recommended migration path for this?
Straight forward I'd think:
Setting up an empty instance Bitbucket Server 4.10 on Linux
Shutting down the Windows Instance.
Copying the content of the Home directory to the Home directory of the new instance
Starting up the Windows Instance.
Running the DB Migration Wizard to move the contents of MS SQL to Postgress SQL
Shutting down the Windows Instance
Starting Up the Linux Instance.
Or must we have 3.11.2 also on Linux to do that?
How can we prevent users pushing to the Windows Instance while the Migration Wizard is working?
Thanks for your advice
We have now tried the move from Stash 3.11.2 to Bitbucket Server 4.10
For Backup we used client 1.9.1 on Windows and for Restore we used client 3.3.0
The restore attempt returns following error message:
[gitadmin@daegit01: ~/bitbucket-backup-client-3.3.0]$ java -jar bitbucket-restore-client.jar /home/gitadmin/stash/stash-20161103-131215-037.tar
2016-11-03 13:54:42,455 INFO Initializing
2016-11-03 13:54:43,386 INFO Unpacking stash-20161103-131215-037.tar to /opt/atlassian/application-data/bitbucket
2016-11-03 13:54:43,708 ERROR stash-20161103-131215-037.tar could not be restored
com.atlassian.bitbucket.internal.backup.client.RestoreException: This version of the Restore Client may not be able to restore backups created by your version of Stash due to the following critical issue(s):
BSERV-8280: Restored database tables may be generated with an incorrect column type.
All versions prior to 4.0.0 are affected by this issue. See http://jira.atlassian.com/browse/BSERV-8280 for more details.
Please switch to a version compatible with Stash 3.11.2
at com.atlassian.bitbucket.internal.backup.client.DefaultBlacklistService.validateRestore(DefaultBlacklistService.groovy:59) ~[bitbucket-backup-core-3.3.0.jar:3.3.0]
at com.atlassian.bitbucket.internal.backup.client.DefaultRestoreClient.restore(DefaultRestoreClient.groovy:75) ~[bitbucket-restore-client.jar:3.3.0]
... 4 more frames available in the log file
What should we do now?
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot