Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to tar bitbucket's home directory?

heihachi88 November 2, 2016

When i try to tar /var/atlassian/application-data/bitbucket, i get 2 errors:

tar: /var/atlassian/application-data/bitbucket/shared/config/ssh-server-keys.pem: Cannot open: Permission denied
tar: /var/atlassian/application-data/bitbucket/shared/bitbucket.properties: Cannot open: Permission denied

How can i backup these 2 files?

1 answer

0 votes
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 2, 2016

Are you running the tar as the user that is running Bitbucket? Or running the tar as sudo?

heihachi88 November 2, 2016

I am running tar with my user which has access to sudo.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events