Restore from a backup file created with the new_backup function.
Before using this function the following list of requirements must be must be fulfilled:
FULLprivileges on the
stored_event_idfor all nodes. This is not a requirement when using a single node.
After running this function, all existing users and tokens will be overwritten, including the user performing the restore unless the
take_access argument will be set to
true. In both cases it is required to re-authenticate to ThingsDB after the restore is completed.
This function generates an event.
||str||Tar file containing the backup, usually a file ending with
nil when successful.
Restore from a backup file
Return value in JSON format