Fixed log, need add archive for dataBase