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.
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.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.