On Wednesday, May 11, 2016 at 3:37:16 AM UTC+8, Stephan Duehr wrote:
> Hello,
>
> interesting idea to add multiple plugin definitions in a fileset, never
> tried that. However, it should work fine if you define one Job and one
> FileSet with a single plugin definition for each VM.
>
> Regards
>
> Stephan
>
> On 05/10/2016 11:14 AM, George Grey wrote:
> > Hello
> > Recently I'm trying to backup the two VMs at a time, but I get the
> > following error :
> >
> > 10-May 16:59 kvm-dir JobId 58: Start Backup JobId 58,
> > Job=vm-centos.2016-05-10_16.59.53_23
> > 10-May 16:59 kvm-dir JobId 58: Using Device "FileStorage" to write.
> > 10-May 16:59 kvm-sd JobId 58: Volume "Incremental-0014" previously written,
> > moving to end of data.
> > 10-May 16:59 kvm-sd JobId 58: Ready to append to end of Volume
> > "Incremental-0014" size=221864922
> > 10-May 16:59 kvm-fd JobId 58: Fatal error: Traceback (most recent call
> > last):
> > File "/usr/lib64/bareos/plugins/BareosFdWrapper.py", line 42, in
> > start_backup_file
> > return bareos_fd_plugin_object.start_backup_file(context, savepkt)
> > File "/usr/lib64/bareos/plugins/vmware_plugin/BareosFdPluginVMware.py",
> > line 134, in start_backup_file
> > self.vadp.disk_device_to_backup = self.vadp.disk_devices.pop(0)
> > AttributeError: 'NoneType' object has no attribute 'pop'
> >
> > 10-May 16:59 kvm-fd JobId 58: Warning: No snapshot was taken, skipping
> > snapshot removal
> > 10-May 16:59 kvm-sd JobId 58: Elapsed time=00:00:01, Transfer rate=0
> > Bytes/second
> > 10-May 16:59 kvm-dir JobId 58: Error: Bareos kvm-dir 15.2.2 (16Nov15):
> > Build OS: x86_64-redhat-linux-gnu redhat CentOS Linux
> > release 7.0.1406 (Core)
> > JobId: 58
> > Job: vm-centos.2016-05-10_16.59.53_23
> > Backup Level: Full
> > Client: "kvm-fd" 15.2.2 (16Nov15)
> > x86_64-redhat-linux-gnu,redhat,CentOS Linux release 7.0.1406 (Core)
> > ,CentOS_7,x86_64
> > FileSet: "vm-centos-fileset" 2016-05-10 14:21:59
> > Pool: "Incremental" (From Job FullPool override)
> > Catalog: "MyCatalog" (From Client resource)
> > Storage: "File" (From Job resource)
> > Scheduled time: 10-May-2016 16:59:40
> > Start time: 10-May-2016 16:59:55
> > End time: 10-May-2016 16:59:56
> > Elapsed time: 1 sec
> > Priority: 10
> > FD Files Written: 0
> > SD Files Written: 0
> > FD Bytes Written: 0 (0 B)
> > SD Bytes Written: 0 (0 B)
> > Rate: 0.0 KB/s
> > Software Compression: None
> > VSS: no
> > Encryption: no
> > Accurate: no
> > Volume name(s):
> > Volume Session Id: 12
> > Volume Session Time: 1462842573
> > Last Volume Bytes: 0 (0 B)
> > Non-fatal FD errors: 1
> > SD Errors: 0
> > FD termination status: Fatal Error
> > SD termination status: Canceled
> > Termination: *** Backup Error ***
> >
> > here is the fileset in the bareos-dir.conf :
> >
> > FileSet {
> > Name = "vm-centos-fileset"
> > Include {
> > Options {
> > signature = MD5
> > }
> > Plugin =
> > "python:module_path=/usr/lib64/bareos/plugins/vmware_plugin:module_name=bareos-fd-vmware:vcserver=192.168.1.100:dc=datacenter1:folder=/:vmname=centos67:[email protected]:vcpass=P@ssw0rd_100"
> >
> > Plugin =
> > "python:module_path=/usr/lib64/bareos/plugins/vmware_plugin:module_name=bareos-fd-vmware:vcserver=192.168.1.100:dc=datacenter1:folder=/:vmname=centos72:[email protected]:vcpass=P@ssw0rd_100"
> > }
> > }
> >
> > But when I backup one vm in the fileset, it works good, how Can I backup
> > two virtual machines in a job at a time?
> >
> > the Bareos version 15.2.2 and the vSphere server 6.0.
> >
> >
> > regards,
> > George
> >
>
>
> --
> Stephan Dühr [email protected]
> Bareos GmbH & Co. KG Phone: +49 221-630693-90
> http://www.bareos.com
>
> Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
> Komplementär: Bareos Verwaltungs-GmbH
> Geschäftsführer: S. Dühr, M. Außendorf,
> J. Steffens, Philipp Storz, M. v. Wieringen
yes, it works good when define a single plugin definition in one fileset, but
there are 50+ vms, how can do it better.
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.