function  cleanup_backup() bugfix

fix tmp  & log dirs in function  cleanup_backup()