You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The script will then dump the databases to the `out` folder, and continue to run every 5 minutes because of the cron option.
65
+
66
+
## API
67
+
68
+
> This feature requires the `httpServer` option to be enabled in the config file
69
+
70
+
The script can also start an http server and trigger jobs via an api. This is useful if you want to trigger a job elsewhere, like from another backup service.
71
+
72
+
To trigger a job, send a GET request to `http://localhost:3333/api/v1/queueJob?jobName=JOB_NAME`.
The server will respond with a 200 status code **after** the job has finished running. Currently, there is no way to check if the job has failed or not.
0 commit comments