Skip to main content

obj_backup_to

Function obj_backup_to 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn obj_backup_to( db: *mut obj_db_t, dest: *const c_char, ) -> obj_error_t
Expand description

Take a hot backup of db to dest. The destination MUST NOT already exist.

ยงSafety

  • db must be a live db handle.
  • dest must be a NUL-terminated UTF-8 C string.