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.
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?
My current FileSet looks like:
Name = "machine1"
signature = MD5
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
File = /backup/machine1/root/dev
File = /backup/machine1/root/proc
File = /backup/machine1/root/tmp
Name = "machine2"
signature = MD5
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
File = /backup/machine2/root/dev
File = /backup/machine2/root/proc
File = /backup/machine2/root/tmp