anchor.diff:  	    0 -> rocksdb:restore_db(FromPath, DbPath, DbPath);
   	    _ -> rocksdb:restore_db(FromPath, DbPath, DbPath, BackupId)
   	end,
  -    IntOptionsPL = lists:keyreplace(error_if_exists, 1, OptionsPL,
  -				    {error_if_exists, false}),
  -    NewOptionsPL = lists:keyreplace(create_if_missing, 1, IntOptionsPL,
  -				    {create_if_missing, false}),
  +    IntOptionsPL = lists:keyreplace("error_if_exists", 1, OptionsPL,
  +				    {"error_if_exists", "false"}),
  +    NewOptionsPL = lists:keyreplace("create_if_missing", 1, IntOptionsPL,
  +				    {"create_if_missing", "false"}),
       {ok, NewOptions, ColumnFamiliyOpts} =
   	do_make_options(Name, [{"ttl", TTL} | NewOptionsPL]),
       {ok, NewDB} = open_db(NewOptions, DbPath, ColumnFamiliyOpts),
  
positive.code:     %% use the options including {create_if_missing, false}
      %% and {error_if_exists, false}
  
      IntOptionsPL = lists:keyreplace(error_if_exists, 1, OptionsPL,
  				    {error_if_exists, true}),
      NewOptionsPL = lists:keyreplace(create_if_missing, 1, IntOptionsPL,
  				    {create_if_missing, true}),
      {ok, NewOptions, ColumnFamiliyOpts} =
  	do_make_options(Name, [{"ttl", TTL} | NewOptionsPL]),
      {ok, NewDB} = open_db(NewOptions, DbPath, ColumnFamiliyOpts),
  
negative.code: 	    0 -> rocksdb:restore_db(FromPath, DbPath, DbPath);
  	    _ -> rocksdb:restore_db(FromPath, DbPath, DbPath, BackupId)
  	end,
      IntOptionsPL = lists:keyreplace("error_if_exists", 1, OptionsPL,
  				    {"error_if_exists", "false"}),
      NewOptionsPL = lists:keyreplace("create_if_missing", 1, IntOptionsPL,
  				    {"create_if_missing", "false"}),
      {ok, NewOptions, ColumnFamiliyOpts} =
  	do_make_options(Name, [{"ttl", TTL} | NewOptionsPL]),
      {ok, NewDB} = open_db(NewOptions, DbPath, ColumnFamiliyOpts),
  