remove the directory after backup