Extract tasks status from db ?

Samuel Mutel

Dabbler
Joined
Feb 21, 2020
Messages
21
Hello,

Is-it possible to get the status of rsync / replication tasks from sqlite database ?

Thanks.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
If it's displayed in the GUI (status column), you can probably get it with the API (which would be the supported way to get to it rather than direct database access).

Go to:

http://your.truenas.ip/api/docs and look for rsynctask.query. I expect you would find the status in one of the properties items that should return from that call.
 
Top