I have used backup client to take backup of my stash data and used the backup to restore onto another server. Im getting the below error, please help.
bash $ java -Dstash.home=/db/stash_home -jar stash-restore-client.jar /devops/stage/stah
2014-05-30 07:12:35,207 INFO Initializing
2014-05-30 07:12:36,141 INFO Unpacking stash-20140530-053836-815.tar to /db/stash_home
2014-05-30 07:21:12,281 INFO Validating database before restore
2014-05-30 07:21:13,428 INFO Examining structure of source database
2014-05-30 07:21:14,932 ERROR stash-20140530-053836-815.tar could not be restored. Reason: The target database contains tables whose.
com.atlassian.stash.internal.backup.client.RestoreException: The target database contains tables whose names collide with Stash's tables. P.
at com.atlassian.stash.internal.backup.client.DefaultRestoreClient.validateDataSource(DefaultRestoreClient.groovy:247) ~[stash-rest]
at com.atlassian.stash.internal.backup.client.DefaultRestoreClient.withDataSource(DefaultRestoreClient.groovy:254) ~[stash-restore-]
... 5 more frames available in the log file
This error happens because the restore expects an empty database with a minimum config in order to be successfull. Please refer to the document below for a detailed description on the process:
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