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:
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs