Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] save mosquitto.db for running instance if persistance if false

Hi John,

If you're using a config file already, then changing the config file
to include "persistence true" and sending a signal SIGUSR1 should do
the job.

If you're not using a config file then your only hope is to modify
db->config->persistence to be non-zero using a debugger. I've not
tried it, but it should work - although you'd need debug symbols.

Cheers,

Roger



On Sat, Apr 30, 2016 at 4:47 PM, John Harrison <john@xxxxxxxxxxx> wrote:
> Is there any way to save the mosquitto.db configuration for a running
> instance of mosquitto where persistence was set to false?
>
>
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev


Back to the top