Show date of restored profile via CLI

On Administration → Profiles I can see the creation date of the config currently loaded on my TRB255, I would like to get this information from CLI (so I can programatically detect if I’m on the current configuration)

Is that possible? I couldn’t find anything related on the wiki (only the GUI menus)

Hello,

You can list, check, change and update profiles using UBUS commands.

ubus -v list profile
ubus call profile list
ubus call profile change '{"name":"YourNewProfile"}'

Kind Regards,

Just a note for the future readers of this post, the time shown in the json file is in unix epoch time, so you need to convert it to human readable formats to use it.
Thanks @AndzejJ for your help

This topic was automatically closed after 15 days. New replies are no longer allowed.