API log backup/purge