Over the weekend, volume barcode 000007L6 failed and has been marked as 
as sev 2 (high) failure by our Quantum Scalar i40 library.  To resolve 
this issue, the library requires that the data on this volume be 
migrated to a different volume that is not failing, then I need to 
proceed with removing and destroying 000007L6.  I don't want the data 
moved to a different Pool, I just want it off the failing media 
000007L6.  Volume 000007L6 contains multiple filesets, one of which 
spans multiple volumes.

It looks like the preferred way to do this is in bacula (in order to 
keep the database updated) is to create a migrate Job, but documentation 
seems a bit slim for this task.

Referencing:
https://www.bacula.org/5.2.x-manuals/en/main/main/Migration_Copy.html

In writing this job definition, there are several problems:

1. There is not a single fileset involved, but apparently a single 
fileset must be specified...  (Or can I specify volume 000007L6 as the 
fileset in some way)?

2. I'm trying to copy files off of bad media, not migrate to a new Pool. 
  The new volume should be in the same storage pool as the old.

My Job block looks like this:

Job {
   Name = Migrate-000007L6
   Type = Migrate
   Client = bock
   Messages = Daemon
   FileSet = ##multiple filesets involved, how to specify?
   Level = Full
   Pool = lto6-pool
   Max Run Time = 8035200
   Spool Attributes = yes
   Selection Type = "Volume"
   Selection Pattern = "File"

##JN backup Bacula DB when job is done.
RunScript {
         RunsWhen = After
         FailJobOnError = No
         Command = "/usr/local/sbin/backup-bacula-db.sh"
    }
}

This does not work, because a Fileset is mandatory.  So apparently I am 
misunderstanding something.

My goal is to move the data from volume 000007L6 to a different volume 
in a way that will update the the bacula database.  Any suggestions?  Is 
there a better approach?  I'd rather not loose the backups on tape 7.

Is 'Type = Copy' a better way to solve this problem?

Thanks,

John H. Nyhuis
Desk: (206)-685-8334
jnyh...@uw.edu
Box 359461, 15th floor, 106





_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to