function  cleanup_backup bugfix

fix tmp & log dirs paths in function  cleanup_backup()