def METHOD_NAME(self, session, timestamp):
    """
    Debug function to historize and overwrite last historization data
    """
    # Remove last 24 hours data
    for _class in [ReportingIntData, ReportingTextData, ReportingFloatData]:
        session.query(_class).filter(_class.timestamp>timestamp-86400).delete()
    # Doing an historization for
    self.historize_all(timestamp-80400)