Hi @cohult,
Is there an equivalent CDB function available for “confd --cdb-backup”, if i need to take the backup via code instead of a command.
Thanks,
Bani
Hi @cohult,
Is there an equivalent CDB function available for “confd --cdb-backup”, if i need to take the backup via code instead of a command.
Thanks,
Bani
Hi,
You will have to call the confd --cdb-backup
command from your code. But if your code successfully take a global lock, e.g. using maapi_lock()
, it can safely just copy the confd-cdb (CDB file) directory A.cdb nor C.cdb files as a backup of the configuration and schema.