Open jpierre-mm opened 4 years ago
Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!
This is still relevant. Thanks
Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!
After more than two years I see we have an API endpoint to list and download backups, but there is none to trigger the creation of a new backup. It would be really useful to be able to execute backups without having to depend on the internal scheduling.
The internal scheduler does not - afaik - allow to change from the default weekly scheduling, at least not without changing the application code which I'd prefer to avoid since I'm using the official docker images and that change would be lost at every container restart.
The internal scheduler does not - afaik - allow to change from the default weekly scheduling
You can run that directly via cron if you want it to fire at a different interval. https://snipe-it.readme.io/docs/configuring-alerts-backups
Snipe-IT DocumentationStarting from Snipe-IT v3.0, all automated tasks are handled via the scheduler. To set a cron job to run every minute to ping the scheduler:Shell * /path/to/php /path/to/artisan schedule:run >> /dev/null 2>&1 The scheduler already knows how often it should trigger the individual tasks, ...
Expected Behavior (or desired behavior if a feature request)
Would like to trigger and retrieve backups via the REST API to enable automation using the hosted Snipe-IT service.
Actual Behavior
Doesn't appear to be any API for this at the moment
Please confirm you have done the following before posting your bug report:
Provide answers to these questions:
storage/logs
and your webserver's logs.: N/APlease do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.
https://snipe-it.readme.io/docs/getting-help