src/filed/accurate.c
bool accurate_finish(JCR *jcr)
{
   bool ret = true;

   if (jcr->is_canceled() || jcr->is_incomplete()) {
      accurate_free(jcr);
      return ret;
   }
   if (jcr->accurate) {
      if (jcr->is_JobLevel(L_FULL)) {
         if (!jcr->rerunning) {
            ret = accurate_send_base_file_list(jcr);
         }
      } else if (jcr->is_JobLevel(L_VERIFY_DATA)) {
         ret = accurate_check_deleted_list(jcr);

      } else {
         ret = accurate_send_deleted_list(jcr);
      }
      accurate_free(jcr);
      if (jcr->is_JobLevel(L_FULL)) {
         Jmsg(jcr, M_INFO, 0, _("Space saved with Base jobs: %lld MB\n"),
              jcr->base_size/(1024*1024));
      }
   }
   return ret;
}
/* Send the deleted or the base file list and cleanup  */
Send the deleted or the base file list and cleanup
Send the deleted or the base file list and cleanup
bool accurate_finish(JCR *jcr)
{
   bool ret = true;
   if (jcr->is_canceled() || jcr->is_incomplete()) {
      accurate_free(jcr);
      return ret;
   }
   if (jcr->accurate) {
      if (jcr->is_JobLevel(L_FULL)) {
         if (!jcr->rerunning) {
            ret = accurate_send_base_file_list(jcr);
         }
      } else if (jcr->is_JobLevel(L_VERIFY_DATA)) {
         ret = accurate_check_deleted_list(jcr);
      } else {
         ret = accurate_send_deleted_list(jcr);
      }
      accurate_free(jcr);
      if (jcr->is_JobLevel(L_FULL)) {
         Jmsg(jcr, M_INFO, 0, _("Space saved with Base jobs: %lld MB\n"),
              jcr->base_size/(1024*1024));
      }
   }
   return ret;
}
bool accurate_finish ( JCR * jcr ) { bool ret = true ; if ( jcr -> is_canceled ( ) || jcr -> is_incomplete ( ) ) { accurate_free ( jcr ) ; return ret ; } if ( jcr -> accurate ) { if ( jcr -> is_JobLevel ( L_FULL ) ) { if ( ! jcr -> rerunning ) { ret = accurate_send_base_file_list ( jcr ) ; } } else if ( jcr -> is_JobLevel ( L_VERIFY_DATA ) ) { ret = accurate_check_deleted_list ( jcr ) ; } else { ret = accurate_send_deleted_list ( jcr ) ; } accurate_free ( jcr ) ; if ( jcr -> is_JobLevel ( L_FULL ) ) { Jmsg ( jcr , M_INFO , 0 , _ ( " \n " ) , jcr -> base_size / ( 1024 * 1024 ) ) ; } } return ret ; }
Send the deleted or the base file list and cleanup
Send the deleted or the base file list and cleanup