What is JT_ARCHIVE used for? I put virtual full backups on tape and
don't want them selected for a subsequent virtual full backup so I need
to tinker with the job record so that the db_accurate_get_jobids routine
that is used to find the source jobs for a virtual full backup doesn't
see them. The criteria for the job selection of the FULL job is:

Level='F' (Full backup)
JobStatus IN ('T','W') (Terminated normally or with warnings)
Type='B' (Backup)
FileSet.FileSet=(SELECT FileSet FROM FileSet WHERE FileSetId = %s) (Same
fileset)

So my options are to modify one of those fields in the catalog,
hopefully in such a way that nothing else breaks (including being able
to restore from tape, even if I have to select the job manually).
Setting the job type to JT_ARCHIVE seems like it might work as long as
that doesn't stop Bacula purging out the job records when the media is
recycled. Another option is to set the Type to JT_JOB_COPY, or to create
an identical fileset but with a different name and set the FileSetId to
that new fileset (which relies on me keeping the filesets in sync...)

JT_ARCHIVE is my first choice though, anyone see any problems with that?

Thanks

James


------------------------------------------------------------------------------
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to