Adding daily backup command, adding to daily import command. Fixing memory leak with sql logging.