Hello,

I have a several virtual machines running on a single physical machine.
I run the FD on the physical machine and to back up the VMs I run a pre
and post client script.  The pre takes snapshots of the VM logical
volumes and mounts them on the physical machine.  The post unmounts the
snapshots and removes the snapshots.  Works good.

The problem is I need a FileSet for each machine even though the fileset
really isn't the same.  The reason is that when I mount the VM FS it is
mounted as /backup/machinename/fsname.  What I would like to do is have
a single FileSet with the client name populated at the time of the job
running.  I don't believe with Python I can do this, infact I don't
think there is any way to do that.

Thoughts?
I guess I can look through the code and see if I can make the change
myself.  Anyone want to give pointers on where to look?

Thanks, Jeff

My current FileSet looks like:
FileSet {
  Name = "machine1"
  Include {
    Options {
      signature = MD5
      Compression=GZIP
      strippath=1
    }
    File = /backup/machine1/partitons.txt
    File = /backup/machine1/partiton_table.txt
    File = /backup/machine1/partition_table_howto.txt
    File = /backup/machine1/root
    File = /backup/machine1/customers
    File = /backup/machine1/home
  }
  Exclude {
    File = /backup/machine1/root/dev
    File = /backup/machine1/root/proc
    File = /backup/machine1/root/tmp
  }
}

FileSet {
  Name = "machine2"
  Include {
    Options {
      signature = MD5
      Compression=GZIP
      strippath=1
    }
    File = /backup/machine2/partitons.txt
    File = /backup/machine2/partiton_table.txt
    File = /backup/machine2/partition_table_howto.txt
    File = /backup/machine2/root
    File = /backup/machine2/customers
    File = /backup/machine2/home
  }
  Exclude {
    File = /backup/machine2/root/dev
    File = /backup/machine2/root/proc
    File = /backup/machine2/root/tmp
  }
}




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to