I downloaded stash-backup-distribution-1.6.0.zip and unziped it.
When i execute:
java -Dstash.password="stashtest" -Dstash.user="admin" -Dstash.baseUrl="http://stash.exmaple.org:7990" -Dstash.home=/var/atlassian/application-data/stash -jar stash-backup-client.jar
it fails with:
014-11-28 20:38:08,503 INFO Initializing
2014-11-28 20:38:10,309 INFO Using Stash 3.5.0
2014-11-28 20:38:10,368 INFO Contacting Stash
2014-11-28 20:38:10,433 ERROR A backup could not be created. Reason: The configured STASH_HOME, /var/atlassian/application-data/stash, does not appear to be a valid home directory. Creating a backup requires direct access to the home directory for the running instance to allow it to interact with the repositories.
com.atlassian.stash.internal.backup.client.BackupException: The configured STASH_HOME, /var/atlassian/application-data/stash, does not appear to be a valid home directory. Creating a backup requires direct access to the home directory for the running instance to allow it to interact with the repositories.
at com.atlassian.stash.internal.backup.client.layout.DefaultStashHome.verify(DefaultStashHome.groovy:71) ~[stash-backup-core-1.6.0.jar:na]
at com.atlassian.stash.internal.backup.client.DefaultBackupClient.backup(DefaultBackupClient.groovy:44) ~[stash-backup-client.jar:1.6.0]
... 5 more frames available in the log file
When I execute the backup client on the Stash instance is works.
Regards
Clifford