i am restoring the backup into a directory on a server say X, while i have backed up the bitbucket on the different server on which the bitbucket server instance is running and i am restoring backup into a newly created DB, so,
where do i need to install client do i need to install client on the server on which the backup was created(my backup file is on another server i.e. tar file ) or on the server X on which i am restoring?.
As my bitbucket.tar file is on another server so while restoring into the directory which is on the server X do i firstly need to map the directory so that the client can find and access the tar file?
As mention in the Documents for the backup and restoring bitbucket, we need to Unzip the client into a directory on the server where your Bitbucket Server instance resides so now where do i need to install the client on server X if required as asked in first question.
for backup
bitbucket.home=D:/ApplicationData/STASH
bitbucket.user=admin
bitbucket.password=XYZ
bitbucket.baseUrl=http://W.X.Y.Z:7990/bitbucket
backup.home=D:/bkup
command i am executing for restoring on the same server on which backup file is stored i.e. tar file
java -Djdbc.override=true
-Djdbc.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
-Djdbc.url=sqlserver://LMNOPQRST:1433;databaseName=backup_bitbucket;
-Djdbc.user=stashadmin
-Djdbc.password=stashadmin
-Dbitbucket.home="\\A.B.C.D\\Bit_Bucket"
-jar bitbucket-restore-client.jar
\\bkup\\backups\\bitbucket-33945619-018695-183.tar
error i am getting
java.io.FileNotFoundException: \\A.B.C.D\Bit_Bucket\shared\bitbucket.properties (Access is denied)