docs: def backend_config_to_configparser(config):
      """
      Return a ConfigParser instance representing a given backend config dictionary.
  
      Args:
          config (dict): Dictionary of config key/value pairs.
  
      Returns:
          SafeConfigParser: SafeConfigParser instance representing config.
  
      Note:
          We do not provide *any* validation about mandatory values what so ever.
      """
      def get_store():
          return config.get('store')
  
      def get_day_start():
          day_start = config.get('day_start')
          if day_start:
              day_start = day_start.strftime('%H:%M:%S')
          return day_start
  
      def get_fact_min_delta():
          return text_type(config.get('fact_min_delta'))
  
      def get_tmpfile_path():
          return text_type(config.get('tmpfile_path'))
  
      def get_db_engine():
          return text_type(config.get('db_engine'))
  
      def get_db_path():
          return text_type(config.get('db_path'))
  
      def get_db_host():
          return text_type(config.get('db_host'))
  
      def get_db_port():
          return text_type(config.get('db_port'))
  
      def get_db_name():
          return text_type(config.get('db_name'))
  
      def get_db_user():
          return text_type(config.get('db_user'))
  
      def get_db_password():
          return text_type(config.get('db_password'))
  
      cp_instance = SafeConfigParser()
      cp_instance.add_section('Backend')
      cp_instance.set('Backend', 'store', get_store())
      cp_instance.set('Backend', 'day_start', get_day_start())
      cp_instance.set('Backend', 'fact_min_delta', get_fact_min_delta())
      cp_instance.set('Backend', 'tmpfile_path', get_tmpfile_path())
      cp_instance.set('Backend', 'db_engine', get_db_engine())
      cp_instance.set('Backend', 'db_path', get_db_path())
      cp_instance.set('Backend', 'db_host', get_db_host())
      cp_instance.set('Backend', 'db_port', get_db_port())
      cp_instance.set('Backend', 'db_name', get_db_name())
      cp_instance.set('Backend', 'db_user', get_db_user())
      cp_instance.set('Backend', 'db_password', get_db_password())
  
      return cp_instance