write backup to logfile