Copy Jira Datacenter Directories To New Node On Ubuntu

Paul Tiseo
Contributor
January 27, 2019

What is the best way to copy the two Jira directories between two Ubuntu nodes? I've been dabbling with rcp and rsync, but keep hitting permission issues, and the jira login isn't one that can be used to log in from one machine to a remote node.

1 answer

1 accepted

0 votes
Answer accepted
Kiran Panduga {Appfire}
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 27, 2019

Hi @Paul Tiseo

 

The best option is to use the *rsync* command to copy the directories from one node to another.

Before copying, make sure that the directory level permissions are granted to the shell user on both nodes.

If you are still running issues, share the screenshots and also the rsync command use to copy directories from one node to another.

Thanks,

Kiran. 

Paul Tiseo
Contributor
January 28, 2019

So, given this is a standard Ubuntu 18.04 install, root is disabled. Are you saying I need to chown the two directories to a valid username, rsync it (rsync -a /opt/atlassian/jira/ <username>@<new node>:/opt/atlassian/jira/), then chown it back to jira on both systems?

Kiran Panduga {Appfire}
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 28, 2019

Hi @Paul Tiseo

Yeah, that works.

Additionally, If on both nodes directory ownership is jira user, then you can perform the rsync with jira user from one node to another without chown.

Thanks,

Kiran.

Suggest an answer

Log in or Sign up to answer