logging backup script