backup logs to datadir