log backup &add portal

log &portal need test