Try using this plugin - Export Manager for JIRA. It should allow you to download the backup without connecting to the host.
You've not described your setup, so we really can't tell you much. All we can do is give you the principles - you need to get a copy of the database, and you need a copy of the attachments.
With zero useful information about your setup, that's it, nothing else I can say might be useful.
I have installed JIRA on linux machine (JIRA Download). I had a ssh access to the machine to this is how i installed it. But recently I couldn't access it by ssh. So i am looking for some way that can save the issues.
If there is not, maybe an option to export the issues to xml and import from xml?
Nope. You can run a full export, but it's going to end up on the file system on the machine you can no longer log into.
You really need to get access back on that machine, sorry.
See how to use Jira on the go! Demo Den Episode 5 is here: meet Jira Mobile with Jira Product Manager Rayen Magpantay. Demo Den is in our monthly series where a Jira PM demonstrates...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events