Command line interface to backup database
We have scripted the back up of our mysql jira database to run several times a day using mysqldump. We would like to initiate a structure backup from the same script. This is really the only way we can ensure that the jira database and the structure database can stay in sync in case we need to restore. We cannot use the xml jira backup because we have other databases in our instance that must also be backed up at the same time as jira. Is there a command line interface for the xml backup?
This request seems to be obsolete because, starting with Structure 3, all data is in the main database.
-
Thanks for your suggestion. Unfortunately, there's currently no way to run a backup remotely. One could write a JIRA plugin which would use Structure API to run the backup. If you think your company can do that, check out Developer's docs - https://wiki.almworks.com/x/oYF7 - and StructureBackupManager interface.
I've also created a feature request in our JIRA - feel free to comment/vote: https://jira.almworks.com/browse/HJ-1479