bareos: master dc93de9b

Author Committer Branch Timestamp Parent
pstorz mvwieringen master 2015-04-30 17:21 master 4da213b0 Pending
Affected Issues  0000370: rerun since_jobid=
Changeset Rerun overhaul

- Only allow rerun of Job types that make sense e.g.
  - Backup
  - Copy
  - Migration

- Rerun now also works with virtual full backups.

  We need to set the pool to the original sourcepool,
  not to the pool that is saved in the job record
  as that is the nextpool.

  Therefore we get the pool from the job definition
  so that the virtual full backup can be rerun

- Only set successful Jobs to L_FULL when running as L_VIRTUAL_FULL
  This saves us from doing all kind of black magic along the way.
  Set jr.JobLevel to L_FULL only for successful jobs.

Fixes 0000370: rerun since_jobid= runs Virtual Fulls as Fulls.
mod - src/cats/sql_update.c Diff File
mod - src/dird/jobq.c Diff File
mod - src/dird/ua_run.c Diff File
mod - src/dird/vbackup.c Diff File
mod - src/include/jcr.h Diff File