Backup triggered by cron / shell
I want to trigger a database backup from shell. In the documentation https://confluence.jetbrains.com/display/YTD65/Backing+Up+Database a link to the "cron expression syntax" is present, but it links to an error page.
Is there a possibility to do that?
Please sign in to leave a comment.
Hello Michael, sorry for the confusion, the right link is http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger.html
Thank you for reaching out! Please let us know if you have further questions.
Thank you for your reply. The cron-syntax is familiar to me but what I was wondering is, which YouTrack script I have to call to be able to trigger a backup of the YouTrack database by command line or OS crontab (Linux)?
Hello Michael,
I'm afraid YouTrack doesn't offer any CLI interface to backup the database.
The closest thing I can come up with is a custom shell script, which connects to YouTrack via REST and mimics requests from the browser page.
I will be interrested by this :)