Clear history log

Is there any way to clear all history log given that through the backup is not possible to leave history unchecked in recent versions.